You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sachin Patel (JIRA)" <ji...@codehaus.org> on 2006/04/04 01:13:44 UTC

[jira] Created: (MECLIPSE-93) Incorrect src entry being added in .classpath for referenced projects

Incorrect src entry being added in .classpath for referenced projects
---------------------------------------------------------------------

         Key: MECLIPSE-93
         URL: http://jira.codehaus.org/browse/MECLIPSE-93
     Project: Maven 2.x Eclipse Plugin
        Type: Bug

    Versions: 2.1    
    Reporter: Sachin Patel
     Fix For: 2.2


The generated .classpath contains src entries for each project referenced in the .project.  This is incorrect, these entries should be removed.  For example..

Consider Project A and Project B.  If A depends on B, A's .project file contains a reference to Project B which is correct, but its classpath contains a src entry to the root of B, which should not be there.

There seem to be additional src entries as well, which seems to mess things up (at least for eclipse-plugin development) which I'll dig into and open jiras on as well.

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


[jira] Commented: (MECLIPSE-93) Incorrect src entry being added in .classpath for referenced projects

Posted by "Sachin Patel (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-93?page=comments#action_62800 ] 

Sachin Patel commented on MECLIPSE-93:
--------------------------------------

Sorry, yes you are correct.

> Incorrect src entry being added in .classpath for referenced projects
> ---------------------------------------------------------------------
>
>          Key: MECLIPSE-93
>          URL: http://jira.codehaus.org/browse/MECLIPSE-93
>      Project: Maven 2.x Eclipse Plugin
>         Type: Bug

>     Versions: 2.1
>     Reporter: Sachin Patel
>     Assignee: fabrizio giustina
>      Fix For: 2.1

>
>
> The generated .classpath contains src entries for each project referenced in the .project.  This is incorrect, these entries should be removed.  For example..
> Consider Project A and Project B.  If A depends on B, A's .project file contains a reference to Project B which is correct, but its classpath contains a src entry to the root of B, which should not be there.
> There seem to be additional src entries as well, which seems to mess things up (at least for eclipse-plugin development) which I'll dig into and open jiras on as well.

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


[jira] Closed: (MECLIPSE-93) Incorrect src entry being added in .classpath for referenced projects

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-93?page=all ]
     
fabrizio giustina closed MECLIPSE-93:
-------------------------------------

    Resolution: Duplicate

so this looks like a duplicate of MECLIPSE-93.
I'll close this one and I will copy the comments here to MECLIPSE-93


> Incorrect src entry being added in .classpath for referenced projects
> ---------------------------------------------------------------------
>
>          Key: MECLIPSE-93
>          URL: http://jira.codehaus.org/browse/MECLIPSE-93
>      Project: Maven 2.x Eclipse Plugin
>         Type: Bug

>     Versions: 2.1
>     Reporter: Sachin Patel
>     Assignee: fabrizio giustina
>      Fix For: 2.1

>
>
> The generated .classpath contains src entries for each project referenced in the .project.  This is incorrect, these entries should be removed.  For example..
> Consider Project A and Project B.  If A depends on B, A's .project file contains a reference to Project B which is correct, but its classpath contains a src entry to the root of B, which should not be there.
> There seem to be additional src entries as well, which seems to mess things up (at least for eclipse-plugin development) which I'll dig into and open jiras on as well.

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


[jira] Commented: (MECLIPSE-93) Incorrect src entry being added in .classpath for referenced projects

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

fabrizio giustina commented on MECLIPSE-93:
-------------------------------------------

Sorry, I meant duplicate of MECLIPSE-92

> Incorrect src entry being added in .classpath for referenced projects
> ---------------------------------------------------------------------
>
>          Key: MECLIPSE-93
>          URL: http://jira.codehaus.org/browse/MECLIPSE-93
>      Project: Maven 2.x Eclipse Plugin
>         Type: Bug

>     Versions: 2.1
>     Reporter: Sachin Patel
>     Assignee: fabrizio giustina
>      Fix For: 2.1

