ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tibor Strausz <>
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"
    <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


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message