Steve Baker wrote:

The web site I "have" to work on at this client is both asp.net and
asp. The "design" that I have to work with is that the asp.net side
uses a web config file and the asp site puts the same settings in the
global.asa.

Something like this:

> Web.config:
> <appSettings>
>    <add key="smtp" value="smtp.server.com"/>
> </appSettings>
>
> Global.asa:
> Application("smpt") = "smtp.server.com"

[ ... ]

Now I need to change global.asa to match and just wish that there was
a simple, intuitive, supported way to do this in nant.

Instead of having NAnt edit the global.asa to stay in synch with the
web.config file, could you have the Application_Start event in
global.asa *read* the web.config file (it's just XML, after all) and set
the Application object properties that way?





-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to