Re: [M2] Compiling with JDK 1.4

2006-03-29 Thread Carlos Sanchez
> > _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

Re: [M2] Compiling with JDK 1.4

2006-03-29 Thread Mang Jun Lau
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

Re: [M2] Compiling with JDK 1.4

2006-03-28 Thread Carlos Sanchez
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

Re: [M2] Compiling with JDK 1.4

2006-03-28 Thread Mang Jun Lau
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

Re: [M2] Compiling with JDK 1.4

2006-03-28 Thread Mang Jun Lau
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

Re: [M2] Compiling with JDK 1.4

2006-03-28 Thread Nicolas De Loof
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

Re: [M2] Compiling with JDK 1.4

2006-03-28 Thread Nicolas De Loof
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

RE: [M2] Compiling with JDK 1.4

2006-03-28 Thread Siegmann Daniel, NY
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

RE: [M2] Compiling with JDK 1.4

2006-03-27 Thread Anthony Kong
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: