-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserBuild.xml
47 lines (37 loc) · 1.83 KB
/
userBuild.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
<?xml version = '1.0'?>
<!DOCTYPE project>
<project default="RunIdvJar">
<import file="./build.xml"/>
<!-- These targets will be added to the exported "build.xml" targets -->
<target name="CreateJar" depends="build-project">
<jar destfile="${basedir}/Geopod.jar">
<fileset dir="${basedir}/bin" />
<fileset dir="${basedir}" includes="Resources/**,GeopodPlugin.properties" />
</jar>
</target>
<!-- Create a jar file with all the library code for distribution -->
<target name="CreateDistributableJar" depends="build-project">
<jar destfile="${basedir}/GeopodPlugin.jar" update="true">
<!-- Unpack libraries -->
<zipfileset src="${basedir}/Libraries/google-gson-1.6/gson-1.6.jar"/>
<zipfileset src="${basedir}/Libraries/guava-r07/guava-r07.jar"/>
<zipfileset src="${basedir}/Libraries/swingx-1.6/swingx-1.6.jar"/>
<zipfileset src="${basedir}/Libraries/MigLayout-3.7.3.1/miglayout-3.7.4-swing.jar"/>
<zipfileset src="${basedir}/Libraries/xstream-1.3.1/lib/xstream-1.3.1.jar" excludes="**/CGLIBEnhancedConverter$ReverseEngineeredCallbackFilter.class"/>
<zipfileset src="${basedir}/Libraries/xstream-1.3.1/lib/xpp3_min-1.1.4c.jar"/>
<zipfileset src="${basedir}/Libraries/TimingFramework-1.0/TimingFramework-1.0.jar"/>
<!-- Include compiled source code -->
<fileset dir="${basedir}/bin" />
<!-- Include images and other resources -->
<fileset dir="${basedir}" includes="Resources/**,GeopodPlugin.properties" />
<!-- Include source code if desired -->
<!-- <fileset dir="${basedir}" includes="src/**" /> -->
</jar>
</target>
<target name="RunIdvJar" depends="CreateJar">
<antcall target="IDV with Geopod" />
</target>
<target name="RunIdvJarNoBundle" depends="CreateJar">
<antcall target="IDV with Geopod (no bundle)" />
</target>
</project>