Re: [NAnt-users] Excluding files with a specific path element

2006-09-08 Thread Noel Gifford
Try this:         Noel From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Frederick Sent: Friday, September 08, 2006 1:43 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Excluding files with a specific path element   Hello,

Re: [NAnt-users] Conditional looping within a NAnt script (is there a'while' task?)

2006-08-29 Thread Noel Gifford
I think that the 'foreach' task would be closer to what you are looking for. It would probably be easier to implement the 'while' task starting from 'foreach'. Noel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Lambrou Sent: Tuesday, August 29, 20

Re: [NAnt-users] How do I rewrite this?

2006-08-17 Thread Noel Gifford
Use:     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Hanson Sent: Thursday, August 17, 2006 1:02 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] How do I rewrite this?   idlFile and cppTarget are nant properties.     It suggest

Re: [NAnt-users] NAnt vs. Ant little difference

2006-07-23 Thread Noel Gifford
In order to use the global parameters from the root build file, you must include it in each subproject build file with: Also, although most concepts are the same as with Ant, the implementation and usage may be different. There is a wide difference between available tasks. Noel -Original

Re: [NAnt-users] How do you detect if a property has not been defined?

2006-07-22 Thread Noel Gifford
You need to include XYZ in single quotes because you want to pass the string to the property::exists method and not evaluate the XYZ property.   Try:     Noel From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Frederick Sent: Friday, July 21, 2006 2:00 PM

Re: [NAnt-users] String manipulation

2006-07-13 Thread Noel Gifford
Properties that are being evaluated within an embedded evaluation don’t need quotes or to have ${  }.      Noel   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Craig Sent: Thursday, July 13, 2006 11:38 AM To: NAnt-users@lists.sourceforge.net Subject:

RE: [NAnt-users] copy a hidden file

2006-03-30 Thread Noel Gifford
I imagine that you'd first have to use the task to remove the hidden attribute, the file, and use the task to put the hidden attribute back on the file. Noel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sushant Goel Sent: Thursday, March 30, 2006 1

RE: [NAnt-users] Getting full path

2006-03-28 Thread Noel Gifford
Title: Re: [NAnt-users] Traversing Directories Try this ---   ${path::get-full-path(path::combine(dnnroot.dir, project))}   Noel   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bryan D. Andrews Sent: Tuesday, March 28, 2006 4:55 PM To: Rod Ayers; nant-users@l

RE: [NAnt-users] Want to force expansion of properties in a string

2006-03-16 Thread Noel Gifford
Brian, There isn't any built-in way to evaluate the properties that I could see. I wrote the following script, a while back, to do what you're reqesting. Call it as follows: Where y is a property with unevaluated properties 5 is the number of times to recurse and re-evalu

RE: [NAnt-users] Differentiating .NET 2003 / 2005 solution

2006-01-29 Thread Noel Gifford
Title: Differentiating .NET 2003 / 2005 solution The only way I know of is to open the solution file and look at the first couple of lines   Visual Studio .NET 2003 has the following:   Microsoft Visual Studio Solution File, Format Version 8.00   Visual Studio .NET 2005 has the follow

RE: [NAnt-users] retrieving current project in custom functions

2006-01-29 Thread Noel Gifford
Helmut, Below is some code that demonstrates how to get at project settings from within a script-task. I wanted the capability to read all of my properties in from a file (comma separated values). The problem I had was that properties values aren't evaluated recursively. That is, if the value in

RE: [NAnt-users] status build

2006-01-10 Thread Noel Gifford
Koen,   I see that multiple people have already responded.   So……   The script below is another way of accomplishing your request. I haven’t tested it, but it should be easy enough to get functional.   The script won’t work properly if you use the ‘depends’ attribute on your target

RE: [NAnt-users] Tar Task - Symbolic Link Support

2006-01-04 Thread Noel Gifford
Roadmap for SharpZipLib from http://wiki.sharpdevelop.net/default.aspx/SharpZipLib.RoadMap Says it doesn't currently support symbolic links, but is on their plate of things to do. SharpZipLib roadmap Right now: Complete refactoring of encryption code for Zip files Rework so WINCE can be used

RE: [Nant-users] 0.85 release candidate by August 4th

2004-07-23 Thread Noel Gifford
Malcolm or anyone else having questions about building, I hope this helps. I do the following: 1) Install the NAnt zip into directory ( C:\Projects\NAnt-0.85-20040722 ) 2) Install the NAntContrib zip into directory ( C:\Projects\NAntContrib-0.85-20040723 ) 3) Build the NAnt by going to its direc

RE: [Nant-users] nant.onsuccess going into a loop?

2004-07-21 Thread Noel Gifford
The reason that "nant.onsuccess" repeats itself is because you are manually calling it. "nant.onsuccess" and "nant.onfailure" will be called automatically at the end of script processing based on the status of the script run. Change your script as follows:

RE: [Nant-users] AXIMP task: how to handle spaces in a path?

2004-07-21 Thread Noel Gifford
You're on the right track. You do need to double quote a path with spaces in it. Try this: (single quotes enclosing the double quotes on the ocx attribute) Noel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bert Jan Lappenschaar Sent: Wednesday, J

RE: [Nant-users] Read Only

2004-07-16 Thread Noel Gifford
Bryan, This is one way of resetting the readonly property on all files. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bryan D. Andrews Sent: Thursday, July 15, 2004 6:29 PM To: [EMAIL PROTECTED] Subject:[

RE: [Nant-users] converting to nant tasks

2004-07-12 Thread Noel Gifford
Felice, Below is one conversion of your request: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felice Vittoria Sent: Monday, July 12, 2004 11:3

RE: [Nant-users] Non of the functions work

2004-06-21 Thread Noel Gifford
You aren't using the most current nightly build. Functions weren't implemented until after the 0.84 release. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, June 18, 2004 5:40 AM To: [EMAIL PROTECTED] Subject:

RE: [Nant-users] Problems since changing versions of NAnt...

2004-06-21 Thread Noel Gifford
Jean-Michel, You need to download the latest NAntContrib and copy the contents of the Bin directory into the NAnt Bin directory. The tasks mentioned are not part of the core NAnt tasks. NAntContrib can be found at nantcontrib.sourceforge.net Noel -Original Message- From: [EMAIL PROT

RE: [Nant-users] devenv error!!! HELP

2004-06-18 Thread Noel Gifford
I sent this snippet as a response to one of your other requests, but here it is again. I originally tried the commandline attribute also. The arg element collection seems to be easier to get correct.

RE: [Nant-users] Errors with installed programs

2004-06-18 Thread Noel Gifford
Jean-Michel, The easiest way to debug issues with build script files is to reduce the script file to a manageable size (usually only the task that you're trying to get to work). Slowly enhance the build script to do more. It looks like you're trying to run the exec task and execute devenv.exe.

RE: [Nant-users] Doesn't finish it's target once it finds an error??!!

2004-06-18 Thread Noel Gifford
Jean-Michel, When a task fails, the entire build fails unless you specify failonerror = "false" for the task (and then I don't know whether you get any indication that there was a failure). To trap the failure, set the nant.onfailure property to the target that you want executed when the build

RE: [Nant-users] Help with "Getting SourceCode from VSS"

2004-06-14 Thread Noel Gifford
Do you have NAntContrib installed. I copy the contents of the bin directory of NAntContrib into the bin directory of NAnt. VSS support is located in NAntContrib. Noel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nadine Schlaudraff Sent: Monday,

RE: [Nant-users] Need help for getting source file from VSS

2004-06-08 Thread Noel Gifford
From looking at it, I’d say that you need the ‘password=’ attribute   Noel   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Ding, Patty Q. Sent: Tuesday, June 08, 2004 6:32 AM To: [EMAIL PROTECTED] Subject: [Nant-users] Need help for getting sou

RE: [Nant-users] Solution task prerequisites

2004-06-03 Thread Noel Gifford
The SDK is needed because the Nant tasks use the compilers and other utilities. Noel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Garth Ormsby Sent: Thursday, June 03, 2004 8:38 PM To: 'Gert Driesen'; [EMAIL PROTECTED] Cc: Daniel Hamilton

RE: [Nant-users] xmlpoke request

2004-05-26 Thread Noel Gifford
I didn't get a response, so I'll try sending this request again. Specifically, I want to add my built DLL files to the FxCop configuration file from within Nant. I can't figure out how to accomplish this with the task. Thanks, Noel -Original Message- From: [EMAIL PROTECTED] [mailto

[Nant-users] xmlpoke request

2004-05-21 Thread Noel Gifford
All, I have an XML file that I want to use xmlpoke to expand to the following format <>

RE: [Nant-users] Target If property...

2004-05-21 Thread Noel Gifford
if RunTarget is 'true' then all three targets are executed if RunTarget is 'false' then First is executed because Third depends on it, but Second is not executed Below are the actual results of the following script:

RE: [Nant-users] task to test a target won't work

2004-05-20 Thread Noel Gifford
Jeroen,   Change this   to       The following script shows how to use the target function:                                                            Noel   -Original Message- From: [EMAIL PROTECTED] [ma

RE: [Nant-users] testcase attribute on Nunit2 task not working

2004-05-12 Thread Noel Gifford
Sonali, The obvious change is that the attribute to use is testname, not testcase. I haven't tried it, so I don't know if that's the only problem. Noel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, May 12, 2

RE: [Nant-users] cvs updating

2004-05-11 Thread Noel Gifford
From the documentation -- http://nant.sourceforge.net/nightly/help/tasks/cvs-update.html   Update your NAnt revision named your_favorite_revision_here in the folder c:\src\nant\replacement_for_module_directory_name. destination="c:\src\nant\" cvsroot=":pserver:[EMAIL PROTECTED]

RE: [Nant-users] 403 forbidden

2004-05-10 Thread Noel Gifford
Sandeep,   If you just copied this code, then the issue code be that the has a left parenthesis where a left brace should be.       should be     Noel     -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Sandeep Sudheendra Sent:

RE: [Nant-users] biztalk

2004-05-09 Thread Noel Gifford
Title: biztalk Chris,   I’m just starting to work with biztalk and I am using Nant to build it.   I have to devenv because the task doesn’t support BizTalk projects yet (btproj)   Noel   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Chr

RE: [Nant-users] delete all files and folders in a directory

2004-04-30 Thread Noel Gifford
Gert, I'd like a parameter added to the delete task (or maybe the fileset task) specifying whether directories should be deleted. When I used the task I expected only the files to be removed. Bob, I sent this back on April 5th. Guess it didn't get through. Bob, The script below in

RE: [Nant-users] Problem following upgrade from Win2000 to XP

2004-04-29 Thread Noel Gifford
You can also use these instructions to change the default framework http://nant.sourceforge.net/faq.html#change-targetframework -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Etheridge Sent: Thursday, April 29, 2004 4:19 AM To: 'Gert Dri

RE: [Nant-users] Conditional copy

2004-04-14 Thread Noel Gifford
copy   On a related subject, I am seeking to use VB6 project that happens to use SourceSafe. SourceSafe asks for a login via a message box. How can I mechanize this using nant? Thank you "Noel Gifford" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 04/14/2004 02

RE: [Nant-users] Conditional copy

2004-04-14 Thread Noel Gifford
Title: Message Jo,   The code below shows the usage of the ‘if’ attribute in an element using the _expression_ evaluator. It should work exactly the same with the element, which is what you want.                               Let me know if you need

RE: [Nant-users] Class Files All Over The Place

2004-04-08 Thread Noel Gifford
                                                                                          Noel Gifford       -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Brian Beaudet Sent: Thursday, April 08, 2004 10:50 AM To: [EMAIL PROTECTED] Subject: [Nant-users] Class

RE: [Nant-users] not working for me...

2004-04-07 Thread Noel Gifford
Looking at the echo'ed output which shows C:\morsli00_OdinFD\Odin\WebServer\WebApp\mainpage.csproj Vs the which is http://localhost/OdinMain/"; /> It looks like your webmap needs to pre-pend C:\morsli00_OdinFD Actually, since you're using ${WebAppDir} in the echo Why don't you als

RE: [Nant-users] Newbie Question Regarding Referencing Assemblies

2004-04-06 Thread Noel Gifford
Change your to reference the DLL in the binDebug directory                                         Noel   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Brian B

RE: [Nant-users] Newbie Question Regarding Referencing Assemblies

2004-04-06 Thread Noel Gifford
Using  also works                                           -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Brian Beaudet Sent: Tuesday, April 06, 2004 12:54 PM

RE: [Nant-users] Deleting files?

2004-04-05 Thread Noel Gifford
Gert, I'd like a parameter added to the delete task (or maybe the fileset task) specifying whether directories should be deleted. When I used the task I expected only the files to be removed. Bob, The script below in target "use_foreach" will delete all files below ${DelDir} and leave the di

RE: [Nant-users] mkiisdir doesn't display any output

2004-04-04 Thread Noel Gifford
2004 1:09 AM To: Noel Gifford; [EMAIL PROTECTED] Subject:Re: [Nant-users] mkiisdir doesn't display any output Noel, What version of NAnt/NAntContrib are you using ? Can you try using the latest nightly build of both NAnt and NAntContrib, and report back ? Thanks, Gert

RE: [Nant-users] mkiisdir doesn't display any output

2004-04-03 Thread Noel Gifford
:[EMAIL PROTECTED] On Behalf Of Noel Gifford Sent: Saturday, April 03, 2004 4:43 PM To: [EMAIL PROTECTED] Subject:[Nant-users] mkiisdir doesn't display any output Gert, When doing mkiisdir, no output is generated. Other commands output (ie: [vssget]), but I don't get any i

[Nant-users] mkiisdir doesn't display any output

2004-04-03 Thread Noel Gifford
Gert, When doing mkiisdir, no output is generated. Other commands output (ie: [vssget]), but I don't get any information from mkiisdir. Thanks, Noel --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by

RE: AW: [Nant-users] Solution Task and Strong Names

2004-03-30 Thread Noel Gifford
Taken from: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/ tdlg_ch5.asp Don't Alter the Build Output Path You might be tempted to alter the output paths of your projects in order to build to a single folder and then establish file references to that folder. Do not do t

[Nant-users] CSC Task doesn't work from slingshot generated build file with current nightly build

2004-03-19 Thread Noel Gifford
All, I have a slingshot generated build file that works using 0.84.1455.0. I installed the latest nightly build - 0.85.1538.0 (20040318) Using 0.85.1538.0, I get the following error: An empty string is not a valid value for attribute 'Doc' of

RE: [Nant-users] Test Cases in NAnt

2004-03-19 Thread Noel Gifford
Title: Test Cases in NAnt There aren’t any “common” Nunit tests to run.   You have to create your Nunit tests manually to verify that each area of your code is working properly. Nunit is designed for Test-Driven Development or Test-First Development.   In XP, determine what task you w

RE: [Nant-users] Getting Code from VSS via NAnt

2004-03-19 Thread Noel Gifford
Title: RE: [Nant-users] Getting Code from VSS via NAnt Yes, you just use the syntax.  Of course, the property will now be changed globally – not just in the target.   Noel   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Bonnett, Evan A Sent:

RE: [Nant-users] nant 0.85

2004-03-18 Thread Noel Gifford
I second the request for a 0.85 official release. I need regular expressions and such. My company won't let me bring the nightly builds into the environment. I'd like to do the following, but can't figure out how to get it all to work with the current 0.84 release

RE: [Nant-users] task

2004-02-01 Thread Noel Gifford
The path C:\WINDOWS\System32.shdocvw.dll should have a backslash between System32 and Shdocvw.dll It should be C:\WINDOWS\System32\shdocvw.dll Noel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jaroslaw Kowalski Sent: Friday, January 30, 2004 9:58 PM T

RE: [Nant-users] Re: Obsolescing NAntContrib

2003-09-11 Thread Noel Gifford
In order to get NAntContrib to compile with the current NAnt codebase, I had to modify Task\WsdlTask.cs and Task\XsdTask.cs. SdkExternalProgramBase is no longer a valid NAnt base class. It looks like NAnt has changed it to just ExternalProgramBase. I changed the two files so that their classes de

RE: [Nant-users] Re: Obsolescing NAntContrib

2003-09-10 Thread Noel Gifford
-- :pserver:[EMAIL PROTECTED]:/cvsroot/ccnet Module -- ccnet CVSRoot -- :pserver:[EMAIL PROTECTED]:/cvsroot/nunit Module -- nunit20 I hope these help. Noel Gifford -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Foley, Cash Sent: Wednesday, Septembe