-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.jstools.xml
33 lines (33 loc) · 1.37 KB
/
build.jstools.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="build" name="JSTools">
<property environment="env"/>
<property name="JSTools.location" value="./JSTools"/>
<property file="./build.properties"/>
<path id="JSTools.classpath">
<pathelement location="${JSTools.location}/bin"/>
</path>
<target name="init">
<mkdir dir="${JSTools.location}/bin"/>
<copy includeemptydirs="false" todir="${JSTools.location}/bin">
<fileset dir="${JSTools.location}/src">
<include name="cz/"/>
<exclude name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="clean">
<delete dir="${JSTools.location}/bin"/>
</target>
<target depends="clean" name="cleanall"/>
<target depends="build-subprojects,build-project" name="build"/>
<target name="build-subprojects"/>
<target depends="init" name="build-project">
<echo message="${ant.project.name}: ${ant.file}"/>
<echo message="javac options: ${javac_options}"/>
<javac encoding="UTF-8" debug="true" debuglevel="${debuglevel}" destdir="${JSTools.location}/bin" includeantruntime="false" release="${release}">
<compilerarg line="${javac_options}" />
<src path="${JSTools.location}/src"/>
<classpath refid="JSTools.classpath"/>
</javac>
</target>
</project>