You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2007/11/02 02:17:12 UTC

[jira] Updated: (MECLIPSE-249) Generated .classpath file misses exported=true for dependency libraries

     [ http://jira.codehaus.org/browse/MECLIPSE-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier updated MECLIPSE-249:
-------------------------------------

    Fix Version/s:     (was: 2.5)

> Generated .classpath file misses exported=true for dependency libraries
> -----------------------------------------------------------------------
>
>                 Key: MECLIPSE-249
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-249
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: PDE support
>    Affects Versions: 2.3
>         Environment: Eclipse 3.2.1
> Win 2000
>            Reporter: Jens Baitinger
>
> When I generate an Eclipse project with maven, the generated .classpath files looks like this:
> <classpath>
>   <classpathentry kind="src" path="." output="target/classes/" including="plugin.xml|plugin.properties" excluding="**/*.java"/>
>   <classpathentry kind="output" path="target/classes"/>
>   <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>   <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
> <!-- this is an example for a lib entry, generated by dependencies -->
>  <classpathentry kind="lib" path="commons-lang-2.1.jar"/>
> </classpath>
> But the classes in the libraries are not exported correctly. Only when I remove those libs from the classpath and readd them via the Plug-in Manifest Editor, the classes are correctly exported. After that, the classpathentries lools like this: 
> <classpathentry exported="true" kind="lib" path="commons-lang-2.1.jar"/>
> So I think this maven plugin should generate exported="true" into each library.

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