GwtStudio and Linux

Hi,
I was trying the last EAP build (5368) and now GWT plugin recognizes the toolkit under linux but there's another bug, when trying to run/debug a GWT configuration appears an error message which says "......../java.exe not found".
I could fix this by modifying com.intellij.gwt.make.GwtCompiler line 169, changing the original by:
command.add(projectJdk.getBinPath() + File.separator + (SystemInfo.isWindows ? "java.exe" : "java"));
Unfortunately this plugins uses some features which are not part of the open API so it is a little tricky to compile.

best regards.
Alejandro Gomez

6 comments
Comment actions Permalink

Hello Alejandro,

Fixed, thank you.

BTW it's better to use projectJdk.getVMExecutablePath() instead of projectJdk.getBinPath()
+ File.separator + SystemInfo.isWindows ? "java.exe" : "java").

Hi,

I was trying the last EAP build (5368) and now GWT plugin recognizes
the toolkit under linux but there's another bug, when trying to
run/debug a GWT configuration appears an error message which says
"......../java.exe not found".

I could fix this by modifying com.intellij.gwt.make.GwtCompiler line
169, changing the original by:

command.add(projectJdk.getBinPath() + File.separator +
(SystemInfo.isWindows ? "java.exe" : "java"));

Unfortunately this plugins uses some features which are not part of
the open API so it is a little tricky to compile.

best regards.
Alejandro Gomez



0
Comment actions Permalink

How do I get this update to to the GWT plugin?

0
Comment actions Permalink

Hello Sashidhar,

How do I get this update to to the GWT plugin?


GWT Studio is bundled with IDEA so you will get this update with next Demetra
EAP.


0
Comment actions Permalink

Hello Sashidhar,

How do I get this update to to the GWT plugin?


GWT Studio is bundled with IDEA so you will get this
update with next Demetra
EAP.



Thanks. I was hoping there was some way of updating the plugin from the IDE. Doh!

0
Comment actions Permalink

Hi Sashidhar,
I'm attaching the jar with the modification I mentioned earlier.
Just put it in $DEMETRA_HOME/plugins/GwtStudio/lib/
Best regards,
Alejandro Gomez



Attachment(s):
GwtStudio.jar
0
Comment actions Permalink

Thanks. That works.

0

Please sign in to leave a comment.