Well,

I run Nant from a network location

//buildserver/nant

And the funny thing is CruiseControl is able to pass parameters over the com=
mand-line
fine.  But when I try to invoke Nant locally (using the network share), I ge=
t the 
below error.

It worked fine previously, just the upgrade from .85rc3 to .85, I started se=
eing
this error.

I'm not using a batch file, just directly invoking nant from the commandline=
.

-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 17, 2007 12:05 PM
To: Patrick Escarcega; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] Unable to pass in values over cmd-line -D
option


> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of patrickje
> Sent: donderdag 14 juni 2007 0:51
> To: nant-users@lists.sourceforge.net
> Subject: [NAnt-users] Unable to pass in values over cmd-line -D option
> 
> 
> OK,
> 
> I ugraded Nant from .85rc3 to .85 and now I whenever I try and pass in
properties over the command-line
> 
>  NANT -D:my_database=3Dserver
> 
> I now get the following error:
> NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006) Copyright (C) 2001-2006
Gerry Shaw http://nant.sourceforge.net
> 
> Invalid value '' for command-line argument '-D'.

That should work just fine. Are you using a batch file to launch NAnt ?

Gert


DISCLAIMER: This message is intended only for the personal and confidential=
 use of the designated recipient(s) named above. If you are not the intended=
 recipient of this message, you are hereby notified that any review, dissemi=
nation, distribution or copying of this message is strictly prohibited. This=
 communication is for informational purposes only and should not be regarded=
 as an offer to sell or as a solicitation of an offer to buy any financial p=
roduction, an official confirmation of any transaction, or as an official st=
atement of Parametric Portfolio Associates.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to