GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — WorldWindJava/release-build.xml at develop · COG-GTM/WorldWindJava Expand file tree/ Copy pathrelease-build.xmlMore file actions 384 lines (346 loc) · 19.3 KB / Copy pathrelease-build.xmlFile metadata and controls384 lines (346 loc) · 19.3 KB 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 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 <?xml version="1.0" encoding="ISO-8859-1"?> <!-- ~ Copyright 2006-2009, 2017, 2020 United States Government, as represented by the ~ Administrator of the National Aeronautics and Space Administration. ~ All rights reserved. ~ ~ The NASA World Wind Java (WWJ) platform is licensed under the Apache License, ~ Version 2.0 (the "License"); you may not use this file except in compliance ~ with the License. You may obtain a copy of the License at ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software distributed ~ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR ~ CONDITIONS OF ANY KIND, either express or implied. See the License for the ~ specific language governing permissions and limitations under the License. ~ ~ NASA World Wind Java (WWJ) also contains the following 3rd party Open Source ~ software: ~ ~ Jackson Parser – Licensed under Apache 2.0 ~ GDAL – Licensed under MIT ~ JOGL – Licensed under Berkeley Software Distribution (BSD) ~ Gluegen – Licensed under Berkeley Software Distribution (BSD) ~ ~ A complete listing of 3rd Party software notices and licenses included in ~ NASA World Wind Java (WWJ) can be found in the WorldWindJava-v2.2 3rd-party ~ notices and licenses PDF found in code directory. --> <project name="worldwind" default="build" basedir="."> <description> Build script for WorldWind Java. Assembles and tests the WorldWind source code, creates WorldWind API documentation, and bundles WorldWind library JAR files. </description> <!-- Import the ANT build properties and project ANT macros. --> <property file="release-build.properties"/> <import file="release-build.macros.xml"/> <!-- Main build targets. Provides generic targets that compile the Java sources, bundle JAR libraries, assemble API documentation, test the Java sources, and clean up the build output. --> <target name="build" depends="assemble, test" description="Default build target. Assembles and tests this project."/> <target name="clean" description="Deletes the build directory."> <delete dir="${worldwind.build.dir}"/> <delete file="${basedir}/worldwind.jar"/> <delete file="${basedir}/worldwindx.jar"/> </target> <target name="assemble" depends="assembleDebug, assembleRelease, assembleJavadoc, assembleSdkArchive" description="Assembles JAR libraries for all build types and assembles the project documentation."/> <!-- Targets for compiling Java sources and bundling JAR libraries. --> <target name="assembleDebug" depends="compileDebugSources, bundleDebug" description="Assembles JAR libraries for the debug build type."/> <target name="assembleRelease" depends="compileReleaseSources, bundleRelease" description="Assembles JAR libraries for the release build type."/> <target name="compileDebugSources"> <mkdir dir="${worldwind.classes.dir}/debug"/> <compileJava srcdir="${worldwind.src.dir}" classdir="${worldwind.classes.dir}/debug" debug="true" jdk="${worldwind.jdk}"> <pathelements> <pathelement location="${basedir}/jogl-all.jar"/> <pathelement location="${basedir}/gluegen-rt.jar"/> <pathelement location="${basedir}/gdal.jar"/> </pathelements> </compileJava> </target> <target name="compileReleaseSources"> <mkdir dir="${worldwind.classes.dir}/release"/> <compileJava srcdir="${worldwind.src.dir}" classdir="${worldwind.classes.dir}/release" debug="false" jdk="${worldwind.jdk}"> <pathelements> <pathelement location="${basedir}/jogl-all.jar"/> <pathelement location="${basedir}/gluegen-rt.jar"/> <pathelement location="${basedir}/gdal.jar"/> </pathelements> </compileJava> </target> <target name="bundleDebug"> <mkdir dir="${worldwind.jar.dir}/debug"/> <bundleJarFiles srcdir="${worldwind.src.dir}" classdir="${worldwind.classes.dir}/debug" destdir="${worldwind.jar.dir}/debug" debug="true"/> </target> <target name="bundleRelease"> <mkdir dir="${worldwind.jar.dir}/release"/> <bundleJarFiles srcdir="${worldwind.src.dir}" classdir="${worldwind.classes.dir}/release" destdir="${worldwind.jar.dir}/release" debug="false"/> <copy file="${worldwind.jar.dir}/release/worldwind.jar" tofile="${basedir}/worldwind.jar"/> <copy file="${worldwind.jar.dir}/release/worldwindx.jar" tofile="${basedir}/worldwindx.jar"/> </target> <!-- Targets for compiling and bundling the project documentation. --> <target name="assembleJavadoc" depends="compileJavadocSources, bundleJavadoc" description="Assembles the project documentation."/> <target name="compileJavadocSources"> <mkdir dir="${worldwind.doc.dir}/javadoc"/> <javadoc destdir="${worldwind.doc.dir}/javadoc" overview="${worldwind.src.dir}/overview.html" encoding="UTF-8" windowtitle="NASA WorldWind" doctitle="NASA WorldWind" header="NASA WorldWind" splitindex="true" protected="true" nodeprecated="true" version="false" author="false" use="true" maxmemory="1024m"> <arg value="-Xmaxerrs" /> <arg value="10000" /> <arg value="-Xmaxwarns" /> <arg value="10000" /> <packageset dir="${worldwind.src.dir}" defaultexcludes="yes"> <include name="gov/nasa/worldwind/**"/> <include name="gov/nasa/worldwindx/**"/> <exclude name="gov/nasa/worldwind/formats/**"/> </packageset> <classpath> <pathelement location="jogl-all.jar"/> <pathelement location="gluegen-rt.jar"/> <pathelement location="gdal.jar"/> </classpath> <link href="http://download.oracle.com/javase/8/docs/api/"/> <link href="https://jogamp.org/deployment/v2.4.0-rc-20200307/javadoc/"/> </javadoc> </target> <target name="bundleJavadoc"> <mkdir dir="${worldwind.doc.dir}"/> <zip destfile="${worldwind.doc.dir}/worldwind-javadoc.zip"> <fileset dir="${worldwind.doc.dir}/javadoc"> <include name="**"/> <type type="file"/> </fileset> </zip> </target> <!-- Targets for assembling the project SDK archive. --> <target name="assembleSdkArchive" depends="assembleRelease"> <zip destfile="${worldwind.build.dir}/worldwind.zip"> <fileset dir="${basedir}"> <include name="**/*"/> <exclude name="build/**"/> <exclude name="classes/**"/> <exclude name="testClasses/**"/> <exclude name="keystore.properties"/> <exclude name="keystore.tar"/> <exclude name="wwstore"/> <type type="file"/> </fileset> </zip> </target> <!-- Targets for testing the project sources. --> <target name="test" depends="unitTest" description="Runs all project tests. Exits with status code 1 if any test fails."> <fail if="unitTest.failure" message="Unit tests FAILED" status="1"/> </target> <target name="unitTest" depends="assembleDebug, compileUnitTestSources, runUnitTest"/> <target name="compileUnitTestSources"> <mkdir dir="${worldwind.classes.dir}/test"/> <compileJava srcdir="${worldwind.test.dir}" classdir="${worldwind.classes.dir}/test" debug="true" jdk="${worldwind.jdk}"> <pathelements> <pathelement location="${worldwind.classes.dir}/debug"/> <pathelement location="${basedir}/jogl-all.jar"/> <pathelement location="${basedir}/gluegen-rt.jar"/> <pathelement location="${basedir}/gdal.jar"/> <pathelement location="${basedir}/junit-4.5.jar"/> </pathelements> </compileJava> </target> <target name="runUnitTest"> <delete dir="${worldwind.test.results.dir}"/> <mkdir dir="${worldwind.test.results.dir}"/> <junit failureproperty="unitTest.failure" fork="on" forkmode="once" maxmemory="1024m"> <classpath> <pathelement location="${worldwind.src.dir}"/> <pathelement location="${worldwind.classes.dir}/test"/> <pathelement location="${worldwind.classes.dir}/debug"/> <pathelement location="${basedir}/jogl-all.jar"/> <pathelement location="${basedir}/gluegen-rt.jar"/> <pathelement location="${basedir}/gdal.jar"/> <pathelement location="${basedir}/junit-4.5.jar"/> </classpath> <batchtest todir="${worldwind.test.results.dir}" skipnontests="true"> <fileset dir="${worldwind.classes.dir}/test"> <include name="**/*"/> </fileset> </batchtest> <formatter type="brief" usefile="no"/> <formatter type="xml" usefile="yes"/> </junit> <junitreport todir="${worldwind.test.results.dir}"> <fileset dir="${worldwind.test.results.dir}"> <include name="TEST-*.xml"/> </fileset> <report todir="${worldwind.test.results.dir}" format="noframes"/> </junitreport> </target> <!-- Tasks for assembling the MIL-STD-2525 symbology package. Rasterizes MIL-STD-2525 SVG image files into PNG image files. The maxwidth and height parameters control the PNG image dimensions, where the width varies depending on the SVG image's aspect ratio. PNG files are written to the destination directory according to their relative path in the source directory. --> <target name="assembleMilStd2525" depends="assembleRelease, compileMilStd2525, bundleMilStd2525" description="Assembles the MIL-STD-2525 symbology package."/> <target name="compileMilStd2525"> <mkdir dir="${milstd2525.png.dir}"/> <!-- Rasterize the MIL-STD-2525 SVG sources. Exclude empty directories in order to suppress erroneous error messages from the Apache Batik Rasterizer. --> <apply executable="java" dest="${milstd2525.png.dir}" failonerror="true"> <arg value="-jar"/> <arg value="${basedir}/lib-external/batik/batik-rasterizer.jar"/> <arg value="-m"/> <arg value="image/png"/> <arg value="-maxw"/> <arg value="${milstd2525.png.width}"/> <arg value="-h"/> <arg value="${milstd2525.png.height}"/> <arg value="-d"/> <targetfile/> <dirset dir="${milstd2525.src.dir}"> <exclude name="fills"/> <exclude name="frames"/> <exclude name="icons"/> </dirset> <mapper type="identity"/> </apply> <!-- The Forward Edge of Battle (FEBA, 2.X.2.4.2.1) image has a custom height of 16 pixels. --> <apply executable="java" dest="${milstd2525.png.dir}" force="true" failonerror="true"> <arg value="-jar"/> <arg value="${basedir}/lib-external/batik/batik-rasterizer.jar"/> <arg value="-m"/> <arg value="image/png"/> <arg value="-maxw"/> <arg value="${milstd2525.png.width}"/> <arg value="-h"/> <arg value="16"/> <arg value="-d"/> <targetfile/> <fileset dir="${milstd2525.src.dir}"> <include name="**/g-g?dlf--------.svg"/> <type type="file"/> </fileset> <mapper type="glob" from="*.svg" to="*.png"/> </apply> <!-- Trim the MIL-STD-2525 modifier images to remove transparent borders. --> <apply executable="java" failonerror="true" parallel="true" maxparallel="100"> <arg value="-cp"/> <arg value="${worldwind.classes.dir}/release"/> <arg value="gov.nasa.worldwind.util.ImageTrimmer"/> <fileset dir="${milstd2525.png.dir}"> <include name="modifiers/**/*"/> <type type="file"/> </fileset> </apply> </target> <target name="bundleMilStd2525"> <mkdir dir="${milstd2525.out.dir}"/> <zip destfile="${milstd2525.out.dir}/milstd2525-symbols.zip"> <fileset dir="${milstd2525.png.dir}"/> </zip> </target> <!-- Helper tasks for bundling and unbundling the JOGL and GLueGen JAR files. Each Jar file is extracted to a folder matching the filename without its suffix. These targets are used to modify JOGL and GlueGen Jar file manifests in order to deploy these files from the WorldWind Java Web Start site. --> <target name="help.unpackJogl"> <property name="jogl.jarfiles.dir" location="jogl-jarfiles"/> <mkdir dir="${jogl.jarfiles.dir}"/> <unzip src="jogl-all.jar" dest="${jogl.jarfiles.dir}/jogl-all"/> <unzip src="jogl-all-natives-macosx-universal.jar" dest="${jogl.jarfiles.dir}/jogl-all-natives-macosx-universal"/> <unzip src="jogl-all-natives-windows-i586.jar" dest="${jogl.jarfiles.dir}/jogl-all-natives-windows-i586"/> <unzip src="jogl-all-natives-windows-amd64.jar" dest="${jogl.jarfiles.dir}/jogl-all-natives-windows-amd64"/> <unzip src="jogl-all-natives-linux-i586.jar" dest="${jogl.jarfiles.dir}/jogl-all-natives-linux-i586"/> <unzip src="jogl-all-natives-linux-amd64.jar" dest="${jogl.jarfiles.dir}/jogl-all-natives-linux-amd64"/> <unzip src="gluegen-rt.jar" dest="${jogl.jarfiles.dir}/gluegen-rt"/> <unzip src="gluegen-rt-natives-macosx-universal.jar" dest="${jogl.jarfiles.dir}/gluegen-rt-natives-macosx-universal"/> <unzip src="gluegen-rt-natives-windows-i586.jar" dest="${jogl.jarfiles.dir}/gluegen-rt-natives-windows-i586"/> <unzip src="gluegen-rt-natives-windows-amd64.jar" dest="${jogl.jarfiles.dir}/gluegen-rt-natives-windows-amd64"/> <unzip src="gluegen-rt-natives-linux-i586.jar" dest="${jogl.jarfiles.dir}/gluegen-rt-natives-linux-i586"/> <unzip src="gluegen-rt-natives-linux-amd64.jar" dest="${jogl.jarfiles.dir}/gluegen-rt-natives-linux-amd64"/> </target> <target name="help.packJogl"> <property name="jogl.jarfiles.dir" location="jogl-jarfiles"/> <jar destfile="${jogl.jarfiles.dir}/jogl-all.jar" basedir="${jogl.jarfiles.dir}/jogl-all" filesonly="true" manifest="${jogl.jarfiles.dir}/jogl-all/META-INF/MANIFEST.MF"/> <jar destfile="${jogl.jarfiles.dir}/jogl-all.jar" basedir="${jogl.jarfiles.dir}/jogl-all" filesonly="true" manifest="${jogl.jarfiles.dir}/jogl-all/META-INF/MANIFEST.MF"/> <jar destfile="${jogl.jarfiles.dir}/jogl-all-natives-macosx-universal.jar" basedir="${jogl.jarfiles.dir}/jogl-all-natives-macosx-universal" filesonly="true" manifest="${jogl.jarfiles.dir}/jogl-all-natives-macosx-universal/META-INF/MANIFEST.MF"/> <jar destfile="${jogl.jarfiles.dir}/jogl-all-natives-windows-i586.jar" basedir="${jogl.jarfiles.dir}/jogl-all-natives-windows-i586" filesonly="true" manifest="${jogl.jarfiles.dir}/jogl-all-natives-windows-i586/META-INF/MANIFEST.MF"/> <jar destfile="${jogl.jarfiles.dir}/jogl-all-natives-windows-amd64.jar" basedir="${jogl.jarfiles.dir}/jogl-all-natives-windows-amd64" filesonly="true" manifest="${jogl.jarfiles.dir}/jogl-all-natives-windows-amd64/META-INF/MANIFEST.MF"/> <jar destfile="${jogl.jarfiles.dir}/jogl-all-natives-linux-i586.jar" basedir="${jogl.jarfiles.dir}/jogl-all-natives-linux-i586" filesonly="true" manifest="${jogl.jarfiles.dir}/jogl-all-natives-linux-i586/META-INF/MANIFEST.MF"/> <jar destfile="${jogl.jarfiles.dir}/jogl-all-natives-linux-amd64.jar" basedir="${jogl.jarfiles.dir}/jogl-all-natives-linux-amd64" filesonly="true" manifest="${jogl.jarfiles.dir}/jogl-all-natives-linux-amd64/META-INF/MANIFEST.MF"/> <jar destfile="${jogl.jarfiles.dir}/gluegen-rt.jar" basedir="${jogl.jarfiles.dir}/gluegen-rt" manifest="${jogl.jarfiles.dir}/gluegen-rt/META-INF/MANIFEST.MF"/> <jar destfile="${jogl.jarfiles.dir}/gluegen-rt-natives-macosx-universal.jar" basedir="${jogl.jarfiles.dir}/gluegen-rt-natives-macosx-universal" manifest="${jogl.jarfiles.dir}/gluegen-rt-natives-macosx-universal/META-INF/MANIFEST.MF"/> <jar destfile="${jogl.jarfiles.dir}/gluegen-rt-natives-windows-i586.jar" basedir="${jogl.jarfiles.dir}/gluegen-rt-natives-windows-i586" manifest="${jogl.jarfiles.dir}/gluegen-rt-natives-windows-i586/META-INF/MANIFEST.MF"/> <jar destfile="${jogl.jarfiles.dir}/gluegen-rt-natives-windows-amd64.jar" basedir="${jogl.jarfiles.dir}/gluegen-rt-natives-windows-amd64" manifest="${jogl.jarfiles.dir}/gluegen-rt-natives-windows-amd64/META-INF/MANIFEST.MF"/> <jar destfile="${jogl.jarfiles.dir}/gluegen-rt-natives-linux-i586.jar" basedir="${jogl.jarfiles.dir}/gluegen-rt-natives-linux-i586" manifest="${jogl.jarfiles.dir}/gluegen-rt-natives-linux-i586/META-INF/MANIFEST.MF"/> <jar destfile="${jogl.jarfiles.dir}/gluegen-rt-natives-linux-amd64.jar" basedir="${jogl.jarfiles.dir}/gluegen-rt-natives-linux-amd64" manifest="${jogl.jarfiles.dir}/gluegen-rt-natives-linux-amd64/META-INF/MANIFEST.MF"/> </target> <!-- Helper tasks for bundling and unbundling the GDAL JAR file. These targets are used to modify the contents of the GDAL JAR file, which are currently not under source control. --> <target name="help.unpackGdal"> <property name="gdal.jarfile.dir" location="gdal-jar"/> <mkdir dir="${gdal.jarfile.dir}"/> <unzip src="gdal.jar" dest="${gdal.jarfile.dir}"/> </target> <target name="help.packGdal"> <property name="gdal.jarfile.dir" location="gdal-jar"/> <delete file="gdal.jar"/> <jar destfile="gdal.jar" basedir="${gdal.jarfile.dir}"> <manifest> <attribute name="Permissions" value="all-permissions"/> </manifest> </jar> </target> <!-- Helper tasks for bundling and unbundling the VPF symbols JAR file. These targets are used to modify the contents of the VPF symbols JAR file, which are currently not under source control. --> <target name="help.unpackVpf"> <property name="vpf.jarfile.dir" location="vpf-symbols-jar"/> <mkdir dir="${vpf.jarfile.dir}"/> <unzip src="vpf-symbols.jar" dest="${vpf.jarfile.dir}"/> </target> <target name="help.packVpf"> <property name="vpf.jarfile.dir" location="vpf-symbols-jar"/> <delete file="vpf-symbols.jar"/> <jar destfile="vpf-symbols.jar" basedir="${vpf.jarfile.dir}"> <manifest> <attribute name="Permissions" value="all-permissions"/> </manifest> </jar> </target> </project> |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |