Cool... ok. Well for now I just added an exclude to my file set and
added an additional copy tofile to the web.config.

 

BOb

 

 

________________________________

From: Gert Driesen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 09, 2007 2:07 PM
To: Bob Archer; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] Rename file during copy

 

Hi Bob,

 

This is currently not possible. For this, we'd need to implement
something like Ant's file mappers:

http://ant.apache.org/manual/CoreTypes/mapper.html

 

Gert 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob
Archer
Sent: dinsdag 9 oktober 2007 16:18
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Rename file during copy

Is there anything similar to filterchains but to change the filename,
rather than the contents?

 

For example, during a copy I want to change any files named
web.config.template to web.config? Many files are in the fileset being
copied, not just the one file.

 

Thanks,

BOb

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to