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

Laird Nelson commented on MGWT-43:
----------------------------------

Nope.  The bug is definitely because my pom defines the resource directory to 
be the same as the source directory (to follow the Eclipse plugin).  So the 
mojo looks at both directories, which are the same, and sees what it thinks are 
two modules.

In the thread on the mailing list I point out that a change from gathering the 
modules into a List to gathering them into a Set is all that's needed.

> GWT compiler invoked twice
> --------------------------
>
>                 Key: MGWT-43
>                 URL: http://jira.codehaus.org/browse/MGWT-43
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Windows XP, Java 6.0.13
>            Reporter: Laird Nelson
>
> Running mvn package with the 1.1-SNAPSHOT version of the plugin causes the 
> GWT compiler to run twice.
> Inside my target directory, I see a compile.cmd file that looks like this:
> bq.
> {...@echo off}}
> bq.
> {{"E:\jdk6.0.13\jre\bin\java" -Xmx512m  -cp "E:\Documents and Settings\Laird 
> Nelson\.m2\repository\org\codehaus\mojo\gwt-maven-plugin\1.1-SNAPSHOT\gwt-maven-plugin-1.1-SNAPSHOT.jar";"E:\Documents
>  and Settings\Laird 
> Nelson\.m2\repository\com\google\gwt\gwt-dev\1.6.4\gwt-dev-1.6.4-windows.jar" 
> org.codehaus.mojo.gwt.fork.ForkBooter  
> "e:\projects\cx\modules\gwttest\target\gwt.classpath" 
> com.google.gwt.dev.Compiler -gen 
> "e:\projects\cx\modules\gwttest\target\.generated" -logLevel INFO -style OBF 
> -war "e:\projects\cx\modules\gwttest\war" -localWorkers 2 foobar.cx.GWTTest}}
> {{"E:\jdk6.0.13\jre\bin\java" -Xmx512m  -cp "E:\Documents and Settings\Laird 
> Nelson\.m2\repository\org\codehaus\mojo\gwt-maven-plugin\1.1-SNAPSHOT\gwt-maven-plugin-1.1-SNAPSHOT.jar";"E:\Documents
>  and Settings\Laird 
> Nelson\.m2\repository\com\google\gwt\gwt-dev\1.6.4\gwt-dev-1.6.4-windows.jar" 
> org.codehaus.mojo.gwt.fork.ForkBooter  
> "e:\projects\cx\modules\gwttest\target\gwt.classpath" 
> com.google.gwt.dev.Compiler -gen 
> "e:\projects\cx\modules\gwttest\target\.generated" -logLevel INFO -style OBF 
> -war "e:\projects\cx\modules\gwttest\war" -localWorkers 2 foobar.cx.GWTTest}}

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