How to debug a GWT application running on OSGi?
Posted
by Jaime Soriano
on Stack Overflow
See other posts from Stack Overflow
or by Jaime Soriano
Published on 2010-06-17T10:09:16Z
Indexed on
2010/06/17
10:13 UTC
Read the original article
Hit count: 338
I'm developing a web UI using GWT. While working only with the widgets I could debug from Eclipse using the Firefox extension, but now that I'm integrating the UI with other OSGi bundles I cannot use this solution.
For deploying the GWT application I create the .war and convert it to an OSGi bundle using BND. Then I launch the OSGi container with all the bundles using Pax Runner and Pax Web and the application works correctly, but when something fails in the generated javascript code I don't have any decent output error or debugging facility.
Is there any way to launch the GWT application in "debug mode" from OSGi?
Any other idea that could help in this scenario?
© Stack Overflow or respective owner