ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Judy Sowell <jsow...@avolent.com>
Subject RE: condition in 1.3
Date Wed, 05 Sep 2001 21:50:40 GMT
You could try, but that isn't how it seems to be documented.

-----Original Message-----
From: Zanabria, Moises [mailto:Moises_Zanabria@bmc.com]
Sent: Wednesday, September 05, 2001 2:29 PM
To: 'ant-user@jakarta.apache.org'
Subject: RE: condition in 1.3


Thanks Judy, it works, but I was wondering if is possible to do the
following in ant 1.3

<target name="clean" if="${tag}=${arg}">

Thanks.

-----Original Message-----
From: Judy Sowell [mailto:jsowell@avolent.com]
Sent: Wednesday, September 05, 2001 3:54 PM
To: 'ant-user@jakarta.apache.org'
Subject: RE: condition in 1.3


I believe so. Here is an example from one of my build files. And I'm still
at 1.2, sigh...

- <target name="mail" if="javax.mail.present">
- <!--  Compile the java code from ${src} into ${build} 
  --> 
  <javac srcdir="${src}" destdir="${build}" includes="utilities/mail/*.java"
/> 
  </target>

-----Original Message-----
From: Zanabria, Moises [mailto:Moises_Zanabria@bmc.com]
Sent: Wednesday, September 05, 2001 1:35 PM
To: 'ant-user@jakarta.apache.org'
Subject: condition in 1.3


Hi guy:

That's is possible in ant 1.3? 

<target name="clean" if="${tag}">

or only in ant 1.4

Thanks 
Moises.

Mime
View raw message