Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (29 sloc) 1.17 KB
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project name="TransFile" default="jar">
<property name="src" location="src" />
<property name="bin" location="bin" />
<property name="resources" location="resources" />
<target name="jar" description="create runnable jar" depends="clean,prepare,compile,copy_resources">
<jar destfile="bin/TransFile.jar" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Main-Class" value="net.sourceforge.transfile.TransFile" />
<attribute name="Class-Path" value="." />
</manifest>
<fileset dir="${bin}"/>
</jar>
</target>
<target name="compile" description="compile source" depends="clean,prepare">
<javac srcdir="${src}" destdir="${bin}" />
</target>
<target name="copy_resources" description="copy resources" depends="clean,prepare">
<copy todir="${bin}">
<fileset dir="${resources}" />
</copy>
</target>
<target name="prepare" description="prepare for building" depends="clean">
<mkdir dir="${bin}" />
</target>
<target name="clean" description="clean up">
<delete dir="${bin}" />
</target>
</project>
Jump to Line
Something went wrong with that request. Please try again.