Initial version

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@384 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2008-06-23 15:20:36 +00:00
parent 497c589c4c
commit ecde7402da
4 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
<?xml version="1.0"?>
<project name="jpwgen" default="jar">
<!-- some properties -->
<property name="src" value="src" />
<property name="build" value="build" />
<property name="dist" value="dist"/>
<property name="jarfile" value="${ant.project.name}.jar"/>
<property file="build.properties"/>
<!-- init -->
<target name="init">
<tstamp/>
<mkdir dir="${dist}"/>
<mkdir dir="${build}"/>
</target>
<!-- compile everything -->
<target name="compile" depends="init">
<javac srcdir="${src}" destdir="${build}" classpath="${classpath}"/>
</target>
<!-- build the jar file -->
<target name="jar" depends="compile">
<jar jarfile="${dist}/${jarfile}" basedir="${build}">
<fileset dir="${src}">
<include name="**/*.png"/>
<include name="**/*.ucd"/>
<include name="**/*.properties"/>
</fileset>
</jar>
</target>
<!-- clean up -->
<target name="clean">
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>