>
>
> The generated .classpath contains src entries for each project referenced in the .project.  This is incorrect, these entries should be removed.  For example..
> Consider Project A and Project B.  If A depends on B, A's .project file contains a reference to Project B which is correct, but its classpath contains a src entry to the root of B, which should not be there.
> There seem to be additional src entries as well, which seems to mess things up (at least for eclipse-plugin development) which I'll dig into and open jiras on as well.

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


[jira] Commented: (MECLIPSE-93) Incorrect src entry being added in .classpath for referenced projects

Posted by "Sachin Patel (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-93?page=comments#action_62804 ] 

Sachin Patel commented on MECLIPSE-93:
--------------------------------------

Along with not adding src entries for referenced "plugin-projects" project references should be removed as well in the .project file.

> Incorrect src entry being added in .classpath for referenced projects
> ---------------------------------------------------------------------
>
>          Key: MECLIPSE-93
>          URL: http://jira.codehaus.org/browse/MECLIPSE-93
>      Project: Maven 2.x Eclipse Plugin
>         Type: Bug

>     Versions: 2.1
>     Reporter: Sachin Patel
>     Assignee: fabrizio giustina
>      Fix For: 2.1

>
>
> The generated .classpath contains src entries for each project referenced in the .project.  This is incorrect, these entries should be removed.  For example..
> Consider Project A and Project B.  If A depends on B, A's .project file contains a reference to Project B which is correct, but its classpath contains a src entry to the root of B, which should not be there.
> There seem to be additional src entries as well, which seems to mess things up (at least for eclipse-plugin development) which I'll dig into and open jiras on as well.

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


[jira] Closed: (MECLIPSE-93) Incorrect src entry being added in .classpath for referenced projects

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-93?page=all ]
     
fabrizio giustina closed MECLIPSE-93:
-------------------------------------

      Assign To: fabrizio giustina
     Resolution: Won't Fix
    Fix Version:     (was: 2.2)
                 2.1

Referenced projects NEED to added to .classpath as source paths for eclipse. You can verify this by adding a project reference in the "Build path" dialog.

> Incorrect src entry being added in .classpath for referenced projects
> ---------------------------------------------------------------------
>
>          Key: MECLIPSE-93
>          URL: http://jira.codehaus.org/browse/MECLIPSE-93
>      Project: Maven 2.x Eclipse Plugin
>         Type: Bug

>     Versions: 2.1
>     Reporter: Sachin Patel
>     Assignee: fabrizio giustina
>      Fix For: 2.1

>
>
> The generated .classpath contains src entries for each project referenced in the .project.  This is incorrect, these entries should be removed.  For example..
> Consider Project A and Project B.  If A depends on B, A's .project file contains a reference to Project B which is correct, but its classpath contains a src entry to the root of B, which should not be there.
> There seem to be additional src entries as well, which seems to mess things up (at least for eclipse-plugin development) which I'll dig into and open jiras on as well.

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


[jira] Reopened: (MECLIPSE-93) Incorrect src entry being added in .classpath for referenced projects

Posted by "Sachin Patel (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-93?page=all ]
     
Sachin Patel reopened MECLIPSE-93:
----------------------------------


Actually, sorry will need to reopen this.   While the statement is true for Java Projects, for plugin development it is not.  Plugin bundles reference other plugins and their references to each other are configured via the requiredPlugins classpath container.  By including src entries to the referenced "plugins" this results in an error.

I'm  beginning to think it would be useful to provide a flag in the configuration to better handle the "plugin-development" case.

> Incorrect src entry being added in .classpath for referenced projects
> ---------------------------------------------------------------------
>
>          Key: MECLIPSE-93
>          URL: http://jira.codehaus.org/browse/MECLIPSE-93
>      Project: Maven 2.x Eclipse Plugin
>         Type: Bug

>     Versions: 2.1
>     Reporter: Sachin Patel
>     Assignee: fabrizio giustina
>      Fix For: 2.1

>
>
> The generated .classpath contains src entries for each project referenced in the .project.  This is incorrect, these entries should be removed.  For example..
> Consider Project A and Project B.  If A depends on B, A's .project file contains a reference to Project B which is correct, but its classpath contains a src entry to the root of B, which should not be there.
> There seem to be additional src entries as well, which seems to mess things up (at least for eclipse-plugin development) which I'll dig into and open jiras on as well.

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