Here are four examples from the task that modifies our Code Smith
configuration file before executing the code generation task. 

<!-- Modify the output directories to match our local tree. -->
<xmlpoke file="${nettiers.file}"
 xpath="/codeSmith/propertySet/[EMAIL PROTECTED]'OutputDirectory']"
 value="${ccnet.working.directory}" />

<xmlpoke file="${nettiers.file}"
 
xpath="/codeSmith/propertySet/[EMAIL PROTECTED]'BusinessLogicLayerFolderNa
me']"
 value="BusinessLogicLayer" />

<xmlpoke file="${nettiers.file}"
 
xpath="/codeSmith/propertySet/[EMAIL PROTECTED]'DataAccessLayerFolderName'
]"
 value="DataAccessLayer" />

<!-- Modify the namespace to match the solution name. -->
<xmlpoke file="${nettiers.file}"
 xpath="/codeSmith/propertySet/[EMAIL PROTECTED]'NameSpace']"
 value="${solution.name}" />


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Hansen
Sent: Tuesday, June 21, 2005 11:04 PM
To: Jeremy P. Owens-Boggs
Cc: Robert Smith; nant-users@lists.sourceforge.net
Subject: Re: [Nant-users] Porting VBScript into C# Script Task
Importance: Low

Jeremy P. Owens-Boggs wrote:

> We saved the InstallShield projects as XML and used the xmlpoke task 
> in nant, no messy scriptJ
>
>  
>
Jeremy,

you wouldn't by chance be willing to show some sample code would you?  I
haven't done this yet, but I need to - it would be nice to have a
functioning example.

thanks,

Chris Hansen, tchansen at xmission dot com


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to