Skip to content

Commit

Permalink
Updated FileCombiner so comparing is done outside SourceFile object t…
Browse files Browse the repository at this point in the history
…hus allowing more flexibility
  • Loading branch information
bendi committed Aug 18, 2011
1 parent 1a89153 commit 27285bf
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions build.xml 100644 → 100755
@@ -1,35 +1,35 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<project name="Combiner" default="build.jar" basedir=".">

<target name="clean" depends="-load.properties">
<delete dir="${build.dir}" quiet="true"/>
</target>

<target name="-load.properties">
<property file="ant.properties"/>
</target>

<target name="-init" depends="-load.properties">
<mkdir dir="${build.dir}"/>
</target>

<target name="build.classes" depends="-init">
<mkdir dir="${build.dir}/classes"/>
<javac srcdir="${src.dir}"
destdir="${build.dir}/classes"
includes="**/*.java"
deprecation="off"
debug="on"
source="1.4">
source="1.5">
<classpath>
<pathelement location="${lib.dir}/jargs-1.0.jar"/>
<pathelement location="${lib.dir}/args4j-2.0.16.jar"/>
</classpath>
</javac>
</target>

<target name="build.jar" depends="build.classes">
<mkdir dir="${build.dir}/jar"/>
<unjar src="${lib.dir}/jargs-1.0.jar" dest="${build.dir}/jar"/>
<unjar src="${lib.dir}/args4j-2.0.16.jar" dest="${build.dir}/jar"/>
<copy todir="${build.dir}/jar">
<fileset dir="${build.dir}/classes" includes="**/*.class"/>
</copy>
Expand All @@ -39,7 +39,7 @@
</manifest>
</jar>
</target>

<target name="build.dist.package" depends="build.jar">
<mkdir dir="${build.dir}/${dist.package.name}"/>
<mkdir dir="${build.dir}/${dist.package.name}/build"/>
Expand All @@ -58,5 +58,5 @@
basedir="${build.dir}"
includes="${dist.package.name}/**/*"/>
</target>
</project>

</project>

0 comments on commit 27285bf

Please sign in to comment.