Johan Compagner wrote:
first of all will javac -source 1.4 -target 1.4 always do the right thing?

It does for us, at least.

And then i thing about the changes in StringBuilder/StringBuffer
I guess StringBuilder will not be used but StringBuffer will

Sun deliberately design it so that you can compile code on newer JDKs to run on older ones. The optimiser has specific version-dependent knowledge about things like that.

Are we really using a different jvm now on our Bamboo server? Last time i
checked it always did that with java 5

Yes, we are. This is a significant advantage of Bamboo over Continuum (the other being the absence of so many bugs). ;-)

Look at (for example):
http://wicketstuff.org/bamboo/build/admin/buildConfiguration!default.action?buildKey=WICKET1X-WICKET
Which has the build JDK to use.

I'm only trying to simplify and automate things. :)
Wouldn't it be nice to go mvn release:prepare ... mvn release:perform and have it build all the 1.4 and 1.5 modules, tag them in SVN, release them to the repo, etc?

Regards,

Al

Reply via email to