FW: [Nant-users] Nant looping functionality

2005-03-15 Thread Ernst Kuschke
Hi,   There’s a task called foreach, which might be just what you’re looking for:   http://nant.sourceforge.net/release/latest/help/tasks/foreach.html   -Ernst Kuschke http://dotnet.org.za/ernst   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shoukri Khelfa

RE: [Nant-users] Nant looping functionality

2005-03-15 Thread Trevor Green
You will probably have to use the task. Try the following:

 


[Nant-users] Fileset and loops

Hi, Is there any way to loop in a fileset over a list property? I'm trying to set an fxcop task like this: But I don't want to specify every project on all related tasks (NUnit and such). Instead, I'd like to set a list property "${subprojects} = "

RE: [Nant-users] Fileset and loops

Hi Leonardo, You can do this with the task by using the file object. E.g. The block can be either a fileset definition or a refid to a fileset you've defined elsewhere. The prop.file proper

Re: [Nant-users] Fileset and loops

That second choice was exactly what I was looking for. Thanks! Leonardo On Tue, 15 Mar 2005 16:45:45 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi Leonardo, > > You can do this with the task by using the file object. E.g. > > > > >

[Nant-users] Property not being set when including buildfile

Title: Property not being set when including buildfile Hi all, It's been a while.  Here's my problem: From the main buildfile, I iterate through a file and pull the csproj file.  Then, I generate the buildfile using XSLT and the csproj file and call the generated build file.  Below is an

Re: [Nant-users] Property not being set when including buildfile

Evan, If I read this right, your two files are in different namespaces, so the property names are actually different. Merrill --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from rea

[Nant-users] prj2make and .build files

Hi folks: Is there an XML schema that documents the NAnt build file? In the Mono project we have a mechanism to generate both make files and #Develop compatible solution and project file types. At there are a few other projects that have evolved from the original prj2make-sharp core. For the m

Re: [Nant-users] prj2make and .build files

Francisco T. Martinez wrote: Hi folks: Is there an XML schema that documents the NAnt build file? In the Mono project we have a mechanism to generate both make files and #Develop compatible solution and project file types. At there are a few other projects that have evolved from the original pr

RE: [Nant-users] prj2make and .build files

I think this is in the FAQ, but basically you want to use the task. Here's what I do: http://nant.sourceforge.net/schema/"/> -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francisco T. Martinez Sent: Tuesday, March 15

RE: [Nant-users] Property not being set when including buildfile

Thanks Merrill. Appreciate the help. That was it. Thanks, Evan A. Bonnett Reynolds & Reynolds, IT ERA Integrated Desking Development 937-485-8577 Confidentiality Statement: this message is confidential and may contain confidential information. it is intended only for the individual[s] named

Re: [Nant-users] prj2make and .build files

Scott Carr wrote: Francisco T. Martinez wrote: Hi folks: Is there an XML schema that documents the NAnt build file? In the Mono project we have a mechanism to generate both make files and #Develop compatible solution and project file types. At there are a few other projects that have evolved fro

Re: [Nant-users] Fileset and loops

>From: <[EMAIL PROTECTED]> >Sent: Tuesday, March 15, 2005 11:45 AM >You can do this with the task by using the file object. E.g. > > I know you were right on target with your second suggestion of a separate fileset and references, but I want to point out that another option

Re: [Nant-users] task hangs

>From: <[EMAIL PROTECTED]> >Sent: Monday, March 14, 2005 10:08 AM >The problem I have, is that if my main build script fails, it seems to hang >the task. Is there a known problem with shelling to batch files >which fire off NAnt? If not I'll try to create a repro for it to submit, >but I thoug

[Nant-users] having trouble with vsshistory task

Hello, I know that using the VSS client, I can place "D03/15/05;1:00p" in the History To field (as mentioned in the VSS online help". However, if I try to use this or just "03/15/05;1:00p" in vsshistory's "todate" attribute, I will get the following: '3/15/05;1:00p' is not a valid value for

RE: [Nant-users] having trouble with vsshistory task

The vsshistory task uses the .net date parsing facilities. If you use a string that .net can parse into a date, you will be able to set the date/time without a problem. Here's a link that describes the parsing (might wrap): http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/h tm

[Nant-users] How To Use Variable in delete if construct

I have the following line in my build file         Using the variable ${src.dir} inside the exists() call does not work.  What is the syntax for using a variable inside the exists() function?   Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more.

Re: [Nant-users] How To Use Variable in delete if construct

>From: "bleedledeep" <[EMAIL PROTECTED]> >Sent: Tuesday, March 15, 2005 4:05 PM > I have the following line in my build file > > > Never nest $ operations. The way to write this is: Everything inside the {...} gets interpreted in the context of the expression language, which means th

Re: [Nant-users] Fileset and loops

Is it possible to pre-defined a fileset before using it???. To keep things neat, I want to predefined a fileset instead of using it first in a foreach, or copy task. However, I don't think this is possible. [EMAIL PROTECTED] wrote on 03/15/2005 11:47:28 AM: > That second choice was exactly wh

[Nant-users] includefile question

Hi, I am using the csc task with the following: as a child of the references tag. The includesfile is being executed whether the file exists or not. I have some test code and the file::exists function does appear to be working correctly. Am I using the tag incorrectly? Thanks, Dan ---

Re: [Nant-users] prj2make and .build files

Hi Paco, Francisco T. Martinez wrote: I am interested in studying the potential to add support for generating build files from prj2make and could use such schema. You may be interested in the slingshot code that exists in NAntContrib. This is a tool to generate build files from vs.net project fi

[Nant-users] task template issue

Title: task template issue I have noticed that the msi databases that are created using the msi task have an illegible title on both the VerifyRepairDlg and VerifyRemoveDlg dialogs.  After chasing this down, it appears that this results from the fact that the Windows Installer cannot handle

RE: [Nant-users] Configuration error?

  I would be very interested in a solution. But it is good to know that this is a real problem that others are experiencing.   Kevin   From: Pat Pattillo [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 7:37 PM To: Burton, Kevin Cc: [EMAIL PROTECTED] Subject: RE: [Nant-

Re: [Nant-users] prj2make and .build files

Ian MacLean wrote: Hi Paco, Francisco T. Martinez wrote: I am interested in studying the potential to add support for generating build files from prj2make and could use such schema. You may be interested in the slingshot code that exists in NAntContrib. This is a tool to generate build files fro

RE: [Nant-users] includefile question

Hi Dan, This issue is now fixed in cvs. Thanks for the report ! Gert > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dan Munk > Sent: woensdag 16 maart 2005 0:26 > To: nant-users@lists.sourceforge.net > Subject: [Nant-users] includefile question

RE: [Nant-users] How To Use Variable in delete if construct

In functions, you do not need to enclose references to properties in braces. So use this instead :         Hope this helps,   Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bleedledeepSent: dinsdag 15 maart 2005 22:06To: nant-users@lists.sourceforge.netS

RE: [Nant-users] Configuration error?

Hi,   Is that assembly either located in the GAC or in the same directory as you NUnit Test assembly ?   Do you have a repro for this ?   Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Burton, KevinSent: woensdag 16 maart 2005 3:44To: Pat Pattillo; [EMAIL