2009/3/14 Marcel Offermans <[email protected]> > On Mar 13, 2009, at 14:46 , Richard S. Hall wrote: > > We never really settled this. Clearly having tests is better than not >> having them at all, but having tests that run everything is even better. >> What do people think? >> > > The question is, do we really want to run our complete build and test > framework on 1.4? The Sun JDK/JRE for 1.4 has been deprecated already (and > Java 5 will follow in october this year). Personally I would say, move to > Java 5 for testing, reporting, code coverage, etc. It's not too hard to > target 1.4 if we really want to, even if running on a newer version. >
FWIW the latest version of bnd (and bundleplugin 2.0.0) now require a 1.5 build JDK Of course you can still target earlier JVMs when compiling and running tests, as long as you set the relevant compiler settings So I think that it's ok to introduce additional tests that use Java5 - we can always use Maven profiles to separate the 1.4 tests from 1.5 tests in case anyone wants to do a purely 1.4 build... Greetings, Marcel > -- Cheers, Stuart
