Re: [NAnt-users] Setting property after reading from a file.

2006-06-22 Thread Gary Feldman
Rod Ayers wrote: > Hi, Gary > > I'm intrigued how you would implement the "XML approach". Probably so easy > I've totall yoverlooked it :):) > Just store the information in an XML file such as task to read the current values, and, if necessary, to change the

Re: [NAnt-users] Setting property after reading from a file.

2006-06-21 Thread Rod Ayers
06 9:49 AM To: Ramya Niranjan Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Setting property after reading from a file. Ramya Niranjan wrote: > I have a text file info.txt that contains some version specific > information like: > MAJORVERSION=4.0 > MINORVERSION=11 > BRA

Re: [NAnt-users] Setting property after reading from a file.

2006-06-13 Thread Gary Feldman
Ramya Niranjan wrote: > I have a text file info.txt that contains some version specific > information like: > MAJORVERSION=4.0 > MINORVERSION=11 > BRANCHINFO=COR > > What I need to do is create some properties like majorversion, > minorversion and branchinfo in NAnt and assign these values afte

Re: [NAnt-users] Setting property after reading from a file.

2006-06-13 Thread Rod Ayers
Hi, Niranjan   I did that quite easily with a response file.  Here's a snippet from the batch file I used: NAnt @myapp.response %*   The "@" indicates that myapp.response is a response file.  The extension has no particular meaning, and could even be omitted.   The %* added any parms