You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Mark Hobson (JIRA)" <ji...@codehaus.org> on 2005/08/24 15:49:02 UTC

[jira] Created: (MNG-783) resource/testResource dir same as source/testSource dir produces invalid .classpath

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-783) resource/testResource dir same as source/testSource dir produces invalid .classpath

Posted by "Kenney Westerhof (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-783?page=all ]
     
Kenney Westerhof closed MNG-783:
--------------------------------

    Resolution: Duplicate

Duplicate of MNG-410 (although this concerns source dirs, not resource dirs, eclipse doesn't differentiate between them so this is effectively
the same problem).

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org