File: //usr/openv/java/migrate_Preferences.sh
# Set umask to 022 to make sure files and directories
# are not created with world writable permissions.
umask 022
# Migrate existing preferences from the common location to version specific location in the file system.
. /usr/openv/java/.nbjConf
CLASSPATH=$PJAR:.:$INSTALL_PATH:$COMMONJAR:$DBEXTJAR:$JBPJAR:$CHART_JAR:$NBJAR:$PV_JAR:$KL_JAR:$JDOM_JAR:$HELPVIEWER_JAR:$SCHED_JAR:$CORBA_JAR:$EMM_JAR:$JACORB_JAR:$JACORB_PBX_JAR:$JACORB_LOG_JAR:$JACORB_AV_JAR:$JACORB_CON_JAR:$JACORB_ANT_JAR:$VXSSIOP_JAR:$VXSSAT_LIBRARY_PATH/$ATWRAPPER_JAR:$VXREP_JAR:$MCHARTS_JAR:$CRIMSON_JAR; export CLASSPATH
$JAVA_PATH vrts.common.launch.NBGUIPreferencesProvider -store
$JAVA_PATH -Djava.util.prefs.PreferencesFactory=vrts.common.launch.PropertiesPreferencesFactory vrts.common.launch.NBGUIPreferencesProvider -load