[ http://jira.codehaus.org/browse/MOJO-270?page=all ]
Corridor Software Developer closed MOJO-270:
--------------------------------------------
Resolution: Fixed
Fix Version: 2.0.1
fixed. Used a variation of the patch, but the same general idea. Took the
opportunity to separate two alternate endings of the use - sources are up to
date versus no xsd's to parse.
> Xmlbeans not adding generated source to class path when source is up-to-date
> ----------------------------------------------------------------------------
>
> Key: MOJO-270
> URL: http://jira.codehaus.org/browse/MOJO-270
> Project: Mojo
> Type: Bug
> Components: xmlbeans
> Versions: 2.1
> Reporter: Terence Haddock
> Assignee: Corridor Software Developer
> Fix For: 2.0.1
> Attachments: xmlbeans.patch
>
>
> When I use the mojo xmlbeans-maven-plugin in my project, and generate an
> Eclipse project, if the sources are not up-to-date, the directory for the
> generated Java files are added to the Eclipse project correctly. If the
> sources are up-to-date, the directory for the generated Java files are not
> added to the Eclipse project. I determined that in
> AbstractXmlBeansPlugin.java the updateProject() call occurs only if the
> sources are generated. The attached patch calls updateProject whether or not
> the sources are generated.
--
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