Skip to content

Commit 7e3cf82

Browse files
committed
Fix javadoc buid.
1 parent b6d0c4a commit 7e3cf82

File tree

10 files changed

+34
-49
lines changed

10 files changed

+34
-49
lines changed

.travis.yml

-14
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,6 @@ script:
4848

4949
# Deploy develop branch javadocs to gh_pages, and create and deploy CHANGELOG.md on tags
5050
deploy:
51-
# Publish SNAPSHOT artifacts to oss.jfrog.org
52-
- provider: script
53-
script: ./gradlew artifactoryPublish -Psnapshot -Pbuild.number=$TRAVIS_BUILD_NUMBER --stacktrace
54-
skip_cleanup: true
55-
on:
56-
branch: develop
57-
jdk: oraclejdk8
5851
# Publish API documentation to GitHub Pages
5952
- provider: pages
6053
github_token: $GITHUB_API_KEY
@@ -63,13 +56,6 @@ deploy:
6356
on:
6457
branch: develop
6558
jdk: oraclejdk8
66-
# Publish release artifacts to Bintray/JCenter
67-
- provider: script
68-
script: ./gradlew bintrayUpload -Prelease --stacktrace
69-
skip_cleanup: true
70-
on:
71-
tags: true
72-
jdk: oraclejdk8
7359
# Create CHANGELOG.md in the current directory
7460
- provider: script
7561
script: ./travis/changelog.sh >> CHANGELOG.md

build.gradle

+12-13
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'java-library'
22
apply plugin: 'maven-publish'
33

44
group = 'earth.worldwind'
5-
version = '2.3.0' + (project.hasProperty('snapshot') ? '-SNAPSHOT' : '')
5+
version = '2.3.1' + (project.hasProperty('snapshot') ? '-SNAPSHOT' : '')
66

