Merrill, Assuming you are using Nant 0.85, I guess one possible solution is that you create a template of what the second Nant script should look like. Then, use the filterchain task to "fill-in" the values you need in that template.
Felice -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Merrill Cornish Sent: Wednesday, September 15, 2004 8:38 AM To: [EMAIL PROTECTED] Subject: [Nant-users] NAnt Writing NAnt--How? We have a need to create a NAnt script whose job it is to take certain information and write a second NAnt script with some of that information from the first script embedded into the second one. We can use <echo> elements and have them append to a file. That can create the NAnt file, but * all of those < and > character entities make it Really Hard to read, and * it's tricky writing things like ${propertyName} and have it appear in the output script so it can be evaluated only when the output script is eventually executed (as opposed to being prematurely evaluated as it is being written to the output script). Merrill ------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users