On 12/20/07, Simon Kitching <[EMAIL PROTECTED]> wrote: > ---- Mike Kienenberger <[EMAIL PROTECTED]> schrieb: > > Can't you do something like this to force the rt.jar to be 1.4? > > > > http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javac.html > > > > % javac -target 1.4 -bootclasspath jdk1.4.2/lib/classes.zip -extdirs > > "" OldCode.java > > Yep. However that cannot be put into the pom because the location of the > jdk1.4 will be different on everyone's machine - if they have it installed at > all. > > And because it isn't automatic, most people won't bother to set it up. I'm > not sure I would...
Continuum 1.1 has the ability to execute builds using a specific JDK, build tool version and/or environment variables in a kind of "Build Environment". (It's currently called a "Build Profile" which is horribly confusing, since it's completely different from the <profile> element in the pom. I'm working on getting it renamed. :) ) -- Wendy