On Fri, 2006-03-10 at 23:18 +0100, Siegmann Daniel, NY wrote:
> > I have an application that run's on  JDK 1.3.
> 
> I don't know if this will help you, but I too have had to set up
> applications that must run on 1.3 using Maven2. Here is what I have in my
> POM:
> 
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-compiler-plugin</artifactId>
>         <configuration>
>                 <fork>true</fork>
>                 <source>1.3</source>
>                 <target>1.3</target>
>                 <compilerArguments>
>       
> <bootclasspath>..\..\tools\jdk\1.3.1_15\jre\lib\rt.jar</bootclasspath>
>                 </compilerArguments>
>         </configuration>
>       </plugin>
> 
> This makes sure it gets compiled as 1.3 code, for a 1.3 JVM, using the 1.3
> runtime.

Cool -- compile using the latest javac version, but using the target
runtime library and outputting the target .class format.

I'll try that ASAP...though it would still be nice to know why
"executable" doesn't work.

Cheers,

Simon



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to