You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Gilles Scokart (JIRA)" <ji...@codehaus.org> on 2005/08/22 11:51:08 UTC

[jira] Created: (MNG-769) m2 eclipse:eclipse - duplicate ressources

m2 eclipse:eclipse - duplicate ressources
-----------------------------------------

         Key: MNG-769
         URL: http://jira.codehaus.org/browse/MNG-769
     Project: Maven 2
        Type: Bug
    Versions: 2.0-alpha-3    
 Reporter: Gilles Scokart
    Priority: Minor


When we have a pom.xml that contains 2 ressources with the same directory (but with different includes), the eclipse plugin generate a .classpath that contains two time the same classpath entry.

Such a project can not be opened in eclipse.

It' normal to not have exactely the same behavior (eclipse doesn't suport patterns for inclusion/exclusion), but it would be better to have only one classpath entries genereted if two ressources are linked to the same directory.  The semantic stay the same as the current one, but there is no errors anymore in the .classpath.

-- 
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-769) m2 eclipse:eclipse - duplicate ressources

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

    Resolution: Duplicate

This is a duplicate of MNG-410. 

> m2 eclipse:eclipse - duplicate ressources
> -----------------------------------------
>
>          Key: MNG-769
>          URL: http://jira.codehaus.org/browse/MNG-769
>      Project: Maven 2
>         Type: Bug
>     Versions: 2.0-alpha-3
>     Reporter: Gilles Scokart
>     Priority: Minor

>
>
> When we have a pom.xml that contains 2 ressources with the same directory (but with different includes), the eclipse plugin generate a .classpath that contains two time the same classpath entry.
> Such a project can not be opened in eclipse.
> It' normal to not have exactely the same behavior (eclipse doesn't suport patterns for inclusion/exclusion), but it would be better to have only one classpath entries genereted if two ressources are linked to the same directory.  The semantic stay the same as the current one, but there is no errors anymore in the .classpath.

-- 
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] Commented: (MNG-769) m2 eclipse:eclipse - duplicate ressources

Posted by "Joerg Schaible (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-769?page=comments#action_44892 ] 

Joerg Schaible commented on MNG-769:
------------------------------------

Just as a side note: Eclipse can inculde/exclude! An extract from one of my used .classpath files:

	<classpathentry excluding="ejb/XLocal.java|ejb/XRemote.java|ejb/X.java|ejb/XHome.java|ejb/XHomeLocal.java|ejb/XLocal.java" kind="src" path="src/java"/>

I am just not sure, when Eclipse started to support it.


> m2 eclipse:eclipse - duplicate ressources
> -----------------------------------------
>
>          Key: MNG-769
>          URL: http://jira.codehaus.org/browse/MNG-769
>      Project: Maven 2
>         Type: Bug
>     Versions: 2.0-alpha-3
>     Reporter: Gilles Scokart
>     Priority: Minor

>
>
> When we have a pom.xml that contains 2 ressources with the same directory (but with different includes), the eclipse plugin generate a .classpath that contains two time the same classpath entry.
> Such a project can not be opened in eclipse.
> It' normal to not have exactely the same behavior (eclipse doesn't suport patterns for inclusion/exclusion), but it would be better to have only one classpath entries genereted if two ressources are linked to the same directory.  The semantic stay the same as the current one, but there is no errors anymore in the .classpath.

-- 
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] Commented: (MNG-769) m2 eclipse:eclipse - duplicate ressources

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-769?page=comments#action_44899 ] 

fabrizio giustina commented on MNG-769:
---------------------------------------

>  I think this is solved by MNG-760. Fabrizio: can you verify this?
yes, it should be solved by the patch, duplicated directories are not added anymore

> m2 eclipse:eclipse - duplicate ressources
> -----------------------------------------
>
>          Key: MNG-769
>          URL: http://jira.codehaus.org/browse/MNG-769
>      Project: Maven 2
>         Type: Bug
>     Versions: 2.0-alpha-3
>     Reporter: Gilles Scokart
>     Priority: Minor

>
>
> When we have a pom.xml that contains 2 ressources with the same directory (but with different includes), the eclipse plugin generate a .classpath that contains two time the same classpath entry.
> Such a project can not be opened in eclipse.
> It' normal to not have exactely the same behavior (eclipse doesn't suport patterns for inclusion/exclusion), but it would be better to have only one classpath entries genereted if two ressources are linked to the same directory.  The semantic stay the same as the current one, but there is no errors anymore in the .classpath.

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