Re: [Nant-users] -D:param Missing a value

2004-07-24 Thread Gert Driesen
nty" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 23, 2004 8:17 PM Subject: RE: [Nant-users] -D:param Missing a value > Martin, > > Either I don't understand your reply, or I didn't make myself clear. Let me give an example: > > My NAnt script t

RE: [Nant-users] -D:param Missing a value

2004-07-23 Thread Merrill Cornish
Martin, Either I don't understand your reply, or I didn't make myself clear. Let me give an example: My NAnt script takes an optional boolean command line parameter named "simulator" which defaults to false. In the script, I check property::exists('simulator'). If it is false, meaning the us

RE: [Nant-users] -D:param Missing a value

2004-07-23 Thread Martin Gainty
7-852-7822 From: Merrill Cornish <[EMAIL PROTECTED]> Reply-To: Merrill Cornish <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [Nant-users] -D:param Missing a value Date: Fri, 23 Jul 2004 10:56:41 -0500 (GMT-05:00) MIME-Version: 1.0 Received: from mc4-f30.hotmail.com ([65.54.190.166])

[Nant-users] -D:param Missing a value

2004-07-23 Thread Merrill Cornish
Is there a way of detecing in a script that the user has has a command line parameter without a value? For example, "-D:foo" rather than, say, "-D:foo=true". Merrill --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterp