Re: [Nant-users] Checking fileset contents?

2005-02-17 Thread Troy Laurin
> Original Message >From: [EMAIL PROTECTED] > > [snip] > >OK - I've whipped up a couple of custom functions using the script >task to inspect the contents of a fileset. Heres the script : > > [snip] > >[Function("to-string")] >public string Contains( string fsetID ) { > >

[Nant-users] task

2005-02-17 Thread Judy Li
dear guru, I've noticed there is one built-in task under the task , I am not quite sure about the functionalities of it , would you give me any clue about it? The reason I have this query is because I have met the two strange Error message through the nightly build. The message listed below:

[Nant-users] readregistry warning option

2005-02-17 Thread T.G. Mutato
It seems like a fairly common task to check if a registry entry exists or not and then respond accordingly. In this situation, it would not be an error if the registry entry does not exist -- in fact in some cases it's expected. The "failonerror" attribute to the readregistry task helps a bit here

[Nant-users] Problem with property evaluation

2005-02-17 Thread T.G. Mutato
Check out this code fragment: The echo statement shouldn't happen if property2 doesn't exist; however, the following error happens: Property evaluation failed. Expression: property2 is ${property2} ^ Property 'property2' has not been set. Should this

[Nant-users] Ndoc failing

2005-02-17 Thread Fox, Cheri
Hi,    We were building ndocs successfully until we split the code into dll files.  We only want to create and release ndocs on one of the files but it keeps failing on the ndoc portion of the nant script:   The error message - note the NSATransport.dll is in the same dir ("${build.dir}") a

[Nant-users] Error Building

2005-02-17 Thread Jason Farrell
To the Members: Thanks to Gert for the earlier tip, however, I tried upgrading both Nant and Nant-Contrib and it has become a real headache.  I have attached the most recent error log of our build process.  It contains the various errors (and erroneous grammar) that I encountering, most of

RE: [Nant-users] Can't compare longs and ints???

2005-02-17 Thread Gert Driesen
John, You should be using NAnt 0.85 RC2. The docs you looked at are those for that version of NAnt. This is clearly indicated in the upper right corner of each page of the user manual. Gert > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > John

RE: [Nant-users] Can Some one bail me out? CVS Check out

2005-02-17 Thread Clayton Harbour
Hi there, one other thing I should note the is not correct, it should be (http://nant.sourceforge.net/nightly/latest/help/tasks/cvs-pass.html). Sorry for the note below I think I used the wrong one as well. This should also use the cvsroot attribute if you are executing it from a directory

RE: [Nant-users] Can Some one bail me out? CVS Check out

2005-02-17 Thread Clayton Harbour
Hi there, just a few things here. First, is there a space in your "Get latest" target? If so, it might be a good idea to remove it, the target will work as is (which suprised me a bit) but you will have to quote it on the commandline: nant "Get latest" If you are not calling the task like

Re: [Nant-users] Checking fileset contents?

2005-02-17 Thread Mike Roberts
On Fri, 18 Feb 2005 11:17:00 +0900, Ian MacLean <[EMAIL PROTECTED]> wrote: > btw - I quite like the idea of prototyping functions/tasks in script > tags before considering them for inclusion in NAnt. Maybe we should add > a user-submitted scripts section on the wiki. We did heaps in script tags o

Re: [Nant-users] Checking fileset contents?

2005-02-17 Thread Ian MacLean
John Hardin wrote: Is there any way to dump the contents of a fileset? I'd like to verify that it's doing what I want it to do, and I don't see a "verbose" parameter on it or any task that will list its contents. OK - I've whipped up a couple of custom functions using the script task to inspec

Re: [Nant-users] Checking fileset contents?

2005-02-17 Thread Ian MacLean
John Hardin wrote: Is there any way to dump the contents of a fileset? no but if you run nant with -v many tasks ( csc for example ) will show the list of files matched - ie because that will be the list of files passed to csc.exe. I'd like to verify that it's doing what I want it to do, and I

[Nant-users] Checking fileset contents?

2005-02-17 Thread John Hardin
Is there any way to dump the contents of a fileset? I'd like to verify that it's doing what I want it to do, and I don't see a "verbose" parameter on it or any task that will list its contents. Thanks! -- John Hardin Development and Technology group (Seattle) CRS Retail Systems, Inc. 3400 188th

[Nant-users] Can't compare longs and ints???

2005-02-17 Thread John Hardin
Hey all. I'm rather surprised to see this: (nant 0.85 rc1) c:\.\standard-build.include(205,4): Operator '==' cannot be applied to arguments of type 'long' and 'int'. Expression: ${file::get-length('Documentation_Excludes_List.txt') == 0}

RE: [Nant-users] Can Some one bail me out? CVS Check out

2005-02-17 Thread Srivathsan K
Hi, Really appreciate your feedback and this is what my build file looks like after you suggested changes I want the files under "New" folde

RE: [Nant-users] Can Some one bail me out? CVS Check out

2005-02-17 Thread Clayton Harbour
Hi there, sorry I haven't had a chance to sort through my email for the past couple of days. Could you try running the command in verbose mode (adding verbose="true" to the task or passing in -verbose on the commandline will do this) and send me the checkout string that you are working with a