>
> _Mang Lau
>
>
>
>
>
> "Carlos Sanchez" <[EMAIL PROTECTED]>
> Sent by: [EMAIL PROTECTED]
> 03/28/2006 07:05 PM
> Please respond to
> "Maven Users List"
>
>
> To
> "Maven Users List"
> cc
>
> Sub
ut seems like a hack. Is this the proper way of using another
JDK for compilation?
_Mang Lau
"Carlos Sanchez" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
03/28/2006 07:05 PM
Please respond to
"Maven Users List"
To
"Maven Users List"
cc
Subject
Check this out to actually use another JDK
org.apache.maven.plugins
maven-compiler-plugin
true
1.3
C:/Program Files/Java/jdk1.3.1_18/bin/javac
On 3/28/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
>
> This
ry like
C:/j2sdk1.4.1/jre/lib/**/*.jar ?
_Mang Lau
Mang Jun Lau <[EMAIL PROTECTED]>
03/28/2006 02:31 PM
Please respond to
"Maven Users List"
To
"Maven Users List"
cc
Subject
Re: [M2] Compiling with JDK 1.4
Thank you both for your replies. I tried it out and
jar to the
bootclasspath? Which jar do I add? And will each jar be separated by a
comma or semicolon?
Thanks.
_Mang Lau
Nicolas De Loof <[EMAIL PROTECTED]>
03/28/2006 10:01 AM
Please respond to
"Maven Users List"
To
Maven Users List
cc
Subject
Re: [M2] Compiling with
This should work better :
org.apache.maven.plugins
maven-compiler-plugin
1.3
1.3
1.3
${pom.getDependencyPath('jara:rt')}
...
java
rt
1.3
system
Now, how t
Could it be possible to set this "rt.jar" as a (system ?) dependency,
something like this :
${getDependencyPath("java:rt:1.3")}
Siegmann Daniel, NY a écrit :
I too have had to override the JAVA_HOME JDK, though in my case it was to
compile for 1.3 rather than 1.4. What you seem to be missin
I too have had to override the JAVA_HOME JDK, though in my case it was to
compile for 1.3 rather than 1.4. What you seem to be missing is setting the
bootclasspath to the correct Java runtime library. Below is the
configuration I use. I hope this helps.
org.apache.maven.plugins
Try 'maven clean' first then recompile.
Somehow if the class files exist in target dir, the compiler may not
overwrite them. These class files may have been compiled in 1.5 prior to
your changes to pom.xml
Cheers,
AK
-Original Message-
From: Mang Jun Lau [mailto:[EMAIL PROTECTED]
Sent: