[ http://jira.codehaus.org/browse/MECLIPSE-116?page=all ]
Stephane Nicoll moved MPECLIPSE-77 to MECLIPSE-116:
---------------------------------------------------
Fix Version: (was: 1.11)
Workflow: Maven New (was: jira)
Key: MECLIPSE-116 (was: MPECLIPSE-77)
Project: Maven 2.x Eclipse Plugin (was: maven-eclipse-plugin)
> cannot use build resources and addtoclasspath property
> ------------------------------------------------------
>
> Key: MECLIPSE-116
> URL: http://jira.codehaus.org/browse/MECLIPSE-116
> Project: Maven 2.x Eclipse Plugin
> Type: Bug
> Reporter: Brett Porter
> Assignee: Stephane Nicoll
> 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