You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jerry Shea (JIRA)" <ji...@codehaus.org> on 2008/11/07 12:26:13 UTC
[jira] Updated: (MECLIPSE-496) Possible to process
generated-classes?
[ http://jira.codehaus.org/browse/MECLIPSE-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerry Shea updated MECLIPSE-496:
--------------------------------
Attachment: xept.zip
here's an example project - if you run mvn clean xmlbeans:xmlbeans eclipse:eclipse and try and run the "Client" class from within eclipse you'll get an exception as target\generated-classes\xmlbeans is not in the classpath. If you add it manually everything is good...
> Possible to process generated-classes?
> --------------------------------------
>
> Key: MECLIPSE-496
> URL: http://jira.codehaus.org/browse/MECLIPSE-496
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Improvement
> Components: Core : Dependencies resolution and build path (.classpath)
> Environment: Windows XP SP2, Sun Java 6
> Reporter: Jerry Shea
> Priority: Minor
> Attachments: xept.zip
>
>
> I am using xmlbeans with the eclipse plugin and when I run
> mvn clean xmlbeans:xmlbeans eclipse:eclipse
> the eclipse plugin generates my project and works out that there is a directory called target\generated-sources\xmlbeans and creates that as a source folder in the eclipse project (<classpathentry kind="src" path="target/generated-sources/xmlbeans"/>).
> All good so far. The xmlbeans plugin also generates some classes into target\generated-classes\xmlbeans - would it be possible for the eclipse plugin also generate an entry in the eclipse project for these generated classes as below?
> <classpathentry kind="lib" path="target/generated-classes/xmlbeans"/>
--
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