|
41 | 41 |
|
42 | 42 | <target name="compileDebugSources"> |
43 | 43 | <mkdir dir="${worldwind.classes.dir}/debug"/> |
44 | | - <compileJava srcdir="${worldwind.src.dir}" classdir="${worldwind.classes.dir}/debug" type="debug" |
| 44 | + <compileJava srcdir="${worldwind.src.dir}" classdir="${worldwind.classes.dir}/debug" debug="true" |
45 | 45 | jdk="${worldwind.jdk}"> |
46 | 46 | <pathelements> |
47 | 47 | <pathelement location="${basedir}/jogl-all.jar"/> |
|
53 | 53 |
|
54 | 54 | <target name="compileReleaseSources"> |
55 | 55 | <mkdir dir="${worldwind.classes.dir}/release"/> |
56 | | - <compileJava srcdir="${worldwind.src.dir}" classdir="${worldwind.classes.dir}/release" type="release" |
| 56 | + <compileJava srcdir="${worldwind.src.dir}" classdir="${worldwind.classes.dir}/release" debug="false" |
57 | 57 | jdk="${worldwind.jdk}"> |
58 | 58 | <pathelements> |
59 | 59 | <pathelement location="${basedir}/jogl-all.jar"/> |
|
64 | 64 | </target> |
65 | 65 |
|
66 | 66 | <target name="bundleDebug"> |
67 | | - <mkdir dir="${worldwind.jar.dir}"/> |
| 67 | + <mkdir dir="${worldwind.jar.dir}/debug"/> |
68 | 68 | <bundleJarFiles srcdir="${worldwind.src.dir}" classdir="${worldwind.classes.dir}/debug" |
69 | | - destdir="${worldwind.jar.dir}" type="debug"/> |
| 69 | + destdir="${worldwind.jar.dir}/debug" debug="true"/> |
70 | 70 | </target> |
71 | 71 |
|
72 | 72 | <target name="bundleRelease"> |
73 | | - <mkdir dir="${worldwind.jar.dir}"/> |
| 73 | + <mkdir dir="${worldwind.jar.dir}/release"/> |
74 | 74 | <bundleJarFiles srcdir="${worldwind.src.dir}" classdir="${worldwind.classes.dir}/release" |
75 | | - destdir="${worldwind.jar.dir}" type="release"/> |
76 | | - <copy file="${worldwind.jar.dir}/worldwind-release.jar" tofile="${basedir}/worldwind.jar"/> |
77 | | - <copy file="${worldwind.jar.dir}/worldwindx-release.jar" tofile="${basedir}/worldwindx.jar"/> |
| 75 | + destdir="${worldwind.jar.dir}/release" debug="false"/> |
| 76 | + <copy file="${worldwind.jar.dir}/release/worldwind.jar" tofile="${basedir}/worldwind.jar"/> |
| 77 | + <copy file="${worldwind.jar.dir}/release/worldwindx.jar" tofile="${basedir}/worldwindx.jar"/> |
78 | 78 | </target> |
79 | 79 |
|
80 | 80 | <!-- Targets for compiling and bundling the project documentation. --> |
|
135 | 135 | <target name="bundleWebStartLibraries"> |
136 | 136 | <mkdir dir="${webstart.unsigned.dir}"/> |
137 | 137 | <!-- World Wind library JAR files. --> |
138 | | - <copy file="${worldwind.jar.dir}/worldwind-release.jar" tofile="${webstart.unsigned.dir}/worldwind.jar"/> |
139 | | - <copy file="${worldwind.jar.dir}/worldwindx-release.jar" tofile="${webstart.unsigned.dir}/worldwindx.jar"/> |
| 138 | + <copy file="${worldwind.jar.dir}/release/worldwind.jar" tofile="${webstart.unsigned.dir}/worldwind.jar"/> |
| 139 | + <copy file="${worldwind.jar.dir}/release/worldwindx.jar" tofile="${webstart.unsigned.dir}/worldwindx.jar"/> |
140 | 140 | <!-- JOGL and GlueGen library JAR files. --> |
141 | 141 | <copy todir="${webstart.unsigned.dir}"> |
142 | 142 | <fileset dir="${basedir}"> |
|
314 | 314 |
|
315 | 315 | <target name="compileUnitTestSources"> |
316 | 316 | <mkdir dir="${worldwind.classes.dir}/test"/> |
317 | | - <compileJava srcdir="${worldwind.test.dir}" classdir="${worldwind.classes.dir}/test" type="debug" |
| 317 | + <compileJava srcdir="${worldwind.test.dir}" classdir="${worldwind.classes.dir}/test" debug="true" |
318 | 318 | jdk="${worldwind.jdk}"> |
319 | 319 | <pathelements> |
320 | | - <pathelement location="${worldwind.jar.dir}/worldwind-debug.jar"/> |
321 | | - <pathelement location="${worldwind.jar.dir}/worldwindx-debug.jar"/> |
| 320 | + <pathelement location="${worldwind.classes.dir}/debug"/> |
322 | 321 | <pathelement location="${basedir}/jogl-all.jar"/> |
323 | 322 | <pathelement location="${basedir}/gluegen-rt.jar"/> |
324 | 323 | <pathelement location="${basedir}/gdal.jar"/> |
|
335 | 334 | forkmode="once" |
336 | 335 | maxmemory="1024m"> |
337 | 336 | <classpath> |
| 337 | + <pathelement location="${worldwind.src.dir}"/> |
338 | 338 | <pathelement location="${worldwind.classes.dir}/test"/> |
339 | | - <pathelement location="${worldwind.jar.dir}/worldwind-debug.jar"/> |
340 | | - <pathelement location="${worldwind.jar.dir}/worldwindx-debug.jar"/> |
| 339 | + <pathelement location="${worldwind.classes.dir}/debug"/> |
341 | 340 | <pathelement location="${basedir}/jogl-all.jar"/> |
342 | 341 | <pathelement location="${basedir}/gluegen-rt.jar"/> |
343 | 342 | <pathelement location="${basedir}/gdal.jar"/> |
|
0 commit comments