77
ant {
88
property(file: 'release-build.properties')
@@ -14,7 +14,6 @@ ext {
1414
gdalVersion = '3.10.0'
1515
jacksonVersion = '1.9.13'
1616
junitVersion = '4.5'
17-
//systemGDAL = true
1817
}
1918

2019
repositories {
@@ -24,11 +23,11 @@ repositories {
2423
}
2524

2625
dependencies {
27-
implementation group: 'org.jogamp.jogl', name: 'jogl-all-main', version:"$project.joglVersion"
28-
implementation group: 'org.jogamp.gluegen', name: 'gluegen-rt-main', version:"$project.joglVersion"
29-
26+
implementation "org.jogamp.jogl:jogl-all-main:$project.joglVersion"
27+
implementation "org.jogamp.gluegen:gluegen-rt-main:$project.joglVersion"
28+
3029
if (project.hasProperty('systemGDAL')) {
31-
implementation files("C:\\Program Files\\GDAL\\java\\gdal.jar")
30+
implementation files("${ant.properties['gdal.jar.dir']}/gdal.jar")
3231
} else {
3332
implementation "org.gdal:gdal:$project.gdalVersion"
3433
}
@@ -50,10 +49,10 @@ task sourcesJar(type: Jar, dependsOn: classes) {
5049
}
5150
}
5251

53-
task worldwindJar(type: Jar) {
52+
task extensionsJar(type: Jar) {
5453
group = 'build'
55-
description = 'Assembles a jar archive containing the WorldWind classes.'
56-
archivesBaseName = 'worldwind'
54+
description = 'Assembles a jar archive containing the extension classes.'
55+
baseName = 'worldwindx'
5756
from (sourceSets.main.output) {
5857
exclude 'com/**'
5958
exclude 'config/**'
@@ -62,9 +61,9 @@ task worldwindJar(type: Jar) {
6261
}
6362
doLast {
6463
copy {
65-
from "$buildDir/libs/$worldwindJar.archiveFileName"
64+
from "$buildDir/libs/$extensionsJar.archiveFileName"
6665
into project.projectDir
67-
rename "$worldwindJar.archiveFileName", "$worldwindJar.baseName.$worldwindJar.extension"
66+
rename "$extensionsJar.archiveFileName", "$extensionsJar.baseName.$extensionsJar.extension"
6867
}
6968
}
7069
}
@@ -98,7 +97,7 @@ def pomConfig = {
9897

9998
publishing {
10099
publications {
101-
bintray(MavenPublication) {
100+
maven(MavenPublication) {
102101
from components.java
103102
artifact sourcesJar
104103
artifact javadocJar
@@ -177,7 +176,7 @@ javadoc {
177176

178177
artifacts {
179178
archives sourcesJar
180-
archives worldwindJar
179+
archives extensionsJar
181180
archives javadocJar
182181
}
183182

src/gov/nasa/worldwind/globes/Globe.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* elevations for geographic positions on the surface of the globe. Globe provides methods for converting geographic
4040
* positions (latitude, longitude, and elevation) to cartesian coordinates, and for converting cartesian to geographic.
4141
* The origin and orientation of the cartesian coordinate system are determined by implementations of this interface.
42-
* <h1>Computations in Cartesian Coordinates</h1>
42+
* <h2>Computations in Cartesian Coordinates</h2>
4343
* <p>
4444
* Globe provides methods for performing computations in the coordinate system represented by a globe's surface in
4545
* cartesian coordinates. These methods perform work with respect to the globe's actual shape in 3D cartesian
@@ -51,7 +51,7 @@
5151
* #computeSurfaceNormalAtLocation(gov.nasa.worldwind.geom.Angle, gov.nasa.worldwind.geom.Angle)}</li> <li>{@link
5252
* #computeSurfaceOrientationAtPosition(gov.nasa.worldwind.geom.Angle, gov.nasa.worldwind.geom.Angle, double)}</li>
5353
* </ul>
54-
* <h1>Computations in Ellipsoidal Coordinates</h1>
54+
* <h2>Computations in Ellipsoidal Coordinates</h2>
5555
* <p>
5656
* Globe provides methods for performing computation on the ellipsoid represented by a globe's equatorial radius and its
5757
* polar radius. These methods perform work with respect to the ellipsoid in 3D cartesian coordinates. Calling any of

src/gov/nasa/worldwind/symbology/TacticalGraphic.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
* <p>
4444
* See the {@link gov.nasa.worldwindx.examples.symbology.Symbology} and {@link gov.nasa.worldwindx.examples.symbology.TacticalGraphics}
4545
* example applications for examples of how to use tactical graphics.
46-
* <h1>Construction</h1>
46+
* <h2>Construction</h2>
4747
* <p>
4848
* TacticalGraphics are typically created by an instance of {@link TacticalGraphicFactory}. Each graphic within a symbol
4949
* set is identified by a string identifier. The format of this identifier depends on the symbol set. For example, a
@@ -91,7 +91,7 @@
9191
* graphic should be styled. In the example above we added a text modifier of "Alpha" to identify our shape. These
9292
* parameters can be specified using a parameter list when the TacticalGraphic is created, as shown above. They can also
9393
* be set after creation using setters in the TacticalGraphic interface.
94-
* <h1>Modifiers</h1>
94+
* <h2>Modifiers</h2>
9595
* <p>
9696
* Many graphics support text or graphic modifiers. Each modifier is identified by a String key. The set of possible
9797
* modifiers is determined by the symbol set. Modifiers can be specified in the parameter list when a graphic is
@@ -114,7 +114,7 @@
114114
* TacticalGraphic graphic = milstd2525Factory.createGraphic("GHGPGAG----AUSX", positions, null);
115115
* graphic.setModifier(SymbologyConstants.UNIQUE_DESIGNATION, "Boston");
116116
* </pre>
117-
* <h1>Position</h1>
117+
* <h2>Position</h2>
118118
* <p>
119119
* Each tactical graphic is positioned by one or more control points. How many points are required depends on the type
120120
* of graphic. A point graphic will only require one point. A more complex shape may require three or four, and a line
@@ -139,7 +139,7 @@
139139
*
140140
* TacticalGraphic graphic = milstd2525Factory.createGraphic("GFGPSLA----AUSX", positions, null);
141141
* </pre>
142-
* <h1>Sub-interfaces of TacticalGraphic</h1>
142+
* <h2>Sub-interfaces of TacticalGraphic</h2>
143143
* <p>
144144
* TacticalGraphic describes any tactical graphic in the most general terms: a list of positions and modifiers. However,
145145
* this general interface is not convenient for all graphics. For example, when creating a circle graphic it is more

src/gov/nasa/worldwind/symbology/milstd2525/MilStd2525IconRetriever.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555
* <table><caption style="font-weight: bold;">createIcon Parameters</caption> <tr><th>Key</th><th>Type</th><td><th>Description</th></tr> <tr><td>SymbologyConstants.SHOW_ICON</td><td>Boolean</td><td>Determines
5656
* if the symbol will be created with an icon.</td></tr> <tr><td>SymbologyConstants.SHOW_FRAME</td><td>Boolean</td><td>Determines
5757
* if the symbol will be created with a frame.</td></tr> <tr><td>SymbologyConstants.SHOW_FILL</td><td>Boolean</td><td>Determines
58-
* if the symbol will be created with a fill color.</td></tr><tr><td valign="top">AVKey.COLOR</td><td
59-
* valign="top">java.awt.Color</td><td valign="top">Fill color applied to the symbol. If the symbol is drawn with a
60-
* frame, then this color will be used to fill the frame. If the symbol is not drawn with a frame, then the fill will be
61-
* applied to the icon itself. The fill color has no effect if Show Fill is False.</td></tr> </table>
58+
* if the symbol will be created with a fill color.</td></tr><tr><td>AVKey.COLOR</td><td>java.awt.Color</td>
59+
* <td>Fill color applied to the symbol. If the symbol is drawn with a frame, then this color will be used to fill the frame.
60+
* If the symbol is not drawn with a frame, then the fill will be applied to the icon itself.
61+
* The fill color has no effect if Show Fill is False.</td></tr> </table>
6262
*
6363
* @author ccrick
6464
* @version $Id: MilStd2525IconRetriever.java 1171 2013-02-11 21:45:02Z dcollins $

src/gov/nasa/worldwind/util/webview/WindowsWebViewJNI.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
/**
3939
* JNI bindings for the Windows WebView library. This library provides functions for creating and destroying native
4040
* WebViews, sending user input to a WebView, and adding listeners to a WebView.
41-
* <h3>Message loops</h3>
41+
* <h2>Message loops</h2>
4242
* <p>
4343
* WebViews created by this library must be managed by a message loop in native code. This class provides methods for
4444
* creating and running a native message loop using a Java thread. Each WebView must be associated with one message

src/gov/nasa/worldwindx/examples/AirspaceBuilder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
* Illustrates runtime construction of 3D extruded polygons and spheres using WorldWind <code>{@link Airspace}</code>
5858
* shapes. This uses a <code>{@link PolygonEditor}</code> and a <code>{@link SphereAirspaceEditor}</code> to enable
5959
* runtime editing of <code>{@link Polygon}</code> airspace and <code>{@link SphereAirspace}</code> shapes.
60-
* <h1>Usage Instructions</h1>
60+
* <h2>Usage Instructions</h2>
6161
* <p>
6262
* <strong>Adding and Removing Shapes</strong> <br> Add a shape by selecting either <code>Polygon</code> or
6363
* <code>Sphere</code> in the drop down box then clicking <code>New shape</code>. Delete a shape by left-clicking it
@@ -75,7 +75,7 @@
7575
* near the polygon. Remove a polygon control point by holding the <code>Control</code> key and left-clicking the blue
7676
* sphere at the vertex. Move a polygon vertex by left-clicking and dragging it. Change a polygon's bottom or top height
7777
* by holding the <code>Shift</code> key then left-click any blue sphere at a vertex and drag it.
78-
* <h1>Demo Shapes</h1>
78+
* <h2>Demo Shapes</h2>
7979
* <p>
8080
* Select <code>File -&gt; Load Demo Shapes</code> to display a set of polygon airspace shapes built with this editor.
8181
* The data for these shapes is located in the WorldWind project under

src/gov/nasa/worldwindx/examples/util/BalloonController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ private MouseEvent glMouseEvent(MouseEvent awtMouseEvent) {
180180
* Handle a mouse click. If the top picked object has a balloon attached to it the balloon will be made visible. A
181181
* balloon may be attached to a KML feature, or to any picked object though {@link AVKey#BALLOON}.
182182
*
183-
* @param e Mouse event
183+
* @param awtEv Mouse event
184184
*/
185185
@Override
186186
public void mouseClicked(MouseEvent awtEv)

src/gov/nasa/worldwindx/examples/util/ScreenSelector.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
* and tracks the list of objects intersecting the screen rectangle. The screen rectangle is displayed on a layer
4646
* created by ScreenSelector, and is used as the WorldWindow's pick rectangle to perform object selection. Objects
4747
* intersecting the screen rectangle can be accessed by calling {@link #getSelectedObjects()}.
48-
* <h3>Using ScreenSelector</h3>
48+
* <h2>Using ScreenSelector</h2>
4949
* <p>
5050
* To use ScreenSelector in an application, create a new instance of ScreenSelector and specify the application's
5151
* WorldWindow as the sole parameter. When the user wants to define a screen selection, call {@link #enable} and the

src/overview.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@
4242
Most of WorldWind's components are defined by interfaces. This allows application developers to create their own
4343
implementations and easily integrate them into WorldWind. </p>
4444

45-
<h2>The <code>WorldWind</code> Class</h2>
45+
<h1>The <code>WorldWind</code> Class</h1>
4646

4747
<p>TODO</p>
4848

49-
<h2>Multiple WorldWind Windows</h2>
49+
<h1>Multiple WorldWind Windows</h1>
5050

5151
<p>TODO</p>
5252

53-
<h2>Data Retrieval</h2>
53+
<h1>Data Retrieval</h1>
5454

5555
<p>
5656
WorldWind works with enormous quantities of data and information, all of which exist primarily on remote data
@@ -99,7 +99,7 @@ <h2>Data Retrieval</h2>
9999
Retriever</code> and requests retrieval. Later, after retrieval has placed the data on disk, the situation will be
100100
the local case and data can be loaded into memory within the <code>Runnable</code>. </p>
101101

102-
<h2>Memory Cache</h2>
102+
<h1>Memory Cache</h1>
103103

104104
<p>So that data can be shared among caching objects, most cached data used within WorldWind is cached in a {@link
105105
gov.nasa.worldwind.cache.MemoryCache}. <code>MemoryCache</code> enable cached data to be shared among all
@@ -114,7 +114,7 @@ <h2>File Cache</h2>
114114
No object manages its own storage. The file cache cache manages multiple disk storage locations and unifies access to
115115
them. The file cache is a singleton, accessible through the <code>WorldWind</code> singleton.</p>
116116

117-
<h2>Picking and Selection</h2>
117+
<h1>Picking and Selection</h1>
118118

119119
<p>WorldWind can determine the displayed objects at a given screen position in a <code>WorldWindow</code>. When the
120120
application wants to know what's displayed at a particular point, say the cursor position, it calls a method on
@@ -158,7 +158,7 @@ <h2>Picking and Selection</h2>
158158
<p>WorldWind provides utility classes to make it simple for layers to participate in this picking scheme. See {@link
159159
gov.nasa.worldwind.pick.PickSupport} </p>
160160

161-
<h2>Use of Proxies</h2>
161+
<h1>Use of Proxies</h1>
162162

163163
<p>A proxy is set by calling {@link gov.nasa.worldwind.Configuration#setValue} for each of the following keys:</p>
164164
<ul>
@@ -176,7 +176,7 @@ <h2>Offline Mode</h2>
176176
to attempting retrieval of a network resource &mdash; anything addressed by a URL &mdash; WorldWind checks the
177177
offline-mode setting and does not attempt retrieval if the value is true.</p>
178178

179-
<h2 id="path-types">Path Types</h2>
179+
<h1 id="path-types">Path Types</h1>
180180

181181
<p>There is only one way to draw a straight line on a plane, but there are several ways to draw a straight line on the
182182
surface of a globe. Most shapes support the following path types:</p>

0 commit comments

Comments
 (0)