On Thu, 03 Oct 2019 14:53:51 +0200 Matthias Bläsing wrote:

> TL;DR: Download a fresh version of ant from apache, put it on the path
> and build with that.

OK. I have done that:

1. I downloaded and built successfully ant-1.9.14 from source
2. In ~/.nbbuild.properties I have set as recommended:

nbjdk.home=/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/

I also used:

export JAVA_HOME=/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/

and I have set the newly built ant bin in path:

export PATH=/tmp/download/apache-ant-1.9.14/ant-1.9.14/bin:${PATH}

3. I ran 'ant -Dcluster.config=full'


Result:

BUILD FAILED

Here are the last lines of the output:

https://susepaste.org/e00b1e78

Something strange I noticed is that the build of ant-1.9.14 shows that
it is version 1.9.10:

$ /tmp/download/apache-ant-1.9.14/ant-1.9.14/bin/ant -version
Apache Ant(TM) version 1.9.10 compiled on August 16 2018

IOW: the same version which comes with openSUSE:

$ /usr/bin/ant -version
Apache Ant(TM) version 1.9.10 compiled on August 16 2018

FWIW the only difference between the two is 3 lines:

diff /tmp/download/apache-ant-1.9.14/ant-1.9.14/bin/ant /usr/bin/ant
288a289,291
> if test -n "$SOURCE_DATE_EPOCH" ; then
>   ANT_OPTS="$ANT_OPTS -Dant.tstamp.now=$SOURCE_DATE_EPOCH"
> fi


So what should I do please?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to