Collier, Mike wrote:
I seem to be having some problems with the "if" attribute on a .
I would like to execute the if a specific property evaluates to
"true". I have the following:
try
if="${property::get-value('sql.init')}"
you need to reference the property by name.
Ian
I then recei
Mike,
>>> property::get-value(sql.init)
Should be property::get-value('sql.init') -- note the quotes. Without the
quotes, NAnt tried to resolve sql.init into a value and then get ITS value.
Actually, you can simplify your if-test to ${sql.init} since any non-quoted
property name inside ${ ...
hmm well if failonerror is set to true then a task failure will stop the
build meaning that no further tasks will execute regardless of dependencies.
Ian
Daniel Bron wrote:
Hello,
Is it possible to setup a task such that it won't run unless another task
has executed successfully? The depends cl
daniel, do you mean target or task?
for task, i don't know...
for target, i'd to this:
...
...
...
jean
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Daniel Bron
> Sent: Friday, December 12, 2003 14:30
> To: Nant (E-mail)
> Subj