Files
2020-06-16 13:44:04 +00:00

85 lines
3.0 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="build" name="CLBv2_Remote">
<tstamp>
<format property="rts" pattern="YMd_HHmmss"/>
</tstamp>
<property environment="env"/>
<property name="debuglevel" value="source,lines,vars"/>
<path id="CLBv2_Remote.classpath">
<pathelement location="bin"/>
<pathelement location="forms-1.3.0.jar"/>
<pathelement location="miglayout15-swing.jar"/>
</path>
<target name="init">
<mkdir dir="bin"/>
<copy includeemptydirs="false" todir="bin">
<fileset dir="src">
<exclude name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="clean">
<delete dir="bin"/>
</target>
<target depends="clean" name="cleanall"/>
<target depends="build-subprojects,build-project,build-jar" name="build"/>
<target name="build-subprojects"/>
<target depends="init" name="build-project">
<echo message="${ant.project.name}: ${ant.file}"/>
<javac debug="true" debuglevel="${debuglevel}" encoding="utf-8" source="1.8" target="1.8" destdir="bin">
<src path="src"/>
<classpath refid="CLBv2_Remote.classpath"/>
</javac>
</target>
<target depends="build-project" name="build-jar">
<echo message="Jarring"/>
<jar destfile="clbv2remote.jar" basedir="bin" />
</target>
<target depends="build" name="release">
<tar destfile="clbv2remote.tar.gz"
compression="gzip">
<tarfileset dir="." >
<include name="*.jar"/>
</tarfileset>
<tarfileset dir="." filemode="755">
<include name="testctrl"/>
<include name="testctrl.bat"/>
<include name="flasher"/>
<include name="templog"/>
<include name="wrlog"/>
<include name="wltune"/>
<include name="nodereset"/>
<include name="imgtool"/>
<include name="debugtool"/>
<include name="nodereset"/>
<include name="nodereset.bat"/>
<include name="ahrsinit"/>
<include name="ahrsgainfix"/>
<include name="ahrscalib"/>
<include name="procvarlist"/>
<include name="readpowr"/>
</tarfileset>
</tar>
</target>
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
<target name="TestGui">
<java classname="org.km3net.clbv2.remote.gui.TestGui" failonerror="true" fork="yes">
<classpath refid="CLBv2_Remote.classpath"/>
</java>
</target>
<target name="javadoc">
<javadoc access="protected" author="true" classpath="miglayout15-swing.jar;forms-1.3.0.jar" destdir="doc/generated/html" doctitle="CLBv2 Remote API" nodeprecated="false" nodeprecatedlist="false" noindex="false" nonavbar="false" notree="false" packagenames="org.km3net.tools,org.km3net.clbv2.remote.msg,org.km3net.clbv2.remote.stack,org.km3net.clbv2.remote.gui,org.km3net.clbv2.remote" source="1.7" sourcepath="src" splitindex="true" use="true" version="true"/>
</target>
</project>