[Nant-users] merrill.cornish@earthlink.net

2004-07-29 Thread Madhan Retnaswamy
Hi, I am not able to get my build working. This is my Build Script snap shot. The Build Script is not able to reference the dlls in the assembly forlder. It breaks at my DataAccess Project where i am referencing the Exception Management project which in tur

RE: [Nant-users] Optimizing nested NAnt builds

2004-07-29 Thread Troy Laurin
> Let me explain the problem in a bit more detail. > > [snip] > > So here's the question: Will the parent build invoke the > child once or twice? Ahh, I see the problem. > But, other than onsuccess/onfailure, there's no > way I can see to tell NAnt to do this after both the build > and test

RE: [Nant-users] RE: Conditional arguments in

2004-07-29 Thread Troy Laurin
> > > What would be nice is a patch to exec's arg elements to delay > > > expansion > > > of properties in the same fashion as property's value > attribute. It > > > shouldn't be a difficult patch... if people are interested in this > > > change, and I don't get indication that it's a bad idea,

RE: [Nant-users] Conditional arguments in

2004-07-29 Thread Troy Laurin
> If you're going to do this, would it also be possible to have > as well as . A switch or choose structure is much cleaner (IMHO) for this kind of pattern in xml. elseif works well in code, but tends to cause indentation blowout in xml: Disclaimer Message:

RE: [Nant-users] Conditional arguments in

2004-07-29 Thread Troy Laurin
A patch to the if task (and associated tests) is available here: http://sourceforge.net/tracker/index.php?func=detail&aid=972927&group_id =31650&atid=402871 or http://tinyurl.com/3lxae This implementation supports the structure: as well as (the IMHO more correct):

Re: [Nant-users] not evaluated?

