Re: [M2] Compiling with JDK 1.4

2006-03-29 Thread Mang Jun Lau
/28/2006 07:05 PM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: [M2] Compiling with JDK 1.4 Check this out to actually use another JDK plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven

Re: [M2] Compiling with JDK 1.4

2006-03-29 Thread Carlos Sanchez
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 users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: [M2] Compiling with JDK 1.4 Check this out

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. plugin

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 : bootclasspath${getDependencyPath(java:rt:1.3)}/bootclasspath 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.

Re: [M2] Compiling with JDK 1.4

2006-03-28 Thread Nicolas De Loof
This should work better : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration compilerVersion1.3/compilerVersion source1.3/source target1.3/target

Re: [M2] Compiling with JDK 1.4

2006-03-28 Thread Mang Jun Lau
] Compiling with JDK 1.4 This should work better : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration compilerVersion1.3/compilerVersion source1.3/source target1.3/target

Re: [M2] Compiling with JDK 1.4

2006-03-28 Thread Mang Jun Lau
bootclasspathC:/j2sdk1.4.1/jre/lib/**/*.jar/bootclasspath ? _Mang Lau Mang Jun Lau [EMAIL PROTECTED] 03/28/2006 02:31 PM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: [M2] Compiling with JDK 1.4 Thank you both for your

Re: [M2] Compiling with JDK 1.4

2006-03-28 Thread Carlos Sanchez
Check this out to actually use another JDK plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration forktrue/fork compilerVersion1.3/compilerVersion executableC:/Program

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]