Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


sberg wrote
...
As I wrote, "though `javac --source 1.6 --target 1.6` apparently doesn't 
check that".  So I guess to make such mistakes fail locally or for 
Gerrit/Jenkins, you would need to actually use Java 6 to build there.

Taking a look to
https://opengrok.libreoffice.org/search?project=core&full=JAVA_TARGET_VER&defs=&refs=&path=&hist=&type=&si=full,
I don't see the use of "JAVA_SOURCE_VER" or "JAVA_TARGET_VER" var in
"scripting" part.
But did you mean this kind of line 
-Dant.build.javac.target=$(JAVA_TARGET_VER) \ (which obviously must
correspond to add "--target 1.6" to javac)
doesn't actually does its checking work?
Reading
https://stackoverflow.com/questions/15492948/javac-source-and-target-options,
it seems even more complicated since we should use too "bootclasspath"
option too.
Bad news then :-(

Julien






--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.