Fred Chang wrote:
I guess XSLT is the way to go then.well it depends. You say you don't have control over the build file - does that mean no control at all ? You can do a lot with properties and conditionals and you could also write a build file that calls the other one with specific targets - like :
<nant buildfile="build-I-don't-control.build" target="foo"
However if you are looking to exclude specific tasks within targets and changing the buildfile isn't an option then xslt should do the job as a translation mechanism
Ian
On Fri, 21 Jan 2005 17:27:23 -0800, Fred Chang <[EMAIL PROTECTED]> wrote:
I would like to filter tasks in an NAnt build file so that some tasks are not processed when NAnt is run. For example, say you have some <cvs> and <copy> tasks, but you don't want them to execute each time NAnt runs. The constraint is that you don't have control over the NAnt build file; somebody else has ownership of that file. What would be the best way to do this?
I'm thinking about filtering using XSLT, but not if there's a better way.
Thanks!
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users