Author: slotia
Date: 2011-12-05 12:42:17 -0800 (Mon, 05 Dec 2011)
New Revision: 27693

Modified:
   core3/gui-distribution/trunk/assembly/src/main/bin/cytoscape.sh
Log:
Modified cytoscape.sh so that the -Xdock option is passed to the JVM only if 
running on a Mac


Modified: core3/gui-distribution/trunk/assembly/src/main/bin/cytoscape.sh
===================================================================
--- core3/gui-distribution/trunk/assembly/src/main/bin/cytoscape.sh     
2011-12-05 20:38:30 UTC (rev 27692)
+++ core3/gui-distribution/trunk/assembly/src/main/bin/cytoscape.sh     
2011-12-05 20:42:17 UTC (rev 27693)
@@ -7,6 +7,9 @@
 export JAVA_MAX_MEM=1550M
 
 export JAVA_DEBUG_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=${DEBUG_PORT}"
-export KARAF_OPTS="-Xss10M -splash:CytoscapeSplashScreen.png 
-Xdock:icon=cytoscape_logo_512.png"
+if [ `uname` = "Darwin" ]; then
+       CYTOSCAPE_MAC_OPTS="-Xdock:icon=cytoscape_logo_512.png"
+fi
+export KARAF_OPTS="-Xss10M -splash:CytoscapeSplashScreen.png 
$CYTOSCAPE_MAC_OPTS"
 
 framework/bin/karaf "$@"

-- 
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.

Reply via email to