grprakash / cypal-studio

Automatically exported from code.google.com/p/cypal-studio
0 stars 0 forks source link

VM Options settings not used under OS X #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It seems that the VM Options of the launch configuration are not taken into
account under OS X.
For exemple when setting com.sun.management.jmxremote to use JConsole,
JConsole can not find the project which lead me to think that the VM
Options are ignored.

What version of the product are you using? On what operating system?
I'm using the RC3 version under OS 10.4.10 on an Intel architecture

Please provide any additional information below.

I'm not an expert in Eclipse plugin development, but it seems that in the
in.cypal.studio.gwt.core.launch.Helper class in the getVMArguments method,
you're doing:

if (Platform.OS_MACOSX.equals(Platform.getOS()))
 args = " -XstartOnFirstThread ";

Which is overwriting the args variable you've previously retrieved.
For me, the correct version would be:

if (Platform.OS_MACOSX.equals(Platform.getOS()))
 args += " -XstartOnFirstThread ";

which would append to args instead of replacing the value.

Original issue reported on code.google.com by odesa...@gmail.com on 23 Oct 2007 at 1:24

GoogleCodeExporter commented 9 years ago
This got fixed two days back and is available in todays release :-)

Original comment by grprakash on 23 Oct 2007 at 6:37