[ 
http://jira.codehaus.org/browse/MGWT-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

nicolas de loof closed MGWT-260.
--------------------------------

    Resolution: Won't Fix

The only way for the GWT configuration in Eclipse to match the POM parameters 
is to have a dedicated m2eclipse projectConfigurator. There was discution with 
google guys to support this in Google Eclipse Plugin, but nothing available yet.

The GWT-maven archetype includes a hard-coded Eclipse .settings file to ensure 
the Google Eclipse Plugin gets well configured, but this cannot be dynamically 
updated on m2eclipse project import.

Please post this feature request on Google Eclipse Plugin for better maven 
support

> cannot set a custom WAR directory
> ---------------------------------
>
>                 Key: MGWT-260
>                 URL: http://jira.codehaus.org/browse/MGWT-260
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1.0-1
>         Environment: eclipse 3.6, maven 2, m2eclipse
>            Reporter: Marius A
>
> When importing in Eclipse an existing (gwt) maven project, the 
> default 
> Project properties -> Google -> Web Application is always "src/main/ 
> webapp". 
> This setting is stored in Eclipse in main/.settings/ 
> com.google.gdt.eclipse.core.prefs 
> I have tried to set it using these in pom.xml, with no effect: 
>                         <plugin> 
>                                 <groupId>org.apache.maven.plugins</ 
> groupId> 
>                                 <artifactId>maven-war-plugin</ 
> artifactId> 
>                                 <version>${maven.war.plugin.version}</ 
> version> 
>                                 <configuration> 
>                                         <webappDirectory>$ 
> {project.build.directory}/$ 
> {project.build.finalName}</webappDirectory> 
>                                         <warSourceDirectory>$ 
> {project.build.directory}/$ 
> {project.build.finalName}</warSourceDirectory> 
>                                         <webXml>src/main/resources/WEB- 
> INF/web.xml</webXml> 
>                                 </configuration> 
>                         </plugin> 
>                         <plugin> 
>                                 <groupId>org.codehaus.mojo</groupId> 
>                                 <artifactId>gwt-maven-plugin</ 
> artifactId> 
>                                 <configuration> 
> ...                                     <hostedWebapp>$ 
> {project.build.directory}/$ 
> {project.build.finalName}</hostedWebapp> 
>                                         <webappDirectory>$ 
> {project.build.directory}/$ 
> {project.build.finalName}</webappDirectory> 
>                         </plugin> 
> How can this Eclipse setting be forced to ${project.build.directory}/ 
> $ 
> {project.build.finalName} by default? 
> Docs i've looked at: 
> http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html 
> http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html 
> jira.codehaus.org/browse/MGWT-179 
> Also posted here, no reply: 
> http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users/browse_thread/thread/68db6957421a9a05

-- 
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


Reply via email to