[NAnt-users] Is it possible to use a user defined variable in the nant build file?

2006-02-03 Thread Lee Wallen
Is it possible to use a user defined variable in the nant build file? My goal is to set the MailLogger.success.subject and MailLogger.failure.subject using the base target name used...whether it was the default target, or a target specified on the command line. It seems like the way to do this

Re: [NAnt-users] exit script prematurely without using ?

2006-02-03 Thread Gary Feldman
Matt Greer wrote: error message Invert the sense of the test, and use either the or tasks to proceed. For example, you could just add a wrapper script that you invoke from the command line, and it might contain: or something similar. I don't use the get-curr

[NAnt-users] exit script prematurely without using ?

2006-02-03 Thread Matt Greer
Hello, I have a script that depends on a property being set on the command line. The first thing it does is ensure that property is set. If it's not set the script cannot proceed, but I don't want it to end my entire build (this script is ran in cruisecontrol along with a number of other thin

[NAnt-users] RE: How to avoid repeating commands?

2006-02-03 Thread GOUIGOUX Jean-Philippe
Title: RE: How to avoid repeating commands? And if your files are all in a given directory, or if you have a way to segregate them from others in the same location, you can use the foreach task with File in the item attribute, as follows :