What version of Ant comes with Travis-CI? -
i have ant build script that's failing in travis, because of ant extension point. can't find documentation describes version of ant supported travis, extension points came in 1.8.0 , expect travis' version newer that? building 1.9.4 on windows , have used similar includes on linux without problems. extension point looks like:
<include file="version.xml" as="version" description="create versioninfo class used @ runtime display version info build" /> <extension-point name="generate-version" depends="init" />
my version.xml file contains extension point:
<target name="compile" depends="precompile,buildinfo" extensionof="generate-version">
but travis build reports error:
build failed can't add target version.compile extension-point version.generate-version because extension-point unknown.
is there problem using extension points in travis-ci?
thanks.
by adding pre_install hook:
before_install: - echo $(ant -version)
causes build log include version:
apache ant(tm) version 1.8.2 compiled on december 3 2011
(rhetorical) question is, why travis ridiculously out-of-date , why not update ant using:
sudo apt-get -qq update sudo apt-get install ant
the version travis includes compiled in 2011!
Comments
Post a Comment