gwt:i18n doesn't add generated source directory to compileSourceRoots during 
compile phase
------------------------------------------------------------------------------------------

                 Key: MGWT-109
                 URL: http://jira.codehaus.org/browse/MGWT-109
             Project: Maven 2.x GWT Plugin
          Issue Type: Bug
    Affects Versions: 1.1
            Reporter: Justin Ryan
         Attachments: i18n-sourceroot.patch

Problem: My project won't compile, the compilier:compile goal doesn't see the 
generated i18n interfaces.

With maven -X running, I can see that compileSourceRoots is just my 
src/main/java directory and the target/generated-sources/gwt is not there. The 
docs for gwt:i18n claim that its adds the source to the compileSourceRoots, but 
I'm not seeing that.  I'm guessing that most people use async/servlet stuff, 
and I'm not. The generateAsync mojo clearly adds the generated directory, but 
without generateAsync, nobody sets it up for i18n. :-(

The fix seems pretty straight forward, I'm attaching a patch. It's pretty much 
copied from GenerateAsyncMojo.java.

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