Hello All,
 
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 after reading from the txt file. In short, whenever there is a change in the version or branch value, I should change only this text file and not the build file. Is this possible?
 
I have tried using foreach item=Line in filename property=some value, but this only sets the last value to the property as the previous 2 value get overwritten. Loadfile is also not of much help.
 
Rgds,
Niranjan
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to