Newer
Older
<?xml version="1.0" encoding="UTF-8"?>
<project name="comm-core" default="deploy" basedir=".">
<property name="deploy" value="../../deploy"/>
<property name="version" value="0.0.3-SNAPSHOT" />
<taskdef resource="aQute/bnd/ant/taskdef.properties"
classpath="../ant/bnd-2.2.0.jar"/>
<target name="compile">
<mkdir dir="bin"/>
<javac destdir="bin" srcdir="java"/>
</target>
<target name="build" depends="compile">
<jar destfile="${ant.project.name}.jar">
<fileset dir="bin"/>
</jar>
</target>
<target name="deploy" depends="compile">
<bnd
classpath="bin"
failok="false"
exceptions="true"
files="${ant.project.name}.bnd"
output="."/>
</target>
<target name="clean">
<delete dir="bin" />
</target>
</project>