Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPECLIPSE-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPECLIPSE-21
    Summary: Generate excludes for classpath from Maven's source modifications
       Type: Improvement

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-eclipse-plugin

   Assignee: Vincent Massol
   Reporter: Boris Boehlen

    Created: Mon, 5 Apr 2004 5:59 AM
    Updated: Mon, 5 Apr 2004 5:59 AM

Description:
I'm using Maven's source code modifications to exclude certain
directories from the build. It would be great if this can be generated by your plugin.
My solution may not be perfect, but I would greatly appreciate it if something similar 
to my contribution would make it into to the plugin.

Here's how I modified "classpath.jelly":
 
  <j:if test="${sourcesPresent}">
    <maven:makeRelativePath var="srcDir" basedir="${basedir}" 
path="${pom.build.sourceDirectory}"/>
    <j:set var="exluding" value=""/>
    <j:forEach var="sm" items="${pom.build.sourceModifications}">
      <j:forEach var="exclude" items="${sm.excludes}">
        <j:set var="excluding" value="${excluding},${exclude}"/>
      </j:forEach>
    </j:forEach>
    <j:set var="excluding">${excluding.substring(1)}</j:set>
    <classpathentry kind="src" path="${srcDir}" excluding="${excluding}"/>
  </j:if>


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