summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoah Watkins <noahwatkins@gmail.com>2012-11-13 00:49:38 +0100
committerNoah Watkins <noahwatkins@gmail.com>2012-11-13 00:50:41 +0100
commit0b85e43c76b5f1d74c91734c2ef1dd24bf956630 (patch)
treef4c2e9c8d1953c9587bf3ca9f04c7ee8f9ff6792
parentjava: fix javadoc builds (diff)
downloadceph-0b85e43c76b5f1d74c91734c2ef1dd24bf956630.tar.xz
ceph-0b85e43c76b5f1d74c91734c2ef1dd24bf956630.zip
java: fix build.xml formatting
set noet ts=2 sw=2 sws=2 Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
-rw-r--r--src/java/build.xml116
1 files changed, 58 insertions, 58 deletions
diff --git a/src/java/build.xml b/src/java/build.xml
index 4e6b0be0563..e43959e2e17 100644
--- a/src/java/build.xml
+++ b/src/java/build.xml
@@ -1,76 +1,76 @@
<?xml version="1.0"?>
<project name="cephfs-java" default="main" basedir=".">
- <description>CephFS Java Bindings</description>
+ <description>CephFS Java Bindings</description>
- <property name="src.dir" location="java" />
- <property name="doc.dir" location="doc" />
- <property name="test.dir" location="test" />
- <property name="src.dir" location="src" />
+ <property name="src.dir" location="java" />
+ <property name="doc.dir" location="doc" />
+ <property name="test.dir" location="test" />
+ <property name="src.dir" location="src" />
- <property environment="env"/>
+ <property environment="env"/>
- <target name="clean">
- <delete dir="${doc.dir}" />
+ <target name="clean">
+ <delete dir="${doc.dir}" />
<delete>
<fileset dir="${test.dir}" includes="**/*.class" />
</delete>
<delete file="./libcephfs-test.jar" />
- </target>
+ </target>
- <target name="makedir">
- <mkdir dir="${doc.dir}" />
- </target>
+ <target name="makedir">
+ <mkdir dir="${doc.dir}" />
+ </target>
- <target name="docs" depends="makedir">
- <javadoc packagenames="src" sourcepath="${src.dir}" destdir="${doc.dir}">
- <fileset dir="${src.dir}">
- <include name="**/*.java" />
- </fileset>
- </javadoc>
- </target>
+ <target name="docs" depends="makedir">
+ <javadoc packagenames="src" sourcepath="${src.dir}" destdir="${doc.dir}">
+ <fileset dir="${src.dir}">
+ <include name="**/*.java" />
+ </fileset>
+ </javadoc>
+ </target>
- <target name="compile-tests-jar">
- <javac srcdir="${test.dir}" destdir="${test.dir}"
- includeantruntime="false" source="1.5" target="1.5">
- <classpath>
- <pathelement location="${env.CEPHFS_JAR}"/>
- <pathelement location="libcephfs.jar"/>
- <pathelement location="${env.CLASSPATH}" />
- </classpath>
- </javac>
- <jar destfile="./libcephfs-test.jar">
- <fileset dir="${test.dir}" includes="**/*.class"/>
- </jar>
- </target>
+ <target name="compile-tests-jar">
+ <javac srcdir="${test.dir}" destdir="${test.dir}"
+ includeantruntime="false" source="1.5" target="1.5">
+ <classpath>
+ <pathelement location="${env.CEPHFS_JAR}"/>
+ <pathelement location="libcephfs.jar"/>
+ <pathelement location="${env.CLASSPATH}" />
+ </classpath>
+ </javac>
+ <jar destfile="./libcephfs-test.jar">
+ <fileset dir="${test.dir}" includes="**/*.class"/>
+ </jar>
+ </target>
- <target name="test" depends="compile-tests-jar">
- <junit printsummary="yes" haltonfailure="yes" showoutput="yes" fork="true">
- <sysproperty key="java.library.path" path="${env.CEPHFS_JNI_LIB}:../.libs/"/>
- <sysproperty key="CEPH_CONF_FILE" path="${env.CEPHFS_CONF}"/>
- <jvmarg value="-Xcheck:jni"/>
- <classpath>
- <pathelement location="${env.CEPHFS_JAR}"/>
- <pathelement location="libcephfs.jar"/>
- <pathelement location="libcephfs-test.jar"/>
- </classpath>
- <formatter type="plain"/>
- <test name="com.ceph.fs.CephAllTests" haltonerror="true" />
- </junit>
+ <target name="test" depends="compile-tests-jar">
+ <junit printsummary="yes" haltonfailure="yes" showoutput="yes" fork="true">
+ <sysproperty key="java.library.path" path="${env.CEPHFS_JNI_LIB}:../.libs/"/>
+ <sysproperty key="CEPH_CONF_FILE" path="${env.CEPHFS_CONF}"/>
+ <jvmarg value="-Xcheck:jni"/>
+ <classpath>
+ <pathelement location="${env.CEPHFS_JAR}"/>
+ <pathelement location="libcephfs.jar"/>
+ <pathelement location="libcephfs-test.jar"/>
+ </classpath>
+ <formatter type="plain"/>
+ <test name="com.ceph.fs.CephAllTests" haltonerror="true" />
+ </junit>
</target>
- <target name="test-compat" depends="compile-tests-jar">
- <junit printsummary="yes" haltonfailure="yes" showoutput="yes" fork="true">
- <sysproperty key="java.library.path" path="${env.CEPHFS_JNI_LIB}:../.libs/"/>
- <sysproperty key="CEPH_CONF_FILE" path="${env.CEPHFS_CONF}"/>
- <classpath>
- <pathelement location="${env.CEPHFS_JAR}"/>
- <pathelement location="libcephfs.jar"/>
- <pathelement location="libcephfs-test.jar"/>
- </classpath>
- <formatter type="plain"/>
- <test name="com.ceph.fs.CephAllTests" haltonerror="true" />
- </junit>
- </target>
+ <target name="test-compat" depends="compile-tests-jar">
+ <junit printsummary="yes" haltonfailure="yes" showoutput="yes" fork="true">
+ <sysproperty key="java.library.path" path="${env.CEPHFS_JNI_LIB}:../.libs/"/>
+ <sysproperty key="CEPH_CONF_FILE" path="${env.CEPHFS_CONF}"/>
+ <classpath>
+ <pathelement location="${env.CEPHFS_JAR}"/>
+ <pathelement location="libcephfs.jar"/>
+ <pathelement location="libcephfs-test.jar"/>
+ </classpath>
+ <formatter type="plain"/>
+ <test name="com.ceph.fs.CephAllTests" haltonerror="true" />
+ </junit>
+ </target>
</project>