ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Gugel" <alex.gu...@100world.de>
Subject --available-- dos not work correctly
Date Thu, 07 Jun 2001 09:28:38 GMT
Hello,

I'm using ANT 1.3 and I have problems with the <available> tag:

  <target name="prepare">
    <tstamp/>

>>>>
   <available file="${build.dir}/modules-ant.xml"
property="modules-ant"/>
<<<<

  </target>

  <!-- generate ANT file -->
  <target name="generate-ant" depends="prepare" unless="modules-ant">
    <style basedir="." destdir="${build.dir}"
style="xsl/make-modules.xsl"
           in="${modules.xml}" out="${build.dir}/modules-ant.xml"/>
  </target>

The ${build.dir}/modules-ant.xml is not present in the filesystem, but
available sets modules-ant and so generate-ant is never called. Is that
a known bug? Or do I do something wrong?

yours

alex

Alexander Gugel                     100world.com AG
Abteilung                           Vordere Cramergasse 11
Fon: +49 (0)911 4244-210            D-90478 N├╝rnberg
Fax: +49 (0)911 4244-XXX      
alex.gugel@100world.com             www.100world.com


Mime
View raw message