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/10/24 02:08:19 UTC

[jira] Created: (MECLIPSE-496) Possible to process generated-classes?

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
         Environment: Windows XP SP2, Sun Java 6
            Reporter: Jerry Shea
            Priority: Minor


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

        

[jira] Updated: (MECLIPSE-496) Possible to process generated-classes?

Posted by "Jerry Shea (JIRA)" <ji...@codehaus.org>.
     [ 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

        

[jira] Commented: (MECLIPSE-496) Possible to process generated-classes?

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=152205#action_152205 ] 

Arnaud Heritier commented on MECLIPSE-496:
------------------------------------------

Can you provide a testcase please ??

> 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
>         Environment: Windows XP SP2, Sun Java 6
>            Reporter: Jerry Shea
>            Priority: Minor
>
> 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

        

[jira] Commented: (MECLIPSE-496) Possible to process generated-classes?

Posted by "Jerry Shea (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=151946#action_151946 ] 

Jerry Shea commented on MECLIPSE-496:
-------------------------------------

I've just found MECLIPSE-41 and I think this is a duplicate of that


> 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
>         Environment: Windows XP SP2, Sun Java 6
>            Reporter: Jerry Shea
>            Priority: Minor
>
> 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