Hi Timothy

you could load sensitive information from a file which would not be
stored under version control (instead, store a .sample version of it,
with foo values, to help remember what's needed).

Under Ant you could achieve this with:
<property file="${user.home}/build.properties"/>
This loads some properties from the user folder (c:\document and
settings\login).

Under NAnt I guess you could rely on the include task for the same operation.


regards

Thibaut

http://www.dotnetguru2.org/tbarrere

2005/4/15, Timothy Burda <[EMAIL PROTECTED]>:
> 
> 
>  
> 
> This would seem to be a common requirement, but I haven't found any previous
> articles on the topic.
> 
>  
> 
> On a nant process that runs nightly on a common build server, I am presently
> storing username and password in clear text in the nant script.
> 
>  
> 
> I would prefer that the password be encrypted.
> 
>  
> 
> Does have anyone have suggestions or practices for doing things like this? I
> have thought about adding some sort of encrypt/decrypt functionality to Nant
> but would prefer not having to maintain my own version of the code.
> 
>  
> 
> Thanks –
> 
>  
> 
> Tim Burda
> 
> [EMAIL PROTECTED]

Reply via email to