Skip to content

Conversation

@wcmatthysen
Copy link
Member

@wcmatthysen wcmatthysen commented Apr 12, 2019

Description of the Change

Removed the embedded Jackson sources. Instead, an external jackson-core-asl.jar file was added that provides the Jackson parsing functionality.

Why Should This Be In Core?

We should not embed external library sources in WorldWind. External libraries should be included as jar file dependencies. If we decide to switch over to a Maven or Gradle based way of building the project it will be easier to just include Jackson as an external dependency.

Benefits

Less pollution of the code-base with external sources. Easier migration to a newer version of Jackson in the future.

Potential Drawbacks

Users that relied on the embedded version of Jackson transitively (i.e. they received and used Jackson classes via WorldWind as a dependency) will now need to include the jackson-core-asl.jar file on their classpath or potentially encounter class-not-found errors.

Applicable Issues

See issue: #22

Removed the embedded Jackson sources. Instead, we now rely on the
jackson-core-asl.jar file (version 1.9.13) as an external dependency.
Various changes were made to the ant-scripts to include the new library
on the class-path. The NetBeans and IntelliJ configurations were also
changed to reference the new dependency. The Jackson license file was
also added.
@wcmatthysen wcmatthysen requested a review from emxsys April 12, 2019 20:46
@wcmatthysen wcmatthysen added the task Not a bug label Apr 12, 2019
@wcmatthysen wcmatthysen added this to the WWJ-CE 2.2.0 milestone Apr 12, 2019
@wcmatthysen wcmatthysen self-assigned this Apr 12, 2019
@PJHogan
Copy link
Member

PJHogan commented Apr 12, 2019

Apologies for not being able to contribute, but seeing this project being so lovingly crafted towards a more powerful and welcome place is very exciting! And I know of some government folks who are quite interested in the progress being made here.

@wcmatthysen
Copy link
Member Author

Hi @PJHogan. No problem. It is great to hear that there is some external interest. Any additional interest is always welcome as we need to get a lot more people involved here if we want this project to take off.

Copy link
Member

@emxsys emxsys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wcmatthysen Looks good. I tested this branch with the gov.nasa.worldwindx.examples.FlatWorldEarthquakes example application which uses a USGS GeoJSON feed for input. I did not detect any problems.

@emxsys emxsys merged commit 8728eb3 into develop Apr 13, 2019
@emxsys emxsys mentioned this pull request Apr 13, 2019
@wcmatthysen wcmatthysen deleted the remove-jackson-sources branch April 13, 2019 23:59
emxsys added a commit to emxsys/WorldWindJava that referenced this pull request Apr 14, 2019
- Migrated settings to IntelliJ IDEA Community Edition 2019.1
- Renamed IDE project to WorldWindJava-CE to differentiate between forks.
- Added jackson.jar to dependencies (Re: PR WorldWindEarth#23)
- Excluding NetBeans project folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

task Not a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants