diff --git a/cave/com.raytheon.uf.viz.product.alertviz/build.properties b/cave/com.raytheon.uf.viz.product.alertviz/build.properties index 0dc34f7833..b476c1fb37 100644 --- a/cave/com.raytheon.uf.viz.product.alertviz/build.properties +++ b/cave/com.raytheon.uf.viz.product.alertviz/build.properties @@ -2,5 +2,4 @@ source.. = src/ output.. = bin/ bin.includes = META-INF/,\ .,\ - plugin.xml,\ - plugin.properties + plugin.xml \ No newline at end of file diff --git a/cave/com.raytheon.uf.viz.product.alertviz/plugin.properties b/cave/com.raytheon.uf.viz.product.alertviz/plugin.properties deleted file mode 100644 index 7c11021eec..0000000000 --- a/cave/com.raytheon.uf.viz.product.alertviz/plugin.properties +++ /dev/null @@ -1 +0,0 @@ -caveVersion=DEVELOPMENT \ No newline at end of file diff --git a/cave/com.raytheon.uf.viz.product.alertviz/plugin.xml b/cave/com.raytheon.uf.viz.product.alertviz/plugin.xml index 9184b6109b..0bd98c732f 100644 --- a/cave/com.raytheon.uf.viz.product.alertviz/plugin.xml +++ b/cave/com.raytheon.uf.viz.product.alertviz/plugin.xml @@ -36,7 +36,7 @@ + value="platform:/plugin/com.raytheon.viz.product.awips/icons/awips.png"> + value="%vizVersion"/> diff --git a/cave/com.raytheon.viz.product.awips/META-INF/MANIFEST.MF b/cave/com.raytheon.viz.product.awips/META-INF/MANIFEST.MF index dbdf7f1fdb..3705cb6dd5 100644 --- a/cave/com.raytheon.viz.product.awips/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.viz.product.awips/META-INF/MANIFEST.MF @@ -9,5 +9,5 @@ Export-Package: com.raytheon.viz.product.awips;uses:="org.eclipse.jface.resource Require-Bundle: org.eclipse.core.runtime, org.eclipse.ui Bundle-ActivationPolicy: lazy -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Bundle-Localization: plugin diff --git a/cave/com.raytheon.viz.product.awips/developer.product b/cave/com.raytheon.viz.product.awips/developer.product index 70a00b7904..86bfec5f64 100644 --- a/cave/com.raytheon.viz.product.awips/developer.product +++ b/cave/com.raytheon.viz.product.awips/developer.product @@ -37,7 +37,8 @@ -XX:G1MixedGCLiveThresholdPercent=25 -XX:G1OldCSetRegionThresholdPercent=25 -XX:G1HeapWastePercent=5 --DvizVersion=DEVELOPMENT +-DvizVersion=17.1.1-3 +-DbuildSystem=macOS/Eclipse -Dfile.encoding=UTF-8 diff --git a/cave/com.raytheon.viz.product.awips/icons/awips.png b/cave/com.raytheon.viz.product.awips/icons/awips.png new file mode 100644 index 0000000000..bf4271b33e Binary files /dev/null and b/cave/com.raytheon.viz.product.awips/icons/awips.png differ diff --git a/cave/com.raytheon.viz.product.awips/icons/awipsLogo.png b/cave/com.raytheon.viz.product.awips/icons/awipsLogo.png deleted file mode 100644 index 189dd36e9c..0000000000 Binary files a/cave/com.raytheon.viz.product.awips/icons/awipsLogo.png and /dev/null differ diff --git a/cave/com.raytheon.viz.product.awips/icons/ipr.gif b/cave/com.raytheon.viz.product.awips/icons/ipr.gif deleted file mode 100644 index bf385e5e98..0000000000 Binary files a/cave/com.raytheon.viz.product.awips/icons/ipr.gif and /dev/null differ diff --git a/cave/com.raytheon.viz.product.awips/icons/sample.gif b/cave/com.raytheon.viz.product.awips/icons/sample.gif deleted file mode 100644 index 34fb3c9d8c..0000000000 Binary files a/cave/com.raytheon.viz.product.awips/icons/sample.gif and /dev/null differ diff --git a/cave/com.raytheon.viz.product.awips/plugin.properties b/cave/com.raytheon.viz.product.awips/plugin.properties index 8c076d90f4..facc9bae30 100644 --- a/cave/com.raytheon.viz.product.awips/plugin.properties +++ b/cave/com.raytheon.viz.product.awips/plugin.properties @@ -1,8 +1,8 @@ -caveAboutText=Common AWIPS Visualization Environment (CAVE)\n\ -\n\ -Developed on the Raytheon Visualization Environment (viz)\n\ -\tBUILD VERSION: {0}\n\ -\tBUILD DATE: {1}\n\ -\tBUILD TIME: {2}\n\ -\tBUILD SYSTEM: {3} -caveVersion=DEVELOPMENT \ No newline at end of file +caveAboutText=Common AWIPS Visualization Environment (CAVE), developed \ +on the Raytheon viz environment, released as non-operational \ +software by UCAR's Unidata Program Center\n\ +http://www.unidata.ucar.edu/software/awips \ +\n\n\ +\tVersion: {0}\n\ +\tBuild system: {3} +caveVersion={0} \ No newline at end of file diff --git a/cave/com.raytheon.viz.product.awips/plugin.xml b/cave/com.raytheon.viz.product.awips/plugin.xml index 48ca8ad15e..0acedd7c36 100644 --- a/cave/com.raytheon.viz.product.awips/plugin.xml +++ b/cave/com.raytheon.viz.product.awips/plugin.xml @@ -33,10 +33,10 @@ value="%caveAboutText"/> + value="%vizVersion"/> + value="icons/awips.png"/> diff --git a/cave/com.raytheon.viz.product.awips/plugin_customization.ini b/cave/com.raytheon.viz.product.awips/plugin_customization.ini index 7ebc555198..676ffff981 100644 --- a/cave/com.raytheon.viz.product.awips/plugin_customization.ini +++ b/cave/com.raytheon.viz.product.awips/plugin_customization.ini @@ -4,4 +4,4 @@ org.eclipse.ui/KEY_CONFIGURATION_ID=com.raytheon.viz.ui.cave.scheme org.eclipse.ui.editors/lineNumberRuler=true org.eclipse.core.resources/snapshots.operations=2147483647 org.eclipse.core.resources/description.snapshotinterval=2147483647 -org.eclipse.ui/SHOW_MEMORY_MONITOR = true \ No newline at end of file +org.eclipse.ui/SHOW_MEMORY_MONITOR = false \ No newline at end of file diff --git a/rpms/awips2.cave/Installer.cave/component.spec b/rpms/awips2.cave/Installer.cave/component.spec index 5521043228..8671e51e81 100644 --- a/rpms/awips2.cave/Installer.cave/component.spec +++ b/rpms/awips2.cave/Installer.cave/component.spec @@ -183,35 +183,20 @@ rm -rf /awips2/cave/configuration/org.eclipse.osgi popd > /dev/null 2>&1 -# determine if an installation of awips2-common-base is already present -# (edex has been installed before CAVE on an ADAM machine) -#if [ -f /awips2/.cave/installCAVECommon.sh ]; then -# # copy common-base files to cave -# cp -r /awips2/.cave/.repository /awips2/cave/ -# cp /awips2/.cave/installCAVECommon.sh /awips2/cave -# -# # install the common-base feature -# /bin/bash /awips2/cave/installCAVECommon.sh -# rm -f /awips2/cave/installCAVECommon.sh -# -# # cleanup -# rm -rf /awips2/.cave -#fi +function updateCaveVersion() { + # Note: the system properties echoed to the versions script are based on + # about.mappings in the com.raytheon.viz.product.awips plugin. + AWIPS_VERSION_TXT=/awips2/cave/awipsVersion.txt -#function updateCaveVersion() { -# # Note: the system properties echoed to the versions script are based on -# # about.mappings in the com.raytheon.viz.product.awips plugin. -# AWIPS_VERSION_TXT=/awips2/cave/awipsVersion.txt -# -# echo "-DvizVersion=%{_component_version}-%{_component_release}" > ${AWIPS_VERSION_TXT} -# echo "-DbuildDate=%{_component_build_date}" >> ${AWIPS_VERSION_TXT} -# echo "-DbuildTime=%{_component_build_time}" >> ${AWIPS_VERSION_TXT} -# echo "-DbuildSystem=%{_component_build_system}" >> ${AWIPS_VERSION_TXT} -#} -# -#if [ -d /awips2/cave ]; then -# updateCaveVersion -#fi + echo "-DvizVersion=%{_component_version}-%{_component_release}" > ${AWIPS_VERSION_TXT} + echo "-DbuildDate=%{_component_build_date}" >> ${AWIPS_VERSION_TXT} + echo "-DbuildTime=%{_component_build_time}" >> ${AWIPS_VERSION_TXT} + echo "-DbuildSystem=%{_component_build_system}" >> ${AWIPS_VERSION_TXT} +} + +if [ -d /awips2/cave ]; then + updateCaveVersion +fi chown -R awips:fxalpha /awips2/cave diff --git a/rpms/awips2.core/Installer.version/component.spec b/rpms/awips2.core/Installer.version/component.spec index ddfe946cc7..36c16faf44 100644 --- a/rpms/awips2.core/Installer.version/component.spec +++ b/rpms/awips2.core/Installer.version/component.spec @@ -105,20 +105,6 @@ function updateEDEXVersion() >> ${EDEX_BANNER_TXT} } -function updateAlertVizVersion() { - # Note: alertviz does not include any of the branding information that CAVE does. - # So, we will only be utilizing the version override. - AWIPS_VERSION_TXT=/awips2/alertviz/awipsVersion.txt - - echo "--launcher.appendVmargs" > ${AWIPS_VERSION_TXT} - echo "-vmargs" >> ${AWIPS_VERSION_TXT} - echo "-DvizVersion=%{_component_version}-%{_component_release}" >> ${AWIPS_VERSION_TXT} -} - -if [ -d /awips2/alertviz ]; then - updateAlertVizVersion -fi - EDEX_BANNER_TXT="/awips2/edex/conf/banner.txt" # does banner.txt exist? if [ -f ${EDEX_BANNER_TXT} ]; then