[NAnt-users] Getting the Path of an Included Build File

2009-08-18 Thread jnewton
I would like to create a common include file that several of my builds use. It would setup a few global directorise and properties. Then my build files would just use the element. However, I am trying to use the project::get-buildfile-path() function inside my include file to get the current path

Re: [NAnt-users] Getting the Path of an Included Build File

2009-08-18 Thread jnewton
The actual problem is that I have some top-level include file that contains stuff like: . I want these properties set when I include them in my build files. There is a variety of top-level directories that my build scripts will need to know about. Basically these properties need to be s

Re: [NAnt-users] Getting the Path of an Included Build File

2009-08-18 Thread jnewton
I am planning on just using a relative path to the main include file. I'm just trying to avoid specifiying all these properties in all of my top-level build files. Like I have a structure like: Trunk ADE ade.build RTE rte.build Blah blah.build The ADE, RTE, Blah, etc fo

[NAnt-users] Test to see if a FilterSet already exists

2010-02-12 Thread jnewton
I'm trying to make some of my nant scripts generic such that clients of the script will just pass in a filterset id. However, I need to do checks to make sure the filterset id exists. Is there a way to test for this similar to how we do if="${property::exists()}"? Thanks -- View this message

[NAnt-users] Writing Your Own Task that Uses a FilterChain

2010-04-10 Thread jnewton
I'm trying to write my own "write" task that uses a filterchain. I want to be able to write to a file (i.e. I am creating an xml file) and replace some strings in the process using the replacestring filter. I am basing my code off of the CopyTask but I can't seem to figure out how to use the Physi

Re: [NAnt-users] Writing Your Own Task that Uses a FilterChain

2010-04-10 Thread jnewton
Hi Ryan, Yeah, I get an error saying Error 2 'NAnt.Core.Filters.PhysicalTextReader' is inaccessible due to its protection level This sorta makes sense to me but I'm not sure how to get around it or do it properly. So I guess what I am really asking is whats the best way to apply a filt

[NAnt-users] Bugs in NAnt Perforce Tasks Dealing with Changelist

2010-07-31 Thread jnewton
I wanted to check and see if there has been any work done on the P4 NAnt tasks involving a changelist bug that I just found out about. It was mentioned here http://www.mail-archive.com/nantcontrib-develo...@lists.sourceforge.net/msg01538.html [NAntC-Dev] Bug in Perforce Nant tasks many years ago