[jira] Created: (MGWT-134) Enhancements to GWT Maven Archetype to support GWT 1.7+

View: New views
2 Messages — Rating Filter:   Alert me  

[jira] Created: (MGWT-134) Enhancements to GWT Maven Archetype to support GWT 1.7+

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Enhancements to GWT Maven Archetype to support GWT 1.7+
-------------------------------------------------------

                 Key: MGWT-134
                 URL: http://jira.codehaus.org/browse/MGWT-134
             Project: Maven 2.x GWT Plugin
          Issue Type: Bug
    Affects Versions: 1.1
            Reporter: Matt Raible


I assume similar changes will be needed for GWT 2.0. Here's the issues I found and documented at http://raibledesigns.com/rd/entry/running_hosted_mode_in_gwt:

After creating a new project by running the following from the command line:

mvn archetype:generate \
  -DarchetypeGroupId=org.codehaus.mojo \
  -DarchetypeArtifactId=gwt-maven-plugin \
  -DarchetypeVersion=1.1 \
  -DgroupId=com.yourcompany \
  -DartifactId=gwt-project -Dversion=1.0-SNAPSHOT -B

You need to modify the pom.xml as follows:

   1. Change the gwt-maven-plugin's version to 1.1.
   2. Change the ${gwtVersion} property to 1.7.0.
   3. Add <runTarget>Application.html</runTarget> to the <configuration> element of the plugin.
   4. Move Application.html and web.xml so they're under the "war" directory.
   5. Update Application.html to prepend the GWT module name in the <script> tag.


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MGWT-134) Enhancements to GWT Maven Archetype to support GWT 1.7+

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MGWT-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198916#action_198916 ]

nicolas de loof commented on MGWT-134:
--------------------------------------

Can you please chek the latest 1.2-SNAPSHOT ? Many of the suggested changes have been done, but I'm not sure what else is required to fix this issue

> Enhancements to GWT Maven Archetype to support GWT 1.7+
> -------------------------------------------------------
>
>                 Key: MGWT-134
>                 URL: http://jira.codehaus.org/browse/MGWT-134
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Matt Raible
>
> I assume similar changes will be needed for GWT 2.0. Here's the issues I found and documented at http://raibledesigns.com/rd/entry/running_hosted_mode_in_gwt:
> After creating a new project by running the following from the command line:
> mvn archetype:generate \
>   -DarchetypeGroupId=org.codehaus.mojo \
>   -DarchetypeArtifactId=gwt-maven-plugin \
>   -DarchetypeVersion=1.1 \
>   -DgroupId=com.yourcompany \
>   -DartifactId=gwt-project -Dversion=1.0-SNAPSHOT -B
> You need to modify the pom.xml as follows:
>    1. Change the gwt-maven-plugin's version to 1.1.
>    2. Change the ${gwtVersion} property to 1.7.0.
>    3. Add <runTarget>Application.html</runTarget> to the <configuration> element of the plugin.
>    4. Move Application.html and web.xml so they're under the "war" directory.
>    5. Update Application.html to prepend the GWT module name in the <script> tag.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email