NOAA-PMEL / OAPDashboard

The Upload Dashbord for the Ocean Acidifiation Project
The Unlicense
0 stars 2 forks source link

OAPDashboard

The Upload Dashboard for the Ocean Acidification Project.

This project is derived from the Upload Dashboard of the Surface Ocean Carbon Atlas (SOCAT) Project. The link to the SOCAT Upload Dashboard is maintained so as to easily incorporate updates from that project. However, this dashboard will diverge from the SOCAT dashboard as this project incorporates profile data, trajectory-profile data, more data types, and different requirements on uploaded data.

Legal Disclaimer

This repository is a software product and is not official communication of the National Oceanic and Atmospheric Administration (NOAA), or the United States Department of Commerce (DOC). All NOAA GitHub project code is provided on an 'as is' basis and the user assumes responsibility for its use. Any claims against the DOC or DOC bureaus stemming from the use of this GitHub project will be governed by all applicable Federal law. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation, or favoring by the DOC. The DOC seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to imply endorsement of any commercial product or activity by the DOC or the United States Government.

Running document with questions: https://docs.google.com/document/d/1yLCgp28rCm7ISRa7cYJ5YPoNz6Sm3MtSl2617vqPug0/edit

Building the war file

Add missing jar files

This project is an Eclipse IDE project, uses the GWT plugin for Eclipse, and building the war file is done through Eclipse. (Maybe one day there will be a script.) After import the projects (one for OAPOmeMetadata, the other OAPUploadDashboard), a jar file is created from the uk.ac.uea.socat.omemetadata package using the Eclipse File -> Export -> Java -> JAR file option. This jar file is saved as war/WEB-INF/lib/omemetadata.jar under the OAPUploadDashboard project. The gwt-servlet.jar file from the GWT plugin (for GWT 2.7.0, it is under the plugins/com.google.gwt.eclipse.sdkbundle_2.7.0/gwt-2.7.0/ subdirectory of the Eclipse installation) is copied to the war/WEB-INF/lib/ subdirectory of the OAPUploadDashboard project. This should resolve the missing resources or libraries issues in Eclipse.

Creating the war file

Use the GWT menu item in Eclipse to GWT Compile the OAPUploadDashboard project. The war file is then created by using the Eclipse File -> Export -> Archive File option with everything under the war subdirectory (but not the war directory itself) of the OAPUploadDashboard project, saving it in zip format, compressing the contents of the file, and creating only selected directories.

Configuration for using the UploadDashboard