Hi, On Fri, Sep 22, 2017 at 12:08 PM, Axel Braun <Axel.Braun@gmx.de> wrote:
Hi,
maybe we have a Java-Expert around that can support: projectlibre [1] suddenly fails to build on TW, with the error message:
[ 31s] [ 31s] init: [ 31s] [mkdir] Created dir: /home/abuild/rpmbuild/BUILD/projectlibre-1.7.0/openproj_contrib/build [ 31s] [mkdir] Created dir: /home/abuild/rpmbuild/BUILD/projectlibre-1.7.0/openproj_contrib/tmp [ 31s] [ 31s] build: [ 31s] [javac] /home/abuild/rpmbuild/BUILD/projectlibre-1.7.0/openproj_contrib/build.xml:30: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [ 31s] [javac] Compiling 10 source files to /home/abuild/rpmbuild/BUILD/projectlibre-1.7.0/openproj_contrib/build [ 31s] [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later. [ 31s] [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later. [ 31s] [ 31s] BUILD FAILED
As the version setting is not explicit mentioned in the spec file I guess it is some implicit definition. Anyone an idea where to look forß
Sounds like a newer version of Java is being used for compilation. As for source/target, for ant those should be set in the build.xml file. Look for something like <javac source="..." target="..."> . (Approximately, haven't touched ant builds in years) Thanks, Robert -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org