Skip to content

Commit 10bf292

Browse files
committed
Removed webstart build, fixed javadoc
1 parent b38fc82 commit 10bf292

File tree

323 files changed

+1266
-1440
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

323 files changed

+1266
-1440
lines changed

release-build.xml

Lines changed: 1 addition & 172 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<delete file="${basedir}/worldwindx.jar"/>
2929
</target>
3030

31-
<target name="assemble" depends="assembleDebug, assembleRelease, assembleJavadoc, assembleWebStart, assembleSdkArchive"
31+
<target name="assemble" depends="assembleDebug, assembleRelease, assembleJavadoc, assembleSdkArchive"
3232
description="Assembles JAR libraries for all build types and assembles the project documentation."/>
3333

3434
<!-- Targets for compiling Java sources and bundling JAR libraries. -->
@@ -115,177 +115,6 @@
115115
</zip>
116116
</target>
117117

118-
<!-- Tasks for assembling the project Web Start package. -->
119-
120-
<target name="assembleWebStart"
121-
depends="assembleRelease, compileWebStartConfiguration, bundleWebStartLibraries, signWebStartSources, bundleWebStart"
122-
description="Assembles the Java Web Start deployment package."/>
123-
124-
<target name="compileWebStartConfiguration">
125-
<mkdir dir="${webstart.jnlp.dir}"/>
126-
<copy todir="${webstart.jnlp.dir}">
127-
<fileset dir="${webstart.src.dir}">
128-
<include name="*.jnlp"/>
129-
<exclude name="JavaWebStartTemplate.jnlp"/>
130-
<type type="file"/>
131-
</fileset>
132-
</copy>
133-
</target>
134-
135-
<target name="bundleWebStartLibraries">
136-
<mkdir dir="${webstart.unsigned.dir}"/>
137-
<!-- WorldWind library JAR files. -->
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-
<!-- JOGL and GlueGen library JAR files. -->
141-
<copy todir="${webstart.unsigned.dir}">
142-
<fileset dir="${basedir}">
143-
<include name="jogl-all*.jar"/>
144-
<include name="gluegen-rt*.jar"/>
145-
<type type="file"/>
146-
</fileset>
147-
</copy>
148-
<!-- WebView native library JAR files. -->
149-
<jar jarfile="${webstart.unsigned.dir}/webview-natives-macosx.jar">
150-
<manifest>
151-
<attribute name="Permissions" value="all-permissions"/>
152-
</manifest>
153-
<fileset dir="${basedir}">
154-
<include name="libwebview.jnilib"/>
155-
<type type="file"/>
156-
</fileset>
157-
</jar>
158-
<jar jarfile="${webstart.unsigned.dir}/webview-natives-windows.jar">
159-
<manifest>
160-
<attribute name="Permissions" value="all-permissions"/>
161-
</manifest>
162-
<fileset dir="${basedir}">
163-
<include name="WebView32.dll"/>
164-
<include name="WebView64.dll"/>
165-
<type type="file"/>
166-
</fileset>
167-
</jar>
168-
<!-- GDAL library JAR files. -->
169-
<copy file="${basedir}/gdal.jar" todir="${webstart.unsigned.dir}"/>
170-
<jar jarfile="${webstart.unsigned.dir}/gdaldata.jar">
171-
<manifest>
172-
<attribute name="Permissions" value="all-permissions"/>
173-
</manifest>
174-
<fileset dir="${basedir}/lib-external/gdal/data">
175-
<include name="**"/>
176-
<type type="file"/>
177-
</fileset>
178-
</jar>
179-
<!-- GDAL native library JAR files. -->
180-
<jar jarfile="${webstart.unsigned.dir}/gdal-natives-macosx-universal.jar">
181-
<manifest>
182-
<attribute name="Permissions" value="all-permissions"/>
183-
</manifest>
184-
<fileset dir="${basedir}/lib-external/gdal">
185-
<include name="GDAL_License.txt"/>
186-
<include name="LizardTech_DSDK_License.txt"/>
187-
<include name="LizardTech_3rd_Party.txt"/>
188-
<include name="LizardTech_Redistributable.txt"/>
189-
<include name="libgdalalljni.jnilib"/>
190-
<type type="file"/>
191-
</fileset>
192-
</jar>
193-
<jar jarfile="${webstart.unsigned.dir}/gdal-natives-windows-i586.jar">
194-
<manifest>
195-
<attribute name="Permissions" value="all-permissions"/>
196-
</manifest>
197-
<fileset dir="${basedir}/lib-external/gdal">
198-
<include name="GDAL_License.txt"/>
199-
<include name="LizardTech_DSDK_License.txt"/>
200-
<include name="LizardTech_3rd_Party.txt"/>
201-
<include name="LizardTech_Redistributable.txt"/>
202-
<include name="gdalminjni32.dll"/>
203-
<include name="gdalalljni32.dll"/>
204-
<include name="gdalalljni32.dll.manifest"/>
205-
<type type="file"/>
206-
</fileset>
207-
</jar>
208-
<jar jarfile="${webstart.unsigned.dir}/gdal-natives-windows-amd64.jar">
209-
<manifest>
210-
<attribute name="Permissions" value="all-permissions"/>
211-
</manifest>
212-
<fileset dir="${basedir}/lib-external/gdal">
213-
<include name="GDAL_License.txt"/>
214-
<include name="LizardTech_DSDK_License.txt"/>
215-
<include name="LizardTech_3rd_Party.txt"/>
216-
<include name="LizardTech_Redistributable.txt"/>
217-
<include name="gdalminjni64.dll"/>
218-
<include name="gdalalljni64.dll"/>
219-
<include name="gdalalljni64.dll.manifest"/>
220-
<type type="file"/>
221-
</fileset>
222-
</jar>
223-
<jar jarfile="${webstart.unsigned.dir}/gdal-natives-linux-i586.jar">
224-
<manifest>
225-
<attribute name="Permissions" value="all-permissions"/>
226-
</manifest>
227-
<fileset dir="${basedir}/lib-external/gdal">
228-
<include name="GDAL_License.txt"/>
229-
<include name="LizardTech_DSDK_License.txt"/>
230-
<include name="LizardTech_3rd_Party.txt"/>
231-
<include name="LizardTech_Redistributable.txt"/>
232-
<include name="libgdalalljni32.so"/>
233-
<type type="file"/>
234-
</fileset>
235-
</jar>
236-
<jar jarfile="${webstart.unsigned.dir}/gdal-natives-linux-amd64.jar">
237-
<manifest>
238-
<attribute name="Permissions" value="all-permissions"/>
239-
</manifest>
240-
<fileset dir="${basedir}/lib-external/gdal">
241-
<include name="GDAL_License.txt"/>
242-
<include name="LizardTech_DSDK_License.txt"/>
243-
<include name="LizardTech_3rd_Party.txt"/>
244-
<include name="LizardTech_Redistributable.txt"/>
245-
<include name="libgdalalljni64.so"/>
246-
<type type="file"/>
247-
</fileset>
248-
</jar>
249-
</target>
250-
251-
<target name="signWebStartSources" depends="keystoreAvailable" if="keystore.isAvailable">
252-
<property file="${basedir}/keystore.properties"/>
253-
<copy todir="${webstart.jar.dir}">
254-
<fileset dir="${webstart.unsigned.dir}">
255-
<include name="*.jar"/>
256-
<type type="file"/>
257-
</fileset>
258-
</copy>
259-
<signjar alias="${keyAlias}" keystore="${storeFile}" storepass="${storePassword}" tsaurl="${tsaurl}">
260-
<path>
261-
<fileset dir="${webstart.jar.dir}">
262-
<include name="*.jar"/>
263-
<type type="file"/>
264-
</fileset>
265-
</path>
266-
</signjar>
267-
</target>
268-
269-
<target name="bundleWebStart" depends="bundleWebStartSigned, bundleWebStartUnsigned"/>
270-
271-
<target name="bundleWebStartSigned" if="keystore.isAvailable">
272-
<zip destfile="${webstart.out.dir}/worldwind-webstart.zip">
273-
<fileset dir="${webstart.jar.dir}"/>
274-
<fileset dir="${webstart.jnlp.dir}"/>
275-
</zip>
276-
</target>
277-
278-
<target name="bundleWebStartUnsigned">
279-
<zip destfile="${webstart.out.dir}/worldwind-webstart-unsigned.zip">
280-
<fileset dir="${webstart.unsigned.dir}"/>
281-
<fileset dir="${webstart.jnlp.dir}"/>
282-
</zip>
283-
</target>
284-
285-
<target name="keystoreAvailable">
286-
<available property="keystore.isAvailable" file="${basedir}/keystore.properties"/>
287-
</target>
288-
289118
<!-- Targets for assembling the project SDK archive. -->
290119

