Add more output to the pre-check to help in analysis some strange build-failures in CI, e.g. INFRA-15244

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1811597 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2017-10-09 19:35:43 +00:00
parent 73443aacf6
commit a21c09fd61

View File

@ -129,8 +129,20 @@ svn status
# print out information about which exact version of java we are using
echo Java-Home: $JAVA_HOME
ls -al $JAVA_HOME/
ls -al $JAVA_HOME/bin
$JAVA_HOME/bin/java -version
echo which java
which java
java -version
echo which javac
which javac
javac -version
echo '<project default="test"><target name="test"><echo>Java ${ant.java.version}/${java.version}</echo><exec executable="javac"><arg value="-version"/></exec></target></project>' > build.javacheck.xml
ant -f build.javacheck.xml -v
POIJOBSHELL
# ignore any error message