[jira] Commented: (MPECLIPSE-77) cannot use build resources and addtoclasspath property

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (MPECLIPSE-77) cannot use build resources and addtoclasspath property

JIRA jira@codehaus.org
    [ http://jira.codehaus.org/browse/MPECLIPSE-77?page=comments#action_66470 ]

David Boden commented on MPECLIPSE-77:
--------------------------------------

Patch hasn't yet been applied to SVN head.

> cannot use build resources and addtoclasspath property
> ------------------------------------------------------
>
>          Key: MPECLIPSE-77
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-77
>      Project: maven-eclipse-plugin
>         Type: Bug

>     Reporter: Brett Porter
>      Fix For: 1.11
>  Attachments: patch.txt
>
>
> (originally filed by Ryan Sonnek)
> Eclipse is unable to use the .classpath file generated with these settings because of duplicate entries.
> snippet of project.xml:
> <resource>
>   <directory>${basedir}/target/generated-sources/xdoclet</directory>
>   <includes>
>     <include>**/*.xml</include>
>     <include>**/*.properties</include>
>   </includes>
> </resource>
> snippet of projet.properties:
> #eclipse settings
> maven.eclipse.resources.addtoclasspath=true
> I need to specify the resource directory so that maven will pick up the resources for distribution right?  maybe some kind of flag should be used for "resource already added to classpath".

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