291120
<target name="assembleSdkArchive" depends="assembleRelease">

src/gov/nasa/worldwind/AbstractSceneController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ protected void drawOrderedSurfaceRenderables(DrawContext dc)
10731073
* gov.nasa.worldwind.render.SurfaceObject#render(gov.nasa.worldwind.render.DrawContext)} in ordered rendering mode.
10741074
* This does nothing if the ordered surface renderable queue is empty, or if it does not contain any
10751075
* SurfaceObjects.
1076-
* <p/>
1076+
* <p>
10771077
* This method is called during the preRender phase, and is therefore free to modify the framebuffer contents to
10781078
* create the composite representation.
10791079
*

src/gov/nasa/worldwind/BasicFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public static Object create(String factoryKey, Object configSource, AVList param
9494
* <li>{@link gov.nasa.worldwind.ogc.wcs.wcs100.WCS100Capabilities}</li>
9595
* <li>{@link String} holding a file name, a name of a resource on the classpath, or a string representation of a
9696
* URL</li></ul>
97-
* <p/>
97+
* <p>
9898
*
9999
* @param configSource the configuration source. See above for supported types.
100100
* @param params key-value parameters to override or supplement the information provided in the specified

src/gov/nasa/worldwind/BasicModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public Extent getExtent()
245245

246246
/**
247247
* {@inheritDoc}
248-
* <p/>
248+
* <p>
249249
* This implementation forwards the message each layer in the model.
250250
*
251251
* @param msg The message that was received.

src/gov/nasa/worldwind/Configuration.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,35 @@
2222
* contents. Configurations files contain the names of classes to create at run-time, the initial model definition,
2323
* including the globe, elevation model and layers, and various control quantities such as cache sizes and data
2424
* retrieval timeouts.
25-
* <p/>
25+
* <p>
2626
* The Configuration class is a singleton, but its instance is not exposed publicly. It is addressed only via static
2727
* methods of the class. It is constructed upon first use of any of its static methods.
28-
* <p/>
28+
* <p>
2929
* When the Configuration class is first instantiated it reads the XML document <code>config/worldwind.xml</code> and
3030
* registers all the information there. The information can subsequently be retrieved via the class' various
3131
* <code>getValue</code> methods. Many WorldWind start-up objects query this information to determine the classes to
3232
* create. For example, the first WorldWind object created by an application is typically a {@link
3333
* gov.nasa.worldwind.awt.WorldWindowGLCanvas}. During construction that class causes WorldWind's internal classes to
3434
* be constructed, using the names of those classes drawn from the Configuration singleton, this class.
35-
* <p/>
35+
* <p>
3636
* The default WorldWind configuration document is <code>config/worldwind.xml</code>. This can be changed by setting
3737
* the Java property <code>gov.nasa.worldwind.config.file</code> to a different file name or a valid URL prior to
3838
* creating any WorldWind object or invoking any static methods of WorldWind classes, including the Configuration
3939
* class. When an application specifies a different configuration location it typically does so in its main method prior
4040
* to using WorldWind. If a file is specified its location must be on the classpath. (The contents of application and
4141
* WorldWind jar files are typically on the classpath, in which case the configuration file may be in the jar file.)
42-
* <p/>
42+
* <p>
4343
* Additionally, an application may set another Java property, <code>gov.nasa.worldwind.app.config.document</code>, to a
4444
* file name or URL whose contents contain configuration values to override those of the primary configuration document.
4545
* WorldWind overrides only those values in this application document, it leaves all others to the value specified in
4646
* the primary document. Applications usually specify an override document in order to specify the initial layers in the
4747
* model.
48-
* <p/>
48+
* <p>
4949
* See <code>config/worldwind.xml</code> for documentation on setting configuration values.
50-
* <p/>
50+
* <p>
5151
* Configuration values can also be set programatically via {@link Configuration#setValue(String, Object)}, but they are
5252
* not retroactive so affect only Configuration queries made subsequent to setting the value.
53-
* <p/>
53+
* <p>
5454
* <em>Note:</em> Prior to September of 2009, configuration properties were read from the file
5555
* <code>config/worldwind.properties</code>. An alternate file could be specified via the
5656
* <code>gov.nasa.worldwind.config.file</code> Java property. These mechanisms remain available but are deprecated.
@@ -381,7 +381,7 @@ public static synchronized Double getDoubleValue(String key)
381381

382382
/**
383383
* Return as a Boolean the value associated with a specified key.
384-
* <p/>
384+
* <p>
385385
* Valid values for true are '1' or anything that starts with 't' or 'T'. ie. 'true', 'True', 't' Valid values for
386386
* false are '0' or anything that starts with 'f' or 'F'. ie. 'false', 'False', 'f'
387387
*
@@ -399,7 +399,7 @@ public static synchronized Boolean getBooleanValue(String key, Boolean defaultVa
399399

400400
/**
401401
* Return as a Boolean the value associated with a specified key.
402-
* <p/>
402+
* <p>
403403
* Valid values for true are '1' or anything that starts with 't' or 'T'. ie. 'true', 'True', 't' Valid values for
404404
* false are '0' or anything that starts with 'f' or 'F'. ie. 'false', 'False', 'f'
405405
*
@@ -502,7 +502,7 @@ public static String getSystemTempDirectory()
502502
* Returns the path to the current user's application data directory. The path returned depends on the operating
503503
* system on which the Java Virtual Machine is running. The following table provides the path for all supported
504504
* operating systems:
505-
* <p/>
505+
* <p>
506506
* <table> <tr><th>Operating System</th><th>Path</th></tr> <tr><td>Mac OS X</td><td>~/Library/Application
507507
* Support</td></tr> <tr><td>Windows</td><td>~\\Application Data</td></tr> <tr><td>Linux, Unix,
508508
* Solaris</td><td>~/</td></tr> </table>
@@ -647,7 +647,7 @@ public static float getJavaVersion()
647647
* Returns the highest OpenGL profile available on the current graphics device that is compatible with WorldWind.
648648
* The returned profile favors hardware acceleration over software acceleration. With JOGL version 2.0, this returns
649649
* the highest available profile from the following list:
650-
* <p/>
650+
* <p>
651651
* <ul> <li>OpenGL compatibility profile 4.x</li> <li>OpenGL compatibility profile 3.x</li> <li>OpenGL profile 1.x
652652
* up to 3.0</li> </ul>
653653
*

src/gov/nasa/worldwind/Exportable.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@
1212
* Exportable marks an object that can be exported in different data formats. Implementing classes may support one or
1313
* more export formats. Formats are identified by MIME type. Call {@link #isExportFormatSupported(String)} to determine
1414
* if an object supports export in a certain format.
15-
* <p/>
15+
* <p>
1616
* Example of use:
17-
* <p/>
1817
* <pre>
1918
* // Export a PointPlacemark in KML format
2019
* PointPlacemark placemark;
21-
* <p/>
2220
* StringWriter kml = new StringWriter();
2321
* placemark.export(KMLConstants.KML_MIME_TYPE, kml);
2422
* </pre>

src/gov/nasa/worldwind/SceneController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public interface SceneController extends WWObject, Disposable
109109
* Specifies the current pick point in AWT screen coordinates, or <code>null</code> to indicate that there is no
110110
* pick point. Each frame, this scene controller determines which objects are drawn at the pick point and places
111111
* them in a PickedObjectList. This list can be accessed by calling {@link #getPickedObjectList()}.
112-
* <p/>
112+
* <p>
113113
* If the pick point is <code>null</code>, this scene controller ignores the pick point and the list of objects
114114
* returned by getPickedObjectList is empty.
115115
*
@@ -130,7 +130,7 @@ public interface SceneController extends WWObject, Disposable
130130
* Specifies the current pick rectangle in AWT screen coordinates, or <code>null</code> to indicate that there is no
131131
* pick rectangle. Each frame, this scene controller determines which objects intersect the pick rectangle and
132132
* places them in a PickedObjectList. This list can be accessed by calling {@link #getObjectsInPickRectangle()}.
133-
* <p/>
133+
* <p>
134134
* If the pick rectangle is <code>null</code>, this scene controller ignores the pick rectangle and the list of
135135
* objects returned by getObjectsInPickRectangle is empty.
136136
*

src/gov/nasa/worldwind/StereoOptionSceneController.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,17 @@
1515
/**
1616
* TODO: This file needs to be updated to implement "correct" stereo, as described at:
1717
* http://www.orthostereo.com/geometryopengl.html
18-
* <p/>
19-
* <p/>
18+
* <p>
2019
* This scene controller draws in stereo, either red-blue anaglyph or device supported if the display device provides
2120
* stereo directly. It can also draw without applying stereo. To select stereo, prior to calling this class' constructor
2221
* set the Java VM property <code>gov.nasa.worldwind.stereo.mode</code> to "device" for device supported stereo (if
2322
* provided by the device) or "redblue" for red-blue anaglyph stereo. If the property is not set or is any other value,
2423
* this class does not draw in stereo.
25-
* <p/>
24+
* <p>
2625
* The {@link WorldWindow} instance must support stereo in order to use device-supported stereo. A stereo
2726
* <code>WorldWindow</code> is selected by specifying the Java VM property described above prior to creating it. See
2827
* {@link gov.nasa.worldwind.awt.WorldWindowGLCanvas} for further details.
29-
* <p/>
28+
* <p>
3029
* Note: The logic and much of the code here was contributed by Xander Enzmann of Mitre Corporation.
3130
*
3231
* @author tag
@@ -114,7 +113,7 @@ public boolean isHardwareStereo()
114113

115114
/**
116115
* {@inheritDoc}
117-
* <p/>
116+
* <p>
118117
* If the display device is providing stereo -- {@link #isHardwareStereo()} is <code>true</code> -- this method
119118
* returns true even if the stereo mode is {@link AVKey#STEREO_MODE_NONE}. In this case, individual stereo images
120119
* are drawn for left and right eyes in order to prevent a blurred scene.
@@ -158,7 +157,7 @@ else if (AVKey.STEREO_MODE_RED_BLUE.equals(this.stereoMode) && pitchInRange)
158157

159158
/**
160159
* Implement no stereo ("Mono") while using a stereo device.
161-
* <p/>
160+
* <p>
162161
* Note that this method draws the image twice, once to each of the left and right eye buffers, even when stereo is
163162
* not in effect. This is to prevent the stereo device from drawing blurred scenes.
164163
*

src/gov/nasa/worldwind/StereoSceneController.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
/**
1212
* An interface for scene controllers that provide stereo.
13-
* <p/>
13+
* <p>
1414
* Note: The {@link WorldWindow} instance must support stereo display in order to use device-supported stereo. See
1515
* {@link gov.nasa.worldwind.awt.WorldWindowGLCanvas} to learn how to select a stereo device.
1616
*
@@ -24,10 +24,10 @@ public interface StereoSceneController extends SceneController
2424
* gov.nasa.worldwind.avlist.AVKey#STEREO_MODE_DEVICE} to request device supported stereo, {@link
2525
* gov.nasa.worldwind.avlist.AVKey#STEREO_MODE_RED_BLUE} to request red-blue anaglyph stereo implemented in
2626
* software, or {@link gov.nasa.worldwind.avlist.AVKey#STEREO_MODE_NONE} (the default) to request no stereo effect.
27-
* <p/>
27+
* <p>
2828
* If <code>STEREO_MODE_DEVICE</code> is requested but the display device does not support stereo, stereo is not
2929
* applied.
30-
* <p/>
30+
* <p>
3131
* See the implementing class to determine how it detects the initial stereo mode.
3232
*
3333
* @param mode the technique used to provide the stereo effect. If null, the mode is set to {@link

0 commit comments

Comments
 (0)