You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Johannes Hoehne <rt...@retail-sc.com> on 2008/01/25 13:20:15 UTC

eclipse:eclipse different JDK's

Hi,
I'm using different JDK's in my eclipse and I want to tell the the 
eclipse:eclipse goal the JDK of the current project.
So I added:

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId
>
                                <artifactId>maven-eclipse-plugin</
artifactId>
                                <configuration>
                                        <classpathContainers>
                                                <classpathContainer>
org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0
</classpathContainer>
                                        </classpathContainers>
                                </configuration>
                        </plugin>

But the affect was that the .classpath got:

<classpath>
  <classpathentry kind="src" path="src/main/java"/>
  <classpathentry kind="src" path="src/main/resources" 
excluding="**/*.java"/>
  <classpathentry kind="src" path="src/test/java" 
output="target/test-classes"/>
  <classpathentry kind="src" path="src/test/resources" 
output="target/test-classes" excluding="**/*.java"/>
  <classpathentry kind="output" path="target/classes"/>
  <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
  <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0"/>
  <classpathentry kind="var" path="M2_REPO/junit/junit/4.4/junit-4.4.jar" 
sourcepath="M2_REPO/junit/junit/4.4/junit-4.4-sources.jar"/>
  <classpathentry kind="var" 
path="M2_REPO/log4j/log4j/1.2.11/log4j-1.2.11.jar"/>
</classpath>

Which is not the result I expected. I expect somthing like this:

<classpath>
  <classpathentry kind="src" path="src/main/java"/>
  <classpathentry kind="src" path="src/main/resources" 
excluding="**/*.java"/>
  <classpathentry kind="src" path="src/test/java" 
output="target/test-classes"/>
  <classpathentry kind="src" path="src/test/resources" 
output="target/test-classes" excluding="**/*.java"/>
  <classpathentry kind="output" path="target/classes"/>
  <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0"/>
  <classpathentry kind="var" path="M2_REPO/junit/junit/4.4/junit-4.4.jar" 
sourcepath="M2_REPO/junit/junit/4.4/junit-4.4-sources.jar"/>
  <classpathentry kind="var" 
path="M2_REPO/log4j/log4j/1.2.11/log4j-1.2.11.jar"/>
</classpath>


Am I wrong?

Johannes Höhne


P Please consider the environmental impact of needlessly printing this 
e-mail. 


--
RSC Commercial Services OHG
Wanheimer Strasse 70, D-40468 Duesseldorf
Registergericht: Duesseldorf, HRA 12655


Re: eclipse:eclipse different JDK's

Posted by Arnaud HERITIER <ah...@gmail.com>.
Yes, I sorry, I planned to release it at the end of december but I had
several personnal and professional issues that delayed it.
I have to finalize with the help of 2 contributors (Richard van
Nieuwenhoven, Siarhei Dudzin) the improvement of the support for rad6/rad7
and workspace management.
I hope to be able to release it in one or two weeks.

cheers

arnaud

On Jan 25, 2008 1:50 PM, nicolas de loof <ni...@apache.org> wrote:

> AFAIK Arnaud Heritier tries to fix some remaining issues and accept /
> reject
> pacthes provided by the community, as he plans some refactoring for 2.6.
>
> I'm using 2.5-20071130.030954-17 with no issue (yet).
>
> Nico.
>
> 2008/1/25, Martin Höller <ma...@xss.co.at>:
> >
> > On Friday 25 January 2008 wrote nicolas de loof:
> > > This has been fixed in 2.5-SNAPSHOT
> >
> > Any release plan for 2.5?
> > JIRA has only one remaining issue for 2.5.
> >
> > tia,
> > - martin
> > --
> > Martin Höller                   | martin.hoeller@xss.co.at
> > *x Software + Systeme           | http://www.xss.co.at/
> > Karmarschgasse 51/2/20          | Tel: +43-1-6060114-30
> > A-1100 Vienna, Austria          | Fax: +43-1-6060114-71
> >
> >
>



-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: eclipse:eclipse different JDK's

Posted by nicolas de loof <ni...@apache.org>.
AFAIK Arnaud Heritier tries to fix some remaining issues and accept / reject
pacthes provided by the community, as he plans some refactoring for 2.6.

