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 16:04:48 UTC

[jira] Created: (MECLIPSE-95) Var classpath entries need to be marked exported by default

Var classpath entries need to be marked exported by default
-----------------------------------------------------------

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

    Versions: 2.1    
    Reporter: Sachin Patel
     Fix For: 2.2


Generated .classpath entries of kind "var" need to be marked exported by default so that referenced projects have visibility to them.  Or provide an option to specifiy that that entries should be exported.

Example: <classpathentry kind="var" path="M2_REPO/mx4j/mx4j/3.0.1/mx4j-3.0.1.jar"/>

should me made...

<classpathentry exported="true" kind="var" path="M2_REPO/mx4j/mx4j/3.0.1/mx4j-3.0.1.jar"/>

-- 
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] Updated: (MECLIPSE-95) Var classpath entries need to be marked exported by default

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

fabrizio giustina updated MECLIPSE-95:
--------------------------------------

    type: Improvement  (was: Bug)

> Var classpath entries need to be marked exported by default
> -----------------------------------------------------------
>
>          Key: MECLIPSE-95
>          URL: http://jira.codehaus.org/browse/MECLIPSE-95
>      Project: Maven 2.x Eclipse Plugin
>         Type: Improvement

>     Versions: 2.1
>     Reporter: Sachin Patel
>      Fix For: 2.2

>
>
> Generated .classpath entries of kind "var" need to be marked exported by default so that referenced projects have visibility to them.  Or provide an option to specifiy that that entries should be exported.
> Example: <classpathentry kind="var" path="M2_REPO/mx4j/mx4j/3.0.1/mx4j-3.0.1.jar"/>
> should me made...
> <classpathentry exported="true" kind="var" path="M2_REPO/mx4j/mx4j/3.0.1/mx4j-3.0.1.jar"/>

-- 
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] Updated: (MECLIPSE-95) Var classpath entries need to be marked exported by default

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

fabrizio giustina updated MECLIPSE-95:
--------------------------------------

      Assign To: fabrizio giustina
    Fix Version:     (was: 2.2)

> Var classpath entries need to be marked exported by default
> -----------------------------------------------------------
>
>          Key: MECLIPSE-95
>          URL: http://jira.codehaus.org/browse/MECLIPSE-95
>      Project: Maven 2.x Eclipse Plugin
>         Type: Improvement

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

>
>
> Generated .classpath entries of kind "var" need to be marked exported by default so that referenced projects have visibility to them.  Or provide an option to specifiy that that entries should be exported.
> Example: <classpathentry kind="var" path="M2_REPO/mx4j/mx4j/3.0.1/mx4j-3.0.1.jar"/>
> should me made...
> <classpathentry exported="true" kind="var" path="M2_REPO/mx4j/mx4j/3.0.1/mx4j-3.0.1.jar"/>

-- 
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-95) Transitive classpath entries need to be marked exported

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

fabrizio giustina closed MECLIPSE-95.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3

Done for 2.3. Only transitive dependencies are marked as exported.

> Transitive classpath entries need to be marked exported
> -------------------------------------------------------
>
>                 Key: MECLIPSE-95
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-95
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Improvement
>          Components: dependency resolution
>    Affects Versions: 2.1
>            Reporter: Sachin Patel
>         Assigned To: fabrizio giustina
>             Fix For: 2.3
>
>
> Generated .classpath entries of kind "var" need to be marked exported by default so that referenced projects have visibility to them.  Or provide an option to specifiy that that entries should be exported.
> Example: <classpathentry kind="var" path="M2_REPO/mx4j/mx4j/3.0.1/mx4j-3.0.1.jar"/>
> should me made...
> <classpathentry exported="true" kind="var" path="M2_REPO/mx4j/mx4j/3.0.1/mx4j-3.0.1.jar"/>

-- 
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] Updated: (MECLIPSE-95) Transitive classpath entries need to be marked exported

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

Kenney Westerhof updated MECLIPSE-95:
-------------------------------------

    Summary: Transitive classpath entries need to be marked exported  (was: Var classpath entries need to be marked exported by default)

Not only for VAR classpath entries, but for transitive dependencies in general.

If you have 3 projects in eclipse, A, B, and C, where A depends on B, and B depends on C,
all via project references, then A does not have access to C and it's libs.

So both project references should be exported and var classpath entries (all library dependencies).

Note that it's not enough to _just_ mark all of those dependencies as exported - only transitive dependencies
should be marked as such. For instance, provided and test scope dependencies also end up in the eclipse
classpath, and they should NOT be exported.

> Transitive classpath entries need to be marked exported
> -------------------------------------------------------
>
>          Key: MECLIPSE-95
>          URL: http://jira.codehaus.org/browse/MECLIPSE-95
>      Project: Maven 2.x Eclipse Plugin
>         Type: Improvement

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

>
>
> Generated .classpath entries of kind "var" need to be marked exported by default so that referenced projects have visibility to them.  Or provide an option to specifiy that that entries should be exported.
> Example: <classpathentry kind="var" path="M2_REPO/mx4j/mx4j/3.0.1/mx4j-3.0.1.jar"/>
> should me made...
> <classpathentry exported="true" kind="var" path="M2_REPO/mx4j/mx4j/3.0.1/mx4j-3.0.1.jar"/>

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