Hi Kostis,
well I think this has to do with the fact that GWTShell gets executed
by Runtime.getRuntime().exec(...).
I tried two times to run the GWTShell directly within maven, but ran
into classloader issues. so currently the RunHandler.java is used in
GWTRunMojo, which starts a new java VM. the RunHandlerImpl.java was
the attempt to run the GWTShell directly and would be the prefered way
to execute the GWTShell.
so if you want to play around, the RunHandler.java and
RunHandlerImpl.java have the same method signatures and you find
commented code in the GWTRunMojo. of course any hints are welcome and
I also have a look at it the next days.
with greetings
Kristian
On 5/4/07, Kostis Anagnostopoulos <[EMAIL PROTECTED]> wrote:
Hi Kristian,
On 5/1/07, kristian <[EMAIL PROTECTED]> wrote:
> hi Kostis,
>
> with the debug in gwt:run I am not sure where the problem lies:
>
> GWT_HOME=/home/kristian/install/gwt-linux-1.2.22 mvn
> de.saumya.mojo:gwt-maven-plugin:run -X
>
> starts the gwtshell in debug mode and all the output can be viewed in
> the console window of the gwtshell.
The shell starts OK by using the 'run' mojo.
BUT i cannot "remotely" debug the GWT app!
In particular, lets say that i do the following:
export MAVEN_OPTS='-Xdebug
-Xrunjdwp:transport=dt_socket,address=8003,server=y,suspend=n' &&
mvn gwt:run
and the shell opens up correctly while the VM accepts remote debugging requests.
Then, when i try to "remotely" debug the VM using i.e. eclipse
i see only 2 maven's threads:
1) [maven]
2) [process reaper]
but not any GWTShells threads.
Have you got any clue about it?
Regards,
Kostis
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
--
Kristian Meier & Saumya Sharma-Meier
Sahyadri School (Krishnamurti Foundation India),
Tiwai Hill,
Rajgurunagar, Pune-410513
Maharashtra, INDIA
tel: +91 (2135) 321313
pgp: http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x61DB690F
my home:
http://maps.google.com/maps?hl=en&ie=UTF8&z=18&ll=18.984342,73.772416&spn=0.00209,0.004731&t=k&om=1&mid=1156683744
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email