ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tibor Strausz <Tibor.Stra...@tridion.com>
Subject ant check if file is in path
Date Mon, 19 Aug 2002 12:56:14 GMT

how can i do an simple check if a file is in my path.
if i use this

  <property name="regtlibExe" value="regtlib.exe"/>
  <available file="${regtlibExe}" type="file"
property="regtlibExe.present"/>
    <fail unless="regtlibExe.present" message="Tool regtlibExe not present;
regtlibExe: '${regtlibExe}'" />

it will fail because it can't find it put the regtlib.exe is in my path

thanks
tibi]


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message