Skip to content

Commit

Permalink
Merge pull request NASAWorldWind#246 from NASAWorldWind/release-chang…
Browse files Browse the repository at this point in the history
…es-2.21

Release changes 2.21
  • Loading branch information
Beak-man committed May 26, 2022
2 parents 6249e2b + f7cc3f1 commit 406bf78
Show file tree
Hide file tree
Showing 8 changed files with 104 additions and 63 deletions.
14 changes: 10 additions & 4 deletions README.md
Expand Up @@ -2,9 +2,11 @@

# WorldWind Java

## New versions of WorldWind released
Web WorldWind 0.10.0 and WorldWind Java 2.2.0 are now available on GitHub. The new version of Web WorldWind addresses potential vulnerabilities in the code and underlying packages. The new version of WorldWind Java focuses on upgrading to Java 11 and JOGL 2.4 as well as a switch to Apache 2.0 license. WorldWind's API remains largely unchanged in this release and we are committed to maintaining a consistent API in future releases.
More information on the release can be found at these links: [Web WorldWind 0.10.0](https://github.com/NASAWorldWind/WebWorldWind/releases) and [WorldWind Java 2.2.0](https://github.com/NASAWorldWind/WorldWindJava/releases).
## New version of WorldWind Java released
WorldWind Java 2.2.1 is now available on GitHub. This version of WorldWind Java is a maintenance release that addresses small fixes (typos, bad references, etc.) to various areas of the code and removes references to services that are no longer supported by the WorldWind servers.

WorldWind's API remains unchanged in this release and we are committed to maintaining a consistent API in future releases.
More information on the release can be found at this link: [WorldWind Java 2.2.1](https://github.com/NASAWorldWind/WorldWindJava/releases).

Please direct questions to our new email address: arc-worldwind@mail.nasa.gov.

Expand All @@ -25,7 +27,11 @@ Official WorldWind Java releases have the latest stable features, enhancements a

## Run a Demo

With the deprecation of WebStart/JNLP, the only option for running a Java demo is to clone the SDK, open it with Apache Netbeans and run it via the Netbeans interface.
The following options are available to run a WorldWind Java demo:

###### From the Apache NetBeans IDE

Clone the SDK with git, open the WorldWind Java project with Apache Netbeans and run demos via the Netbeans interface.

###### From a Windows Development Environment

Expand Down
26 changes: 26 additions & 0 deletions RELEASE_NOTES.txt
@@ -0,0 +1,26 @@
################### WorldWindJava 2.2.1

This version of WorldWind Java is a maintenance release that addresses small fixes (updated formatting, typos, bad references, etc.) to various areas of the code and removes references to services that are no longer supported by the WorldWind servers.

WorldWind's API remains unchanged in this release and we are committed to maintaining a consistent API in future releases.

################### WorldWindJava 2.2.0

The primary goal of the WorldWind Java (WWJ) v2.2.0 release is to modernize the SDK after a period of inactivity. During this process some defects were addressed as well. Highlights of v2.2.0:

- Upgrade to Java 11
- Upgrade to the OpenGL layer (JOGL) 2.4
- Switch to the Apache 2.0 license
- Deprecation of unsupported functionality such as Applets, WebStart and WebView.

WorldWind's API remains largely unchanged in this release and we are committed to maintaining a consistent API in future releases.

The prior release of WorldWind Java, v2.1.0, was compiled with Java 8. The decision was made to upgrade WWJ to Java 11 based on questionable support options for Java 8 at the time. This situation has evolved over time and we are evaluating whether a Java 8 version of WWJ is desirable. Your feedback is welcome.

Migrating to Java 11 and JOGL 2.4 went relatively smoothly. Primary areas of work:

- The package names for JOGL have changed although the API remains relatively consistent.
- Creating work alike code to replace the use of unpublished JRE APIs that now throw an access exception. For example, setting the java library path system property. Discussions around the types of changes that need to be made when moving from 8 to 11 are broadly available on the Web.
- Removing deprecated functionality like WebStart, Applets and WebView.

This release positions WorldWind Java to begin adding new functionality in the near future, please watch this repository for further updates.
92 changes: 60 additions & 32 deletions nbproject/build-impl.xml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions nbproject/genfiles.properties
@@ -1,8 +1,8 @@
build.xml.data.CRC32=6106e3d1
build.xml.data.CRC32=ed839dc9
build.xml.script.CRC32=b2ee8dee
build.xml.stylesheet.CRC32=f85dc8f2@1.95.0.48
build.xml.stylesheet.CRC32=f85dc8f2@1.102.0.48
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=6106e3d1
nbproject/build-impl.xml.script.CRC32=8e6690c6
nbproject/build-impl.xml.stylesheet.CRC32=d549e5cc@1.97.0.48
nbproject/build-impl.xml.data.CRC32=ed839dc9
nbproject/build-impl.xml.script.CRC32=2e7bce4f
nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.102.0.48
2 changes: 1 addition & 1 deletion nbproject/project.properties
Expand Up @@ -104,7 +104,7 @@ manifest.custom.permissions=
manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF
mkdist.disabled=false
platform.active=default_platform
platform.active=JDK_11
run.classpath=\
${javac.classpath}:\
${build.classes.dir}
Expand Down
1 change: 1 addition & 0 deletions nbproject/project.xml
Expand Up @@ -4,6 +4,7 @@
<configuration>
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>WorldWindJava</name>
<explicit-platform explicit-source-supported="true"/>
<source-roots>
<root id="src.dir"/>
</source-roots>
Expand Down
20 changes: 0 additions & 20 deletions release-build.xml
Expand Up @@ -381,24 +381,4 @@
</manifest>
</jar>
</target>

<!-- Helper tasks for compiling and linking the WebView native library for the current platform. Output libraries
are placed in the WorldWind project root folder and overwrite any existing files of the same name.
On Mac OS X this compiles the Objective-C sources under the folder 'lib-external/webview/macosx' into
'libwebview.jnilib', and requires that the XCode and Java development toolkits for Mac are installed.
On Windows this compiles the C and C++ sources under 'lib-external/webview/windows' into 'WebView32.dll' and
'WebView64.dll', and requires that the Microsoft Visual C++ build tools are avialable on the path. -->

<target name="help.assembleWebviewLibrary">
<exec os="Mac OS X" dir="${basedir}/lib-external/webview/macosx" executable="/bin/sh" failonerror="true">
<arg value="build.sh"/>
</exec>
<exec osfamily="Windows" dir="${basedir}/lib-external/webview/windows" executable="nmake" failonerror="true">
<arg value="clean"/>
<arg value="all"/>
</exec>
</target>

</project>
2 changes: 1 addition & 1 deletion src/gov/nasa/worldwind/Version.java
Expand Up @@ -35,7 +35,7 @@ public class Version {

private static final String MAJOR_VALUE = "2";
private static final String MINOR_VALUE = "2";
private static final String DOT_VALUE = "0";
private static final String DOT_VALUE = "1";
private static final String versionNumber = "v" + MAJOR_VALUE + "." + MINOR_VALUE + "." + DOT_VALUE;
private static final String versionName = "NASA WorldWind Java";

Expand Down

0 comments on commit 406bf78

Please sign in to comment.