User Tools
Table of Contents
Intellij IDEA + GWT Dev Mode
Following steps describe how to make the GWT Dev Mode work in order to be able to do debugging of the GWT code. It assumes you have the project (e.g SnmpManager) working and running locally in IDEA (the how-to is here).
Getting FireFox 24
FireFox 24 is needed as it is the last version supporting it's GWT plugin. You can download it e.g. from here.
Configuring GWT Hosted mode
Running and Debugging
You need to run the application in debug mode in IDEA and then also run the new GWT hosted mode configuration in debug mode. The firefox window should be open in a while and it will ask you to download the GWT plugin (in case it is not already installed). After installing the plugin and refreshing the window, you should be able to see the application. The URL will look something like this:
http://localhost:8082/SnmpManager/errigalEMS?gwt.codesvr=127.0.0.1:9997 (the last part actually points the browser and plugin to a code server running locally as part of running the GWT Hosted Mode in IDEA).
All the breakpoints placed in the GWT code should now correctly work when navigating the app in FireFox. When changing any GWT code you need to recompile the GWT and refresh the app in FireFox. Following Grails goal can be used in order to recompile e.g. just EMS GWT code in order to reduce the GWT compile time:
compile-gwt-modules com.errigal.ems.ErrigalEMS
Noc Portal Setup
ENSURE YOUR FACETS HAVE GWT CONFIGURED TO CORRECT DIRECTORY. THIS DOES NOT HAPPEN AUTOMATICALLY
Reporting Manager Setup
- Ensure your Facets have GWT configured to correct directory
- Ensure modules (APP and GrailsPlugins) have GWT configured
- Add if not present
- Create Artifact if option is available
Ticketer Setup
- Ensure your Facets have GWT configured to correct directory
- Ensure modules (APP and GrailsPlugins) have GWT configured
- Add if not present
- Create Artifact if option is available
SnmpManager Setup
ENSURE YOU DO NOT HAVE BUILD IN THE 'Before Launch : Active Tool Window' section - this should be empty
Troubleshooting
You might experience some problems in case the FireFox executable path contains spaces.