I'm using 2.5-20071130.030954-17 with no issue (yet).

Nico.

2008/1/25, Martin Höller <ma...@xss.co.at>:
>
> On Friday 25 January 2008 wrote nicolas de loof:
> > This has been fixed in 2.5-SNAPSHOT
>
> Any release plan for 2.5?
> JIRA has only one remaining issue for 2.5.
>
> tia,
> - martin
> --
> Martin Höller                   | martin.hoeller@xss.co.at
> *x Software + Systeme           | http://www.xss.co.at/
> Karmarschgasse 51/2/20          | Tel: +43-1-6060114-30
> A-1100 Vienna, Austria          | Fax: +43-1-6060114-71
>
>

Re: eclipse:eclipse different JDK's

Posted by Martin Höller <ma...@xss.co.at>.
On Friday 25 January 2008 wrote nicolas de loof:
> This has been fixed in 2.5-SNAPSHOT

Any release plan for 2.5?
JIRA has only one remaining issue for 2.5.

tia,
- martin
-- 
Martin Höller                   | martin.hoeller@xss.co.at
*x Software + Systeme           | http://www.xss.co.at/
Karmarschgasse 51/2/20          | Tel: +43-1-6060114-30
A-1100 Vienna, Austria          | Fax: +43-1-6060114-71

Re: eclipse:eclipse different JDK's

Posted by nicolas de loof <ni...@apache.org>.
This has been fixed in 2.5-SNAPSHOT

2008/1/25, Johannes Hoehne <rt...@retail-sc.com>:
>
> Hi,
> I'm using different JDK's in my eclipse and I want to tell the the
> eclipse:eclipse goal the JDK of the current project.
> So I added:
>
>                         <plugin>
>                                 <groupId>org.apache.maven.plugins</groupId
> >
>                                 <artifactId>maven-eclipse-plugin</
> artifactId>
>                                 <configuration>
>                                         <classpathContainers>
>                                                 <classpathContainer>
>
> org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0
> </classpathContainer>
>                                         </classpathContainers>
>                                 </configuration>
>                         </plugin>
>
> But the affect was that the .classpath got:
>
> <classpath>
>   <classpathentry kind="src" path="src/main/java"/>
>   <classpathentry kind="src" path="src/main/resources"
> excluding="**/*.java"/>
>   <classpathentry kind="src" path="src/test/java"
> output="target/test-classes"/>
>   <classpathentry kind="src" path="src/test/resources"
> output="target/test-classes" excluding="**/*.java"/>
>   <classpathentry kind="output" path="target/classes"/>
>   <classpathentry kind="con"
> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>   <classpathentry kind="con"
> path="
> org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0
> "/>
>   <classpathentry kind="var" path="M2_REPO/junit/junit/4.4/junit-4.4.jar"
> sourcepath="M2_REPO/junit/junit/4.4/junit-4.4-sources.jar"/>
>   <classpathentry kind="var"
> path="M2_REPO/log4j/log4j/1.2.11/log4j-1.2.11.jar"/>
> </classpath>
>
> Which is not the result I expected. I expect somthing like this:
>
> <classpath>
>   <classpathentry kind="src" path="src/main/java"/>
>   <classpathentry kind="src" path="src/main/resources"
> excluding="**/*.java"/>
>   <classpathentry kind="src" path="src/test/java"
> output="target/test-classes"/>
>   <classpathentry kind="src" path="src/test/resources"
> output="target/test-classes" excluding="**/*.java"/>
>   <classpathentry kind="output" path="target/classes"/>
>   <classpathentry kind="con"
> path="
> org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0
> "/>
>   <classpathentry kind="var" path="M2_REPO/junit/junit/4.4/junit-4.4.jar"
> sourcepath="M2_REPO/junit/junit/4.4/junit-4.4-sources.jar"/>
>   <classpathentry kind="var"
> path="M2_REPO/log4j/log4j/1.2.11/log4j-1.2.11.jar"/>
> </classpath>
>
>
> Am I wrong?
>
> Johannes Höhne
>
>
> P Please consider the environmental impact of needlessly printing this
> e-mail.
>
>
> --
> RSC Commercial Services OHG
> Wanheimer Strasse 70, D-40468 Duesseldorf
> Registergericht: Duesseldorf, HRA 12655
>
>