Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (40 sloc) 1.84 KB
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="package" name="trec-kba">
<path id="classpath">
<fileset dir="lib" />
</path>
<!-- =================================
target: clean
================================= -->
<target name="clean" description="removes all generated files">
<delete dir="bin"/>
</target>
<!-- =================================
target: build
================================= -->
<target name="build" depends="clean" description="compiles source to 'bin' directory">
<mkdir dir="bin"/>
<javac srcdir="src" destdir="bin" includeantruntime="false">
<classpath refid="classpath" />
</javac>
</target>
<!-- =================================
target: package
================================= -->
<target name="package" depends="build" description="builds jar file">
<jar destfile="trec-kba.jar" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Class-Path" value="."/>
</manifest>
<fileset dir="bin"/>
<zipfileset excludes="META-INF/*.SF" src="lib/codemodel-2.4.1.jar"/>
<zipfileset excludes="META-INF/*.SF" src="lib/commons-lang-2.5.jar"/>
<zipfileset excludes="META-INF/*.SF" src="lib/commons-logging-1.1.1.jar"/>
<zipfileset excludes="META-INF/*.SF" src="lib/jackson-annotations-2.0.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="lib/jackson-core-2.0.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="lib/jackson-databind-2.0.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="lib/libthrift-0.8.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="lib/log4j-1.2.14.jar"/>
</jar>
</target>
</project>
You can’t perform that action at this time.