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
             Fix For: 2.4


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

        

Reply via email to