Craig,
Great. Thanks so much.
Ken Parrish
Craig Beck wrote:
Resending,
forgot to add the list…
From:
Craig Beck
Sent: Wednesday, April 16, 2008 2:54 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [NAnt-users] Console input ...
Don’t
thi
Is there any way to capture a
property via the command line in Nant? I have some targets / tasks
that are very sensitive (e.g. affect production assets) and would like
to either force a confirmation or capture authentication information
from the user of the script.
Thanks,
Ken Parrish
Gomez
general, I am uncertain what I need in the 'uri' attribute as
compared to URI/pathnames in the arguments.
Does anyone have any insight into this?
Thanks,
Ken Parrish
Gomez, Inc.
-
This SF.net email is sponsored b
ntime image generated by the web deploy project. Also, when using
MSBuild via Nant, pay attention to the MSBuild temporary path the
project options for your main web site project properties. Directory
conflicts can occur that are not manifested when building within Visual
Studio.
Hope this helps.
beginning--the code worked, but the message
made no sense.
Thanks to all for their help and comments.
Ken Parrish
Gomez, Inc.
Eric Fetzer wrote:
That
explains a lot. I always thought, "that message is lying" because,
indeed, the property in the file DID get overwritten with my co
Alex,
Yes, now I see what is going on. Modified the script as follows to set
a 'default' value in the event it is not specified on the command line
as such:
This elicits the behavior that I want without the error message.
Thanks,
K
Target(s) specified: default
[property] Read-only property "TestProperty" cannot be overwritten.
default:
[echo] TestProperty = bar
BUILD SUCCEEDED - 0 non-fatal error(s), 1 warning(s)
Total time: 0 seconds.
__
Thanks,
Ken Parrish
Gert,
Exactly what I needed. Works as I had intended.
Thanks,
Ken Parrish
Gert Driesen wrote:
> Ken,
>
> You need to use a "wild" target:
> http://nant.sourceforge.net/release/latest/help/fundamentals/targets.
uild target.
How do I fetch the target specified on the command line and pass it to
the task?
Ken Parrish
Gomez, Inc.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft
f, I wanted to see if someone else had already solved
this problem?
Thank you.
Ken Parrish
Gomez, Inc.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt
10 matches
Mail list logo