Skip to content

Commit

Permalink
ADDED: Compilation of the sources, for automate building system
Browse files Browse the repository at this point in the history
git-svn-id: https://jfilehelpers.svn.sourceforge.net/svnroot/jfilehelpers@33 e6aea695-393b-0410-bcd1-a96c4ba3c4be
  • Loading branch information
fcoury committed Jun 18, 2008
1 parent efa8f3f commit 21fa96c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
<property name="version" value="0.2a" />
<property name="dist" value="${basedir}/dist" />
<property name="build" value="${basedir}/bin" />
<property name="lib" value="${basedir}/lib" />

<tstamp>
<format property="TODAY" pattern="yyyyMMdd"/>
</tstamp>

<target name="init">
<mkdir dir="${dist}" />
<mkdir dir="${build}" />
</target>

<target name="src" depends="init">
Expand All @@ -27,12 +29,20 @@
</zip>
</target>

<target name="jars" depends="init">
<target name="compile" depends="init">
<javac destdir="${build}" classpath="${lib}/commons-lang-2.3.jar">
<src path="${basedir}/Source/src" />
<src path="${basedir}/Tests/src" />
<src path="${basedir}/Samples/src" />
</javac>
</target>

<target name="jars" depends="compile">
<jar destfile="${dist}/jfilehelpers-${version}-${TODAY}.jar">
<manifest>
</manifest>
<fileset dir="bin" includes="**/*.class" />
<fileset dir="Resources" />
<fileset dir="Resources" includes="**/*" />
</jar>
</target>

Expand Down

0 comments on commit 21fa96c

Please sign in to comment.