[jbosstools-issues] [JBoss JIRA] (JBIDE-11224) Ensure GWT tooling and m2e-wtp are configured for same output directory

Fred Bricon (JIRA) jira-events at lists.jboss.org
Wed May 16 17:38:18 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-11224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693493#comment-12693493 ] 

Fred Bricon commented on JBIDE-11224:
-------------------------------------

Denis or Daniel, can you please add something about the GWT configurator in maven-news-3.3.0.Beta3.html?
                
> Ensure GWT tooling and m2e-wtp are configured for same output directory
> -----------------------------------------------------------------------
>
>                 Key: JBIDE-11224
>                 URL: https://issues.jboss.org/browse/JBIDE-11224
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: GWT, maven
>            Reporter: Jonathan Fuerth
>            Assignee: Denis Golovin
>             Fix For: 3.3.0.Beta3
>
>
> The output location for the GWT compiler differs when it is run through Maven vs. when it is run through the Google Eclipse plugin. What we want is for the Google Eclipse Plugin to target the same webapp directory as m2e-wtp and maven-gwt-plugin do.
> Specific example of the issue:
> 1. Create a project from the Errai Kitchen Sink quickstart (you can create it with mvn archetype:generate -DarchetypeGroupId=org.jboss.errai.archetypes -DarchetypeArtifactId=kitchensink-quickstart -Dversion=2.0.Beta1) 
> 2. From within Eclipse, run maven package on the project. Notice the GWT compiler writes its output to src/main/webapp/KitchenSink/**. This is good, because WTP is configured to use src/main/webapp.
> 3. At this point, you can run as web application on AS 7.1, and it will work. But this is GWT production mode, so changes made to client side code will not show up until the GWT compiler gets run again.
> 4. Try to launch Dev Mode (Run As -> Web Application Running on an External Server). Note the error message (the directory the GWT tooling was looking for doesn't exist)  **This demonstrates the configuration problem this issue describes. GWT Dev Mode within Eclipse should be looking for the webapp in the same place as gwt-maven-plugin (and WTP)**
> 5. Run the GWT compiler from within eclipse (Google -> GWT Compile Project) **This is a workaround. It should produce the same javascript output as gwt-maven-plugin did**
> 6. Now launch Dev Mode again (Run As -> Web Application Running on an External Server). It works this time, because of the second copy of the javascript output.
> Note: there's a video of this entire process, including the workarounds, at http://www.youtube.com/watch?v=KaLjOjBPVp0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list