2012-08-22 06:42:23 -08:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<project name="jdbcjson" default="compile">
|
2012-08-23 13:45:18 -08:00
|
|
|
<property name="version.num" value="1.1" />
|
2012-08-22 06:42:23 -08:00
|
|
|
|
|
|
|
<target name="clean">
|
|
|
|
<delete file="${ant.project.name}-${version.num}.jar" />
|
|
|
|
<delete includeemptydirs="true">
|
|
|
|
<fileset dir="classes" includes="**/*" />
|
|
|
|
</delete>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="compile">
|
|
|
|
<mkdir dir="classes" />
|
|
|
|
<javac includeantruntime="false" target="1.6" source="1.6"
|
|
|
|
srcdir="src" destdir="classes" />
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="jar" depends="compile">
|
|
|
|
<delete file="${ant.project.name}-${version.num}.jar" />
|
|
|
|
<jar destfile="${ant.project.name}-${version.num}.jar">
|
|
|
|
<fileset dir="classes" />
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Main-Class"
|
|
|
|
value="com.binarythought.jdbcjson.JDBCJSON" />
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
|
|
|
</target>
|
|
|
|
</project>
|