The following comment has been added to this issue:
Author: John Cavacas
Created: Thu, 4 Mar 2004 12:38 AM
Body:
I've also found this to be the case (using the latest eclipse 1.5 plugin)
Having taking a look at the plugin template which generates the .classpath, it's
obvious that this property is not used at all.
I've changed my local copy of the classpath.jelly file to include this:
<!-- iterates through each comma delimited path in the
maven.eclipse.classpath.include property and creates src entries -->
<u:tokenize var="paths"
delim=",">${maven.eclipse.classpath.include}</u:tokenize>
<j:forEach var="entries" items="${paths}">
<maven:makeRelativePath var="extraSrcDir" basedir="${basedir}"
path="${entries}"/>
<classpathentry kind="src" path="${extraSrcDir}"/>
</j:forEach>
This uses the comma delimited values in the property and creates the appropriate src
entries.
However, i noticed that the direction of the slashes is incorrect in relation to how
eclipse does it. If you update your classpath entries through eclipse, eclipse creates
this:
src/java (for example)
With this "patch" and the current output of the other template statements, this path
is actualy:
src\java
Eclipse doesn't complain about this, and i'm assuming this is the case because I am
using windows.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPECLIPSE-17&page=comments#action_17258
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPECLIPSE-17
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPECLIPSE-17
Summary: maven.eclipse.classpath.include does not appear to work
Type: Bug
Status: Open
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-eclipse-plugin
Versions:
1.5
Assignee: Vincent Massol
Reporter: Ryan C. Payne
Created: Wed, 4 Feb 2004 8:53 AM
Updated: Thu, 4 Mar 2004 12:38 AM
Description:
I have specified a list of includes with the maven.eclipse.classpath.include property.
After generating the classpath, these items do not appear in the .classpath file. I
looked through the code in the plugin and I did not see this property referenced
anywhere. It appears that this is not implemented.
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]