You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "fabrizio giustina (JIRA)" <ji...@codehaus.org> on 2005/10/09 19:20:11 UTC

[jira] Closed: (MPECLIPSE-87) syntax problem using classpath exclusions with Eclipse 3.0

     [ http://jira.codehaus.org/browse/MPECLIPSE-87?page=all ]
     
fabrizio giustina closed MPECLIPSE-87:
--------------------------------------

      Assign To: fabrizio giustina
     Resolution: Fixed
    Fix Version: 1.9

This was already fixed in svn a long time ago

> syntax problem using classpath exclusions with Eclipse 3.0
> ----------------------------------------------------------
>
>          Key: MPECLIPSE-87
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-87
>      Project: maven-eclipse-plugin
>         Type: Bug
>  Environment: Windows XP, Eclipse 3.0 Eclipse Plugin 1.7
>     Reporter: David Turanski
>     Assignee: fabrizio giustina
>     Priority: Minor
>      Fix For: 1.9
>  Attachments: maven-eclipse-plugin-1.7.1.jar
>
> Original Estimate: 30 minutes
>         Remaining: 30 minutes
>
> Here is an excerpt from a sample project.xml 
>  <sourceDirectory>src/java</sourceDirectory>
>     <sourceModifications>
> 	   <sourceModification>
> 	      <className>NonExistentDummyClass</className>
> 	       <excludes>
> 	          <exclude>com/unisys/comms/jdal/ejb/servlet/test/*</exclude>
> 	          <exclude>com/unisys/comms/jdal/connectors/ucc/test/*</exclude>
> 	          <exclude>com/unisys/comms/jdal/connectors/cuc/test/httpclientdrv/*</exclude>
> 	       </excludes>
> 	   </sourceModification>
> 	</sourceModifications>
> The 1.7 plugin will generate the following entry in .classpath
> <classpathentry excluding="com/unisys/comms/jdal/ejb/servlet/test/*,com/unisys/comms/jdal/connectors/ucc/test/*,com/unisys/comms/jdal/connectors/cuc/test/httpclientdrv/*" kind="src" path="src\java">
> Note the comma is used as a separator and hard-coded in classpath.jelly
> Eclipse 3.0 does not parse this correctly. It accepts the string, but it doesn't have any effect. Eclipse expects a pipe [ | ] separator instead, e.g.:
> <classpathentry excluding="com/unisys/comms/jdal/ejb/servlet/test/*|com/unisys/comms/jdal/connectors/ucc/test/*|com/unisys/comms/jdal/connectors/cuc/test/httpclientdrv/*" kind="src" path="src\java">
> Recommend the following patch 
> Add the following to plugin.properties
> maven.eclipse.separator.exclude=|
> Modify line 42 in classpath.jelly to reference this property.(see attached):

-- 
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
-
For more information on JIRA, 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