[ 
http://jira.codehaus.org/browse/MXMLBEANS-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=193816#action_193816
 ] 

Julien HENRY commented on MXMLBEANS-54:
---------------------------------------

I'm not using mvn eclipse:eclipse anymore, but I use m2eclipse. The generated 
sources are not added but the generated classes are added so for me it is 
nearly working, except for the bug reported here: MNGECLIPSE-1694




> Plugin should add compile source for generated sources even if everything is 
> up to date
> ---------------------------------------------------------------------------------------
>
>                 Key: MXMLBEANS-54
>                 URL: http://jira.codehaus.org/browse/MXMLBEANS-54
>             Project: Maven 2.x Xmlbeans Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3.2
>         Environment: Apache Maven 2.1.0 (r755702; 2009-03-18 20:10:27+0100)
> Java version: 1.6.0_12
> Java home: C:\Program Files\Java\jdk1.6.0_12\jre
> Default locale: fr_FR, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Julien HENRY
>            Assignee: David Jencks
>             Fix For: 2.3.3
>
>         Attachments: test-eclipse-xmlbeans.zip
>
>
> On a project using xmlbeans, I would like to generate eclipse configuration 
> files. On the test project, execute the following steps:
> 1) mvn clean install
> 2) mvn eclipse:eclipse
> As a result Eclipse will not be aware of the generated-source folder because
> {code}
> project.addCompileSourceRoot( compilerParams.getSrcDir().getAbsolutePath() );
> {code}
> is not called when generated sources are already generated.
> I'm not sure it is the correct solution but perhaps could you call 
> updateProject even when output is not stale (in AbstractXmlBeansPlugin)?

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