[ http://jira.codehaus.org/browse/MECLIPSE-21?page=all ]

Jason van Zyl moved MNG-937 to MECLIPSE-21:
-------------------------------------------

        Version:     (was: 2.0 (RC))
    Fix Version:     (was: 2.0.1)
      Component:     (was: maven-eclipse-plugin)
       Workflow: jira  (was: Maven)
            Key: MECLIPSE-21  (was: MNG-937)
        Project: Maven 2.x Eclipse Plugin  (was: Maven 2)

> Incorrect JRE classpath entry in eclipse .classpath file
> --------------------------------------------------------
>
>          Key: MECLIPSE-21
>          URL: http://jira.codehaus.org/browse/MECLIPSE-21
>      Project: Maven 2.x Eclipse Plugin
>         Type: Bug

>  Environment: WinXP, JDK 1.5
>     Reporter: Oddmar Sandvik
>     Assignee: Johnny R. Ruiz III
>  Attachments: MNG-937-maven-eclipse-plugin.patch
>
> Original Estimate: 3 hours
>         Remaining: 3 hours
>
> This is an issue that was pointed out on this mailinglist in 2003 on maven 
> 1.0 and eclipse:
> When I run "maven eclipse", it generates the .classpath file with the
> following entry:
>  
>    <classpathentry kind="var" rootpath="JRE_SRCROOT" path="JRE_LIB"
>    sourcepath="JRE_SRC"/>
>  
> whereas when I create a project in Eclipse, a reference to JRE_LIB is
> written as:
>  
>     <classpathentry kind="con" 
> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>  
> With the former setting, your classpath only includes rt.jar, and
> nothing else. As a result, you may fail to import some classes like
> javax.net.*, which sits in a different jar file.
> This seems to be sorted out in maven 1.  However, "m2 eclipse:eclipse" has 
> the same problem today.  I must edit the .classpath file manually after 
> generation - but this is of course overwritten whenever dependencies change 
> and is not a tenable option.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to