resource/testResource dir same as source/testSource dir produces invalid 
.classpath
-----------------------------------------------------------------------------------

         Key: MNG-783
         URL: http://jira.codehaus.org/browse/MNG-783
     Project: Maven 2
        Type: Bug
  Components: maven-plugins  
    Versions: 2.0-beta-1    
 Environment: Windows XP, Cygwin
 Reporter: Mark Hobson
 Attachments: setup.zip

The attached project specifies a different sourceDirectory and 
testSourceDirectory.  The same directories are also used to hold resources and 
so are also specified in resources and testResources.

m2 eclipse:eclipse produces an invalid .classpath with duplicate entries:

<classpath>
  <classpathentry kind="src" path="src"/>
  <classpathentry kind="src" path="src"/>
  <classpathentry kind="src" path="test" output="target/test-classes"/>
  <classpathentry kind="src" path="test" output="target/test-classes"/>
  <classpathentry kind="output" path="target/classes"/>
  <classpathentry kind="var" rootpath="JRE_SRCROOT" path="JRE_LIB" 
sourcepath="JRE_SRC"/>
</classpath>

The plugin should check that the resource directories differ from the source 
directories before writing them to the classpath file.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to