As
with the comma-separated list of targets for depends, the comma in the if would
be AND operations. The case where I came across it is a test that has two
parameters that I wanted to externalize from the build spec itself. I
wanted the test to run whenever all of the other tests are run and only if these
two parameters were both set. As it stands now, the test has to be run
specifically and if the parameters are not set, so be it, the test will
fail.
--
Scotte
-----Original Message-----
From: Jose Alberto Fernandez [mailto:[EMAIL PROTECTED]
Sent: May 19, 2001 10:40 AM
To: [EMAIL PROTECTED]
Subject: RE: Multiple properties in target's if/unlessAnd the meaning of the coma is? AND, OR, NAND. Does it means the same for "if" and for "unless".This is just a slippery slope....Jose Alberto-----Original Message-----
From: Scotte Zinn [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 19, 2001 2:26 PM
To: [EMAIL PROTECTED]
Subject: Multiple properties in target's if/unlessI came across a need for multiple properties to be checked with a target's if clause and it wasn't possible. I could do it using multiple targets, each with an if clause, but that really seemed cludgy.Is there another way of doing this? Will Ant be extended to allow a comma-separated list of properties in the if/unless block similar to the depends clause?-- Scotte
