You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/10/24 18:29:08 UTC
[jira] Created: (MPECLIPSE-53) Eclipse include of resources broken in common usecase
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPECLIPSE-53
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPECLIPSE-53
Summary: Eclipse include of resources broken in common usecase
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-eclipse-plugin
Versions:
1.9
Assignee:
Reporter: David Eric Pugh
Created: Sun, 24 Oct 2004 12:28 PM
Updated: Sun, 24 Oct 2004 12:28 PM
Description:
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
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MPECLIPSE-53) Eclipse include of resources broken in common usecase
Posted by ji...@codehaus.org.
Message:
The following issue has been closed.
Resolver: David Eric Pugh
Date: Tue, 26 Oct 2004 4:00 AM
Fixed by adding maven.eclipse.resources.addtoclasspath property set to false.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPECLIPSE-53
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPECLIPSE-53
Summary: Eclipse include of resources broken in common usecase
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-eclipse-plugin
Fix Fors:
1.9
Versions:
1.9
Assignee: David Eric Pugh
Reporter: David Eric Pugh
Created: Sun, 24 Oct 2004 12:28 PM
Updated: Tue, 26 Oct 2004 4:00 AM
Description:
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
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org