Author: scooter
Date: 2012-12-17 17:01:59 -0800 (Mon, 17 Dec 2012)
New Revision: 31014
Modified:
csplugins/trunk/ucsf/scooter/chemViz/src/chemViz/ChemViz.java
Log:
Add workaround for MacOS system properties problem
Modified: csplugins/trunk/ucsf/scooter/chemViz/src/chemViz/ChemViz.java
===================================================================
--- csplugins/trunk/ucsf/scooter/chemViz/src/chemViz/ChemViz.java
2012-12-18 00:01:16 UTC (rev 31013)
+++ csplugins/trunk/ucsf/scooter/chemViz/src/chemViz/ChemViz.java
2012-12-18 01:01:59 UTC (rev 31014)
@@ -109,6 +109,11 @@
// Finally, register our commands
new ChemVizCommandHandler(settingsDialog);
+
+ // This is a workaround for the System properties getting
messed up on the Mac
+ for (String key: System.getProperties().stringPropertyNames()) {
+ System.setProperty(key, System.getProperty(key));
+ }
}
/**
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.