You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Phill Moran <pj...@rogers.com> on 2007/03/20 02:36:48 UTC
Maven/eclipse project import problem
Ladies and Gentlemen
Something is awry in my eclipse import and I am sure I have dome something dumb
since I can find no one else with the same issue. Here is the order of events I
take please let me know where I drove off the cliff
created a clean temp directory
Copied working POM into it
executed mvn eclipse:eclipse
opened eclipse
executed import new project and selected above (non-child) directory
It finishes without error
Problem:
Damn thing picks 1.5.0.11 JDK instead of j2ee install even though the j2ee is
java_home. No JDK on path.
Try deleting or adding new JDK or even tools.jar and after rebuild eclipse
removes it from library reference.
Another side effect is the project does not actually compile the code either.
Copies my resources to the correct spot but that is it. PDE exception of errors
during build
This is all on winXP, eclipse 3.2 (BEA version), Maven 2.0.5. Same POM compiles
just fine from command line
Phill
RE: Maven/eclipse project import problem
Posted by Phill Moran <pj...@rogers.com>.
Thanks for the reply. It is using the j2ee jre. In fact I removed to others from
Eclipse (not from system)
Still puzzled....
-----Original Message-----
From: Thorsten Heit [mailto:theit@gmx.de]
Sent: March 20, 2007 8:05 AM
To: Maven Users List
Subject: Re: Maven/eclipse project import problem
Hi Phill,
> Problem:
> Damn thing picks 1.5.0.11 JDK instead of j2ee install even though the
> j2ee is java_home. No JDK on path.
> Try deleting or adding new JDK or even tools.jar and after rebuild
> eclipse removes it from library reference.
> Another side effect is the project does not actually compile the code
> either.
> Copies my resources to the correct spot but that is it. PDE exception
> of errors during build
Have you checked which JRE your Eclipse installation is using as the default
JRE? Perhaps the IDE is using a different one as you're using in the command
line...?
(Window -> Preferences -> Java -> Installed JREs)
Cheers
Thorsten
---------------------------------------------------------------------
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 project import problem
Posted by Thorsten Heit <th...@gmx.de>.
Hi Phill,
> Problem:
> Damn thing picks 1.5.0.11 JDK instead of j2ee install even though the j2ee
> is
> java_home. No JDK on path.
> Try deleting or adding new JDK or even tools.jar and after rebuild eclipse
> removes it from library reference.
> Another side effect is the project does not actually compile the code
> either.
> Copies my resources to the correct spot but that is it. PDE exception of
> errors
> during build
Have you checked which JRE your Eclipse installation is using as the default JRE? Perhaps the IDE is using a different one as you're using in the command line...?
(Window -> Preferences -> Java -> Installed JREs)
Cheers
Thorsten
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org