2004-07-29 Thread Gary Feldman
>From: "Merrill Cornish" <[EMAIL PROTECTED]> >Sent: Thursday, July 29, 2004 3:03 PM ... > The problem occurs if the if-test is checking for existence of a property >name that the rest of the task is referencing. It appears that when entire >task element is parsed (which exposes the undefined prop

Re: [Nant-users] msi, components, and subdirs

2004-07-29 Thread Ted Quinby
NAnt 0.85 (Build 0.85.1670.0; net-1.1.win32; nightly; 7/28/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net Framework 'mono-1.0' is invalid and has not been loaded : Registry Path Not Found! - key='SOFTWARE\Mono\1.0\';hive='Microsoft.Win32.RegistryHive[]'; Framework 'sscli-1.0

Re: [Nant-users] not evaluated?

2004-07-29 Thread Merrill Cornish
>>>I recently went through our build files, changing all the >>>single-element uses of into the above style. I did something like that--and got bitten. The problem occurs if the if-test is checking for existence of a property name that the rest of the task is referencing. It appears that when

Re: [Nant-users] msi, components, and subdirs

2004-07-29 Thread Gert Driesen
Ted, Can you run the build in verbose mod (NAnt.exe -verbose ) and send us the output ? Thanks, Gert - Original Message - From: "Ted Quinby" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 29, 2004 3:37 PM Subject: [Nant-users] msi, components, and subdirs > My in

Re: [Nant-users] not evaluated?

2004-07-29 Thread Gary Feldman
>From: "Burton, Kevin" <[EMAIL PROTECTED]> >Sent: Thursday, July 29, 2004 1:52 PM >So can only surround one task? I notice that you > have around each of the tasks. I have > an that surrounds >both and . Not only can it surround more than one task, but that's pretty much the only reason

RE: [Nant-users] not evaluated?

2004-07-29 Thread Gifford, Noel
You can put as many tasks within the as you want. I was experimenting with different forms of the test. In fact, I removed the tests that I had in the script. Noel -Original Message- From: Burton, Kevin [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 10:52 AM To: Gifford, Noel

RE: [Nant-users] not evaluated?

2004-07-29 Thread Burton, Kevin
So can only surround one task? I notice that you have around each of the tasks. I have an that surrounds both and . Kevin -Original Message- From: Gifford, Noel [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 12:47 PM To: Merrill Cornish; Burton, Kevin; [EMAIL PROTECTED] Sub

RE: [Nant-users] not evaluated?

2004-07-29 Thread Felice Vittoria
Noel, Ok .. so I was wrong .. only 1 equal sign. Sorry about that. Felice -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gifford, Noel Sent: Thursday, July 29, 2004 12:47 PM To: Merrill Cornish; Burton,Kevin; [EMAIL PROTECTED] Subject: RE: [Nant-users]

RE: [Nant-users] not evaluated?

2004-07-29 Thread Gifford, Noel
Kevin, The following script works for your question: C:\Projects\NANT-0~1.85->bin\nant /f:Test.build NAnt 0.85 (Build 0.85.1664.0; net-1.0.win32; nightly; 7/22/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.

Re: [Nant-users] not evaluated?

2004-07-29 Thread Merrill Cornish
>>> property::exists(project.config) I think what you want is property::exists('project.config'). Otherwise, you are checking the existence of the property NAMED in the value of the project.config property. Merrill --- This SF.Net email is

RE: [Nant-users] not evaluated?

2004-07-29 Thread Felice Vittoria
Kevin, I think you need to change: if=... = 'debug' to: if=... == 'debug' That is, double the equal sign. HTH, Felice -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Burton, Kevin Sent: Thursday, July 29, 2004 12:05 PM To: [EMAIL PROTECTED] Subject

[Nant-users] not evaluated?

2004-07-29 Thread Burton, Kevin
The output for the build looks like: Buildfile: file:///D:/Projects/Visa/MR0804/Application Server Code/ErrorLog/default.build Target(s) specified: build build: Build succeeded

Re: [Nant-users] Optimizing nested NAnt builds

2004-07-29 Thread Gary Feldman
>From: "Troy Laurin" <[EMAIL PROTECTED]> >Sent: Tuesday, July 27, 2004 9:49 PM ... >What do you mean though, that you don't know how to do this with NAnt's >current design? The 'target' attribute of the nant task allows >specifying multiple space-separated targets, which will be called in >order

Re: [Nant-users] RE: Conditional arguments in

2004-07-29 Thread Gert Driesen
> - Original Message - > From: "John Ludlow" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, July 29, 2004 5:37 PM > Subject: [Nant-users] RE: Conditional arguments in > > > Currently, the only way (AFAIK) to do what you want is to > > duplicate the > > exec task and sur

[Nant-users] Conditional arguments in

2004-07-29 Thread John Ludlow
> +1 to either of the ideas. Having an else is a must. > > I wonder if it would be doable to have: > > > > 'then' tasks here > > > > 'else' tasks here > > > > Jarek If you're going to do this, would it also be possible to have as well as . *

[Nant-users] RE: Conditional arguments in

2004-07-29 Thread John Ludlow
> Currently, the only way (AFAIK) to do what you want is to > duplicate the > exec task and surround it with guarding if/ifnot statements: Eeewww... Ok, I might do that. > I think this is because the xml parser isn't a validating parser, but > the exec task doesn't have the required structure

RE: [Nant-users] msi, components, and subdirs

2004-07-29 Thread Ted Quinby
Here is a more accurate output of the msi task that I sent earlier -- I had an additional SIS directory in the ProgramMenuFolder that I forgot to comment out and it showed up in the output (no big deal but I didn't want to send anyone on the wrong track) Ted NAnt 0.85 (Build 0.85.1670.0; net-1.

Re: [Nant-users] unable to build nantcontrib

2004-07-29 Thread Gert Driesen
Steve, Are you sure you're using a recent version of NAntContrib ? I have no problems here, and your build files for NAntContrib definitely look outdated. Gert - Original Message - From: "Steve Burkett" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 28, 2004 7:21 PM

Re: [Nant-users] lc.exe issues with nant and active reports

2004-07-29 Thread Gert Driesen
Malcolm, What version of NAnt are you using ? You can create a log file using : NAnt.exe -buildfile: -verbose -logfile:log.txt Can you send me that log file ? Thanks, Gert - Original Message - From: "Malcolm MacLucas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July

RE: [Nant-users] msi, components, and subdirs

2004-07-29 Thread Gifford, Noel
Ted, I looked on NAntContrib and a build that would include the keepsubdirs attribute isn't there yet. The 20040723 is the latest build that's available and it was my starting point for adding the keepsubdirs attribute. Once a build is available, the following might be informative. I'm learning

Re: [Nant-users] Conditional arguments in

2004-07-29 Thread Jaroslaw Kowalski
+1 to either of the ideas. Having an else is a must. I wonder if it would be doable to have: 'then' tasks here 'else' tasks here Jarek - Original Message - From: "Gert Driesen" <[EMAIL PROTECTED]> To: "McCullough, Gary" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thur

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

2004-07-29 Thread Gary Feldman
>From: "Troy Laurin" <[EMAIL PROTECTED]> >Sent: Tuesday, July 27, 2004 10:13 PM >... >Unless the programmer is familiar with functional programming styles) - >being targets and dependencies. Actually, NAnt's style is mostly declarative, not functional. There's functional-style stuff happening un

RE: [Nant-users] msi, components, and subdirs

2004-07-29 Thread Ted Quinby
Thanks for the response. I guess I neglected to mention that I am using the nightly build of NAntContrib. A related process question here. I downloaded the xsd you pointed me to and copied it to my nantcontrib src directory (wherever the other version of the older xsd was), rebuilt nantcontr

RE: [Nant-users] msi, components, and subdirs

2004-07-29 Thread James Geurts
Hi Ted, Sorry, I should have mentioned that the xsd file that I pointed you to was the most recent version, thus only valid for a nightly build of NAntContrib. Also, the keepsubdirs attribute was just recently added, so it would only be valid in a very recent nightly build of NAntContrib. Is ther

Re: [Nant-users] .NET resources.

2004-07-29 Thread Gert Driesen
Kevin, If you want NAnt to generate manifest resource names that match those of VS.NET, you should configure the element like this : eg. Hope this helps, Gert - Original Message - From: "Burton, K

[Nant-users] .NET resources.

2004-07-29 Thread Burton, Kevin
I seem to have a problem with embedding resources in a DLL. Here is my build task: The output looks like: [ec

[Nant-users] msi, components, and subdirs

2004-07-29 Thread Ted Quinby
My installation has the following directory hierarchy/structure: > All files in all components saved to the Main_Install_Folder are added to the MSI without a problem. When the msi task hits one of the subdirectory components (with multiple f

Re: [Nant-users] Conditional arguments in

2004-07-29 Thread Gert Driesen
Gary, The choose pattern is something I had in mind myself, so we might wanna add this to the release plan for NAnt 0.8x (or 0.9), after all of the troops have given their ok ... Gert - Original Message - From: "McCullough, Gary" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursda

RE: [Nant-users] Conditional arguments in

2004-07-29 Thread McCullough, Gary
On this note, let me throw in a wishlist item: I wish nant supported an if/else structure! Perhaps something like this: Or perhaps follow the xslt choose pattern? Or perhaps do