I already have a patch to build OFBiz with Java 7, but I won't commit it until we have the tests fixed.

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 4/30/2014 3:03 AM, Jacques Le Roux wrote:
Hi,

Currently when you build the trunk with Java 7 all works but you get
this warning:

[options] bootstrap class path not set in conjunction with -source 1.6

I suggest we change in macros.xml

     <presetdef name="javac16">
         <default-javac compiler="javac1.6" target="1.6" source="1.6"
encoding="UTF-8" sourcepathref="src-path" includeantruntime="false">

to

     <presetdef name="javac17">
         <default-javac compiler="javac1.7" target="1.7" source="1.7"
encoding="UTF-8" sourcepathref="src-path" includeantruntime="false">

But this would also mean we begin to recommend using Java 7 for the
trunk (did someone test R13.07?)

We spoke already about that somehow.
Lastly with http://markmail.org/message/t54rr3zul3f5cvtx
Since then we know it's OK to build and run the trunk under Java 7. But
there is an issue with tests because of their order and Junit.

Opinions?

Jacques

Reply via email to