-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gui.xml
64 lines (61 loc) · 2.52 KB
/
build.gui.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="build" name="simresGUI">
<property environment="env"/>
<property name="JSTools.location" value="./JSTools"/>
<property name="simresCON.location" value="./simresCON"/>
<property name="simresGUI.location" value="./simresGUI"/>
<property file="./build.properties"/>
<!-- OS specific tasks -->
<import file="build.os.xml"/>
<!-- compiler tasks -->
<target name="init" depends="osinfo">
<path id="j3d.classpath">
<!--
<pathelement location="${j3d}/j3dcore.jar"/>
<pathelement location="${j3d}/vecmath.jar"/>
<pathelement location="${j3d}/j3dutils.jar"/>
<pathelement location="${j3d}/jogamp-fat.jar"/>
-->
<pathelement location="${j3d}/java3d-core.jar"/>
<pathelement location="${j3d}/vecmath.jar"/>
<pathelement location="${j3d}/java3d-utils.jar"/>
<pathelement location="${j3d}/jogamp-fat.jar"/>
<pathelement location="${j3d}/jogl-fonts-p0.jar"/>
</path>
<path id="simresGUI.classpath">
<pathelement location="${simresGUI.location}/bin"/>
<pathelement location="${JSTools.location}/bin"/>
<pathelement location="${simresCON.location}/bin"/>
<path refid="j3d.classpath"/>
</path>
<mkdir dir="${simresGUI.location}/bin"/>
<copy includeemptydirs="false" todir="${simresGUI.location}/bin">
<fileset dir="${simresGUI.location}/src">
<include name="cz/"/>
<exclude name="**/*.java"/>
<exclude name="obsolete/"/>
</fileset>
</copy>
</target>
<target name="clean">
<delete dir="${simresGUI.location}/bin"/>
</target>
<target depends="clean" name="cleanall">
<ant antfile="build.con.xml" inheritAll="false" target="cleanall"/>
</target>
<target depends="build-subprojects,build-project" name="build"/>
<target name="build-subprojects">
<ant antfile="build.con.xml" inheritAll="false" target="build"/>
</target>
<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="${simresGUI.location}/bin" includeantruntime="false" release="${release}">
<src path="${simresGUI.location}/src"/>
<compilerarg line="${javac_options}" />
<exclude name="obsolete/"/>
<include name="**/*.java"/>
<classpath refid="simresGUI.classpath"/>
</javac>
</target>
</project>