Issue Details (XML | Word | Printable)

Key: MPECLIPSE-53
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: David Eric Pugh
Reporter: David Eric Pugh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Eclipse Plugin

Eclipse include of resources broken in common usecase

Created: 24/Oct/04 12:28 PM   Updated: 26/Oct/04 04:00 AM
Component/s: None
Affects Version/s: 1.9
Fix Version/s: 1.9

Time Tracking:
Not Specified


 Description  « Hide
Hi all,

With the latest and greatest of the Eclipse plugin, with the new resource include issue, I found a usecase where this fails. This came up when I was attempting to work with the Jakarta Commons Sandbox project "email". I have a working, well, failing, example for the unit test for the Eclipse plugin. Just add:

<resource>
<targetPath>META-INF</targetPath>
<includes>
<include>NOTICE.txt</include>
</includes>
</resource>

to the src/plugin-test/project.xml <resources/> section, and the resulting eclipse .classpath has this entry:
<classpathentry excluding="" including="NOTICE.txt|" kind="src" path=".">
</classpathentry>.

the first problem is that there should be an output directory of /target/classes/META-INF. But, that still doesn't work because then it complains about nesting:
Cannot nest output folder '/target/classes/META-INF' inside output folder '/target/classes' .

I am thinking that the whole including of resources may need to be a configurable on off thing...

Eric



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
David Eric Pugh added a comment - 26/Oct/04 04:00 AM
Fixed by adding maven.eclipse.resources.addtoclasspath property set to false.