You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Kohsuke Kawaguchi <Ko...@Sun.COM> on 2003/10/21 21:00:04 UTC

Maven eclipse plug-in bug

Sorry if this is not the right list. I've got a reference to this ML
from http://maven.apache.org/reference/plugins/eclipse/mail-lists.html

I'm using maven 1.0 beta 10 and Eclipse 3.0 M4.

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.



regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi@sun.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven eclipse plug-in bug

Posted by di...@multitask.com.au.
3.0M3 had bugs in the editing component that rendered it useless for me.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/
Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc


Kohsuke Kawaguchi <Ko...@Sun.COM> wrote on 25/10/2003 09:27:05 
AM:

> 
> > Is this a difference between eclipse 2 and 3?
> 
> It's been long since I threw away 2.0...
> 
> Is there any 2.0/2.1 user to testify?
> 
> regards,
> --
> Kohsuke Kawaguchi
> Sun Microsystems                   kohsuke.kawaguchi@sun.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven eclipse plug-in bug

Posted by Kohsuke Kawaguchi <Ko...@Sun.COM>.
> Is this a difference between eclipse 2 and 3?

It's been long since I threw away 2.0...

Is there any 2.0/2.1 user to testify?

regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi@sun.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven eclipse plug-in bug

Posted by di...@multitask.com.au.
Is this a difference between eclipse 2 and 3?
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/
Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc


Kohsuke Kawaguchi <Ko...@Sun.COM> wrote on 22/10/2003 05:00:04 
AM:

> 
> Sorry if this is not the right list. I've got a reference to this ML
> from http://maven.apache.org/reference/plugins/eclipse/mail-lists.html
> 
> I'm using maven 1.0 beta 10 and Eclipse 3.0 M4.
> 
> 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.
> 
> 
> 
> regards,
> --
> Kohsuke Kawaguchi
> Sun Microsystems                   kohsuke.kawaguchi@sun.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org