The following issue has been updated:

    Updater: John Sisson (mailto:[EMAIL PROTECTED])
       Date: Mon, 28 Feb 2005 4:46 PM
    Comment:
Patch for review for 
/maven-eclipse-plugin/src/plugin-resources/templates/classpath.jelly.

The problem was caused by relative paths being passed in the path parameter to 
maven:makeRelativePath, as it is expecting an absolute path.  This patch 
ensures an absolute path is always passed on the path parameter to all uses of 
maven:makeRelativePath in the .classpath file generation.
    Changes:
             Attachment changed to MPECLIPSE-58_patch1.txt
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPECLIPSE-58?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPECLIPSE-58

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPECLIPSE-58
    Summary: resources get incorrect path when maven run from parent directory
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-eclipse-plugin
   Versions:
             1.9

   Assignee: 
   Reporter: Barry Kaplan

    Created: Thu, 18 Nov 2004 3:43 PM
    Updated: Mon, 28 Feb 2005 4:46 PM

Description:
When building the eclipse projects via the multiproject plugin, and running the 
target from the parent project (ie, generating all eclipse projects in one go) 
the <resources../>  directories defined by the maven sub-projects are imported 
incorrectly -- they are given the path of the parent not the sub-project in 
which they are defined.

If the eclipse is then generated directly from within the sub-project, the 
resources will be correc in .classpath. 

For a concrete example/test-case try to build the eclipse projects for 
activemq. The activemq core module contains a resource for 'src/conf', which 
will get a directory as I described above.

(hmmm, is this clear?)


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

Reply via email to