Permalink
Fetching contributors…
Cannot retrieve contributors at this time
77 lines (76 sloc) 3.83 KB
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- WARNING: Eclipse auto-generated file.
Any modifications will be overwritten.
To include a user specific buildfile here, simply create one in the same
directory with the processing instruction <?eclipse.ant.import?>
as the first entry and export the buildfile again. --><project basedir="." default="build" name="Elephant">
<property environment="env"/>
<property name="debuglevel" value="source,lines,vars"/>
<property name="target" value="1.6"/>
<property name="source" value="1.6"/>
<path id="Elephant.classpath">
<pathelement location="bin"/>
<pathelement location="libs/android-json.jar"/>
<pathelement location="libs/trident.jar"/>
<pathelement location="libs/commons-io-2.4.jar"/>
<pathelement location="libs/guava-18.0.jar"/>
<pathelement location="libs/joda-time-2.6.jar"/>
<pathelement location="libs/commons-collections4-4.0.jar"/>
<pathelement location="libs/commons-lang3-3.3.2.jar"/>
<pathelement location="libs/parboiled-java-1.1.6.jar"/>
<pathelement location="libs/pegdown-1.4.2.jar"/>
<pathelement location="libs/parboiled-core-1.1.6.jar"/>
<pathelement location="libs/asm-all-4.0.jar"/>
<pathelement location="libs/lucene-analyzers-common-4.10.3.jar"/>
<pathelement location="libs/lucene-core-4.10.3.jar"/>
<pathelement location="libs/lucene-queryparser-4.10.3.jar"/>
<pathelement location="libs/com.pinktwins.rtf.jar"/>
<pathelement location="libs/commons-codec-1.10.jar"/>
<pathelement location="libs/PDFRenderer-0.9.1.jar"/>
<pathelement location="libs/tika-app-1.14.jar"/>
<pathelement location="libs/jai-imageio-core-1.3.1.jar"/>
<pathelement location="libs/jai-imageio-jpeg2000-1.3.0.jar"/>
<pathelement location="libs/levigo-jbig2-imageio-1.6.5.jar"/>
<pathelement location="libs/fontchooser-2.4-SNAPSHOT.jar"/>
</path>
<target name="init">
<mkdir dir="bin"/>
<copy includeemptydirs="false" todir="bin">
<fileset dir="src">
<exclude name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="clean">
<delete dir="bin"/>
</target>
<target depends="clean" name="cleanall"/>
<target depends="build-subprojects,build-project" name="build"/>
<target name="build-subprojects"/>
<target depends="init" name="build-project">
<echo message="${ant.project.name}: ${ant.file}"/>
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
<src path="src"/>
<classpath refid="Elephant.classpath"/>
</javac>
</target>
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
<target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
<copy todir="${ant.library.dir}">
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
</copy>
<unzip dest="${ant.library.dir}">
<patternset includes="jdtCompilerAdapter.jar"/>
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
</unzip>
</target>
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
<antcall target="build"/>
</target>
<target name="Elephant">
<java classname="com.pinktwins.elephant.Elephant" failonerror="true" fork="yes">
<classpath refid="Elephant.classpath"/>
</java>
</target>
</project>