Since nobody has answered me on this I've decided to get creative. I'm currently testing this idea, but it seems to work for me.Basically, I set a property within the loop. Once the condition is met where a I want to exit the loop (ie a build is needed), I set the value of ${build.needed} to
Uh, I'm a little
lost here. Sorry, beginner question.
I want to detect if
a property has/has notbeen defined and do conditional processing based on
whether or not the property exists. Ithought I should
do:
project
name="test"property if="${property::exists(XYZ)}"
name="IsItThere"
Robert Smith wrote:
Instead of trying to pipe, would something like this work (with regard
to the structure of teh exec task) with each of the aruments as an arg
value?
exec program=ISCmdBld append=true
output=${logfile} verbose=true
arg value=-p
Hi Erin,
It's do-able, just a little painful, but I think Martin was on the right track.
For example, here's what I do to call the Subversion svnadmin program
to dump a repository, redirecting stdout. Works on Windows and Linux:
...
target name=init-shell
if
Hi,I have a output redirect problem in NAnt.I defined a custom NAnt task. Inside it, I have the following code: TextWriter standardOut = Console.Out; TextWriter standerdError =
Console.Error; int exitValue; using (TextWriter newOutWriter = File.CreateText(output), newErrorWriter = newOutWriter) {
I have a VS 2003 solution which has a VC++ Project in that. What all things
i need to run application using nant?
Particularly when i give options in cl and try to compile with
verbosetrue. It doesn't show any error.
I tried to compile using command line but tht gives me errors in standard
Uh, I'm a little
lost here. Sorry, beginner question.
I want to detect if
a property has/has notbeen defined and do conditional processing based on
whether or not the property exists. Ithought I should
do:
project
name="test"property if="${property::exists(XYZ)}"
name="IsItThere"
I have a solution that I need to build that contains web projects. I've
excluded them by doing the following:
solution
configuration=${config}
outputdir=${outdir}
solutionfile=${solution}
failonerror=true
verbose=true
projects
exclude name=path to web project
Andy,
Thanks for the additional info, I'll try to look into it tomorrow.
Gert
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Andy Duan Nguyen
Sent: donderdag 20 juli 2006 22:19
To: Gert Driesen; nant-users@lists.sourceforge.net
Subject: Re:
You need to include XYZ in single quotes
because you want to pass the string to the property::exists method and not
evaluate the XYZ property.
Try:
property if=${property::exists(XYZ)}
name=IsItThere value=yes/
Noel
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
10 matches
Mail list logo