Commit 8a4ec0ff authored by Yoann Pigné's avatar Yoann Pigné

add abuild.xml file to compile and create a jar from source

parent 12bd4df6
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="jar" name="gs-netstream">
<property name="bindir" value="bin/"/>
<property name="srcdir" value="src/"/>
<property environment="env"/>
<property name="debuglevel" value="source,lines,vars"/>
<property name="target" value="1.5"/>
<property name="source" value="1.5"/>
<path id="this.classpath">
<pathelement location="${bindir}"/>
<target name="init">
<mkdir dir="${bindir}"/>
<copy todir="bin">
<fileset dir="src">
<exclude name="**/*.launch"/>
<exclude name="**/*.java"/>
<target name="clean">
<delete dir="${bindir}"/>
<delete file="${}.jar"/>
<target depends="clean" name="cleanall"/>
<target depends="build" name="jar">
<jar jarfile="${}.jar" basedir="${bindir}"/>
<target depends="init" name="build">
<echo message="${}: ${ant.file}"/>
<javac debug="true" debuglevel="${debuglevel}" destdir="${bindir}" source="${source}" target="${target}">
<src path="${srcdir}"/>
<classpath refid="this.classpath"/>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment