Re: [NAnt-users] Any way to apply in place?

2007-01-24 Thread Gary Feldman
Mark Modrall wrote: > > Hi… > > I was thinking of using to swap in some build time and > version info at nant time in my AssemblyInfo.cs’es, but according to > the docs, those elements are only applicable to and . I’d > like to simply do the substitutions in place. I can always svn revert > w

Re: [NAnt-users] Error "SDK for the net-x.x framework is notavailableor not configured"

2007-01-23 Thread Gary Feldman
Bob Archer wrote: > > Yes, I believe you should. I think Nant will target whatever version > of the FW it is running under for builds. And, I believe it runs on > the newest version of the FW that is found. > Off the top of my head, I believe the nant.exe.config file controls how the default fr

Re: [NAnt-users] Running a NAnt build from custom C# code

2007-01-17 Thread Gary Feldman
Myles Jeffery wrote: > I am writing an MSI installer. I want to use NAnt as the backbone for > performing all the installation tasks. How can I call a NAnt project via C#? > I don't know of an API, but you can always start it up via the Process class. But are you really sure you want to do th

Re: [NAnt-users] How to import/checkin files into CVS?

2007-01-15 Thread Gary Feldman
Bobby Michael wrote: > > I need to check-in (import) files to CVS. Can anyone please help me > how to achieve this task using nant scripts? > In the documentation I have seen tasks like cvs-export, cvs-checkout > but I didn't find cvs-import/cvs-checkin. I appreciate if someone can > provide a s

Re: [NAnt-users] how to use nant to build .Net solutions with OCX control?

2006-12-17 Thread Gary Feldman
Han Ouyang wrote: > I wanted to buid a solution which include projects as follows: > a VC project of OCX control and > a VB demo project > > in VS.NET enviroment, if i choose rebuid all, the IDE > will rebuild the solution and register the control > automatically. However, how to

Re: [NAnt-users] Mail Task and Property Expansion

2006-12-17 Thread Gary Feldman
SPEAR, Adrian, GBM wrote: > I recently extended the source for the Mail task to allow property > expansion in files used to construct the body of the mail message - I > think this would make for a good feature addition to the Mail task. > At a minimum, there needs to be a way to control whether o

Re: [NAnt-users] ASP.NET Deployment Package via NAnt

2006-12-04 Thread Gary Feldman
Simon Whittemore wrote: > I am investigating creating a MSI package for deployment of web > applications with NAnt. We already have an MSI built in Visual Studio, > I would now like NAnt to produce this. > > I see there is an NAntContrib task called msi, and there is the tool > Wix that seems to ac

Re: [NAnt-users] iif type expression

2006-12-03 Thread Gary Feldman
Gert Driesen wrote: > > > > ${if (property::get-value('language')=='C#', '.cs', '.vb')} > I'm not sure if the D# was deliberate or a typo, but it highlights that this approach doesn't handle the case when language isn't set properly, nor does it scale well beyond two choices. I'd prefer

Re: [NAnt-users] Query regarding nant contrib and Installshield.

2006-11-29 Thread Gary Feldman
santosh wrote: > > I have a query since I have created a MSI file with nantContrib and > need to do some modification through install shield like adding Com+ > Component, Creating Database and after doing modification I want > rebuild that MSI through install shield. > > > > I am unable to fin

Re: [NAnt-users] setting flags and acting on them

2006-11-29 Thread Gary Feldman
Michael Jervis wrote: > If one or more lines contains fail, I want to fail the build, but only > after I've looped all rows and printed out the fails, so my build log > email will look like: > > [echo] Change 1 failed > [echo] Change 87 failed > [echo] Change 987 failed > [fail] Build failed, one o

Re: [NAnt-users] bug

2006-11-27 Thread Gary Feldman
Lucio Assis wrote: > I think I found a bug related to the task. Check out this > very simple example: > It's not a bug, it's the way XML works (without making NAnt jump through hoops). > [default.build] > > xmlns="http://nant.sf.net/release/0.85-rc4/nant.xsd";> > By including this here, X

Re: [NAnt-users] Help required for build numbering by NAnt script.

2006-11-27 Thread Gary Feldman
Bob Archer wrote: > > Take a look at the version task and the asminfo task… with these you > should be able to accomplish this. I think both of these tasks are in > the contrib. dll. > The asminfo task is in NAnt, while version is in NAntContrib. Another option, which is the one I recommend, is

Re: [NAnt-users] how to merge NAnt and Windows DDK tools?

2006-11-27 Thread Gary Feldman
Melissa Kacher wrote: > 1) String these commands all together with & in one I don't think this will work. Isn't the & processed by cmd.exe, which NAnt bypasses with (unless you specifically invoke it)? Gary - Take Surve

Re: [NAnt-users] how to merge NAnt and Windows DDK tools?

2006-11-27 Thread Gary Feldman
Kropacek, Miroslav wrote: > > I’ve got a little problem: I have to use Windows DDK’s tools as > build.exe for building some older project. The problem is that > build.exe needs to run a script called “setenv.bat” where can be found > a lot of env. settings etc. Normally it works as follows: > >

Re: [NAnt-users] Does NAnt have a "while" capability?

2006-11-15 Thread Gary Feldman
Michael Frederick wrote: > Well, CCNet can do a "wait for multiple files to appear and start a > project", but the changes all have to appear within one CCNet > project-defined polling interval. Since I mentioned that the 3 worker > projects may finish hours apart, I'm not sure if this is a goo

Re: [NAnt-users] Does NAnt have a "while" capability?

2006-11-15 Thread Gary Feldman
Nguyen, Daniel wrote: > Michael, > > My following suggestions may sound like a quick, ugly *hack*, so > please take it with a grain of salt. > > If project B has to wait for project A to complete, can you place a > call at the end of the project A to call project B once it's completed > its

Re: [NAnt-users] [nant-dev] NUnit2 task doubt. How can I run ALL test assemblies in the fileset with task-global fail on error?

2006-11-14 Thread Gary Feldman
Alexey 0 Moudrick wrote: > Hello, nant-developers, I've redirected this to nant-users, which is more appropriate. > > > > > failonerror="${nunit2.failonerror}"> >outputdir="${this.branchPath}${this.testsDir }Results" /> > > > > > > >

Re: [NAnt-users] Automate the build staging process to CVS respository using NAnt.

2006-11-13 Thread Gary Feldman
Chandra Medidi wrote: > Hi everyone, > > Gary, Thanks for your response. > > At present we are using NAnt build scripts to generate a zip file > after compiling the source code. Then we are staging the zip file to a > separate staging area manually. Now we are planning to automate this > sta

Re: [NAnt-users] GCC using nant

2006-11-13 Thread Gary Feldman
Bonio Lopez wrote: > Hi, > Has anybody managed to compile C++ projects with gcc using nant a with > header files dependency tracking? > If yes, may be you want to share the code. > Personally, I'd use gmake, which is already a perfectly fine solution, and one for which you'll find much more int

Re: [NAnt-users] Trouble with dependancys and directories.

2006-11-13 Thread Gary Feldman
Kristoffer Roupé wrote: > ... > My dependancies is: > Project Depends on > = > ProjectA ExternalProject > ProjectATests ProjectA > > I'm using to include ExternalProject.build into ProjectA.build > to ensure that > ExternalProject is build b

Re: [NAnt-users] Automate the build staging process to CVS respository using NAnt.

2006-11-13 Thread Gary Feldman
Chandra Medidi wrote: > Hi everyone, > > We are planning to automate the build staging process to CVS > repository using NAnt. Can anyone help me how to achieve this task > using NAnt. Is it really possible? If so how? Please let me know You'll have to define the problem in more detail. Gary

Re: [NAnt-users] Manipulate property?

2006-11-08 Thread Gary Feldman
Roland Müller wrote: > ... > This works. > By the way, if this worked, then either you're using a very old version of NAnt, or this has changed since the July version that I have installed on this machine. > But I am looking for a single task where i can do this in one line. Or > Let me ad

Re: [NAnt-users] Manipulate property?

2006-11-08 Thread Gary Feldman
Roland Müller wrote: > ... > I call "nant -D:customer=FladDemo"! > > I have now this solution for lowering: > > > > > > > This works. > But I am looking for a single task where i can do this in one line. Or > how can i set a property with a default property and overwrite it in the > same

Re: [NAnt-users] building nant tasks in parallel

2006-10-25 Thread Gary Feldman
Jon W wrote: > I have a C++ product that takes ~3 hours to build both Debug and > Release versions. With the multiple core cpus available, I would like > to be building the Debug and Release versions at the same time. > Having a multiple core CPU is only going to help if the build is CPU bound

Re: [NAnt-users] deploying to remote server using NAnt

2006-10-13 Thread Gary Feldman
end replies to both the list and the individual. It means we get two copies. > Thanks > Mandar > > --- Gary Feldman <[EMAIL PROTECTED]> > wrote: > > >> mandar ambre wrote: >> >>> Hi Guys, >>> >>> Is anybody aware of how to d

Re: [NAnt-users] deploying to remote server using NAnt

2006-10-13 Thread Gary Feldman
mandar ambre wrote: > Hi Guys, > > Is anybody aware of how to deploy to a remote test > server using NAnt or any other automation tool.We are > currently using NAnt and CruiseControl to create daily > builds on a build server and then we copy these builds > over to the test server.But I wanted to k

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

2006-10-13 Thread Gary Feldman
Chris Lambrou wrote: > Thanks for replying. One of the reasons I wanted a looping task was that > I wanted to repeat the execution of a continuous build process until a > fixed time (say 8 o'clock in the evening). In the end, I resorted to > using a custom script task as follows: > If you mean c

Re: [NAnt-users] [nant-dev] Building VS2005 projects using NANT 8.5 rc4

2006-10-11 Thread Gary Feldman
Ramprakash Gopinathan wrote: > > thanks for the response, I had looked at using msbuild task from nant > contrib, msbuild task basically works on project file, there is no > solution build concept in msbuild which makes it hard. Sure it does. You just pass the solution file as the project="..."

Re: [NAnt-users] How to create separate logs for output

2006-10-10 Thread Gary Feldman
Michael Frederick wrote: > I need a little help. We use CruiseControl.NET to drive a project > that includes a NAnt task which internally drives a MSBuild task. I > would like to have the MSBuild output logged separately; then I will > have CruiseControl.NET pull it all back together. This sh

Re: [NAnt-users] VS2005 Web Application Projects

2006-10-03 Thread Gary Feldman
Bob Archer wrote: > I think aspnet_compiler is used for Web "Site" projects not for Web > "Application" projects. The difference is that a Web "Site" does not > actually have a project (.csproj/.vbproj) file where a web application > project does. > Ah, yes, trust Microsoft to introduce termino

Re: [NAnt-users] VS2005 Web Application Projects

2006-10-03 Thread Gary Feldman
t. > > Thanks, > Marc > > > ________ > > Van: Gary Feldman [mailto:[EMAIL PROTECTED] > Verzonden: di 3/10/2006 14:43 > Aan: Nemegeer, Marc > Onderwerp: Re: [NAnt-users] VS2005 Web Application Projects > > > > Nemegeer, Marc wrote: >

Re: [NAnt-users] Calling other Nant build projects from within acurrently running Nant build question?

2006-09-29 Thread Gary Feldman
Michael Frederick wrote: > I'd like to broaden his request a bit. One of the things I'm going to > need to do is to take segments of a NAnt-directed build and break the > output into separately viewable areas of the dashboard. The easiest way to do this is to use the XML output logger, and then u

Re: [NAnt-users] How to NOT display output from an task

2006-09-25 Thread Gary Feldman
Michael Frederick wrote: > I have an task which produces output that I want to capture in > a file, but not have present in the NAnt output. No matter what > combination of settings I have tried I cannot seem to produce this > result. Here's the original project file: > ... > > I have tried

Re: [NAnt-users] Error loading GUID

2006-09-25 Thread Gary Feldman
Rob McEllhiney wrote: > > Gert, > > > > I am a little confused? The home page says that Framework 2.0 is now > supported. I guess I am not clear as to what that means. Please > forgive my ignorance. > > > > Just to be clear though, is it true that at this point there is no way > for me to

Re: [NAnt-users] Simply find file task or function

2006-09-19 Thread Gary Feldman
Tim Mayert wrote: > Hello, > > This may be a very simple question, but I can not seem to find a > function that can do this. I am automating the build of our product > install and during the creation of the install it will generate a .txt > file that contains the build log. I would like to o

Re: [NAnt-users] Problem using regasm task

2006-08-30 Thread Gary Feldman
Carl Malikowski wrote: > > Thanks – I’ve made some progress, but am still a bit puzzled. I’ve > found I can execute regasm via the exec task, if I set the working > directory to where it resides. The environment already has > “C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322” in PATH so I’m somewhat

Re: [NAnt-users] Launching Nant From Local Network

2006-08-25 Thread Gary Feldman
olivier.france wrote: > Ok, but how to define this attribut in which section? > > Shall I do it in the .build file, or in a config file in ant installation > directory? > > Ah, you must be relatively new to .Net programming. In .Net, programs almost always have a configuration file associated

Re: [NAnt-users] Launching Nant From Local Network

2006-08-25 Thread Gary Feldman
Camus, Olivier wrote: > ... > Now, I have to deploy it on Windows Local Network in order to make it > usable by all teams members. > When we reference Nant.exe from network, it failled (cf end of email): > > Either we cannot launch Nant from local network ? > Nor I have to setup a configuration

Re: [NAnt-users] Extending asminfo Task

2006-08-22 Thread Gary Feldman
James Johnston wrote: > It seems that the AssemblyInfoTask (asminfo) is very inflexible in that > you are fixed to using the VB/C# code DOMs. I would like to use it with > the new CppCodeProvider in .NET 2.0 for generating C++ code, and I'm > sure there are other code generators out there that peo

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

2006-08-17 Thread Gary Feldman
Robert Hanson wrote: > > idlFile and cppTarget are nant properties. > > > > > > > > It suggests using the following: > >[if] C:\projects\Mater\root\build projects\nant.build(253,4): > Attribute 'uptodatefile' for is deprecated. Use test="${file::up-to-date(comparefile, uptodatefile

Re: [NAnt-users] Can i use nant for typical java source tree?

2006-08-15 Thread Gary Feldman
Barry wrote: > If i have a java source tree that has been building with ant, then can > i use nant to compile it? > > I have projects that are coded in java and some in C#, can i use nant > to manage both? or do i need to use ant on java and nant on C#? In theory you could code up some equivalent

Re: [NAnt-users] Using ftp from nant on windows

2006-08-14 Thread Gary Feldman
Bonio Lopez wrote: > Hi, > > I think it would make more sense to just create a template configuration in a file, and then use a NAnt copy with a filterchain to create the actual script file. I'd also encourage using sftp or some other mechanism that obviates the need to have the passw

Re: [NAnt-users] How to read program output into property

2006-08-14 Thread Gary Feldman
Bonio Lopez wrote: > 1.Solution found (although if somebody knows more elegant one please share). > Script below starts external program and parses output. > There's no need to use a custom script. Just use the output= attribute on the exec command, and then use the loadfile tasks to load the

Re: [NAnt-users] How to overload targets

2006-08-08 Thread Gary Feldman
Bonio Lopez wrote: > Hi Gary, > I tested you approach and it works and does what I needed. > In master build file I include for all targets following: > >unless="${file::exists(property::get-value('tmp'))}"/> >if="${file::exists(property::get-value('tmp'))}"/> > I'm n

Re: [NAnt-users] Factoring out a 'devenv' call into 'csc'

2006-08-08 Thread Gary Feldman
Burgess, Michael wrote: > > This may be less a NAnt problem and more an MS issue, but I’m sure you > guys would be able to help. > > If I’m currently calling ‘devenv’ through the exec task and realise > that it’s pretty inefficient. > > Is there any kind of thing to consider when porting my scrip

Re: [NAnt-users] How to overload targets

2006-08-07 Thread Gary Feldman
Bonio Lopez wrote: > Dear all, > ... > Supposed I have Y project, to be build. Y-1 of them are build using ms_build > and one using my_own.exe > clean, rebuild, register ... also differs a bit for some of projects. For > example, register should register a help collection for help project, and > as

Re: [NAnt-users] How do you rename a file?

2006-08-03 Thread Gary Feldman
Girardelli, Erin E wrote: > I can't figure out how to rename a file using the move task. I have a > zip file that I know the directory location of, but I don't know the > entire name of the file. So, I just need to find the single zip file in > the directory and rename it. At the command line, I

Re: [NAnt-users] Bug in setting of nant .net version

2006-08-01 Thread Gary Feldman
Bonio Lopez wrote: > Hi, > Following code prints version 1.1 on my PC and ignores overwrite=false. > I use nant 0.85 rc4 on windows > Regards, > Boni > > > > overwrite="false"/> > "${nant.settings.currentframework}" > > This is a built-in property, and hence it will always be set. So

Re: [NAnt-users] Evaluation of if and unless

2006-07-31 Thread Gary Feldman
Gert Driesen wrote: > ... >>> >> What's the issue with this? This problem comes up often enough. The >> intuitive sense of the if and unless attributes is that they should >> always be evaluated first, and if the result is to skip the task, then >> absolutely nothing else should happen - no other

Re: [NAnt-users] windows application won't start after compilation

2006-07-31 Thread Gary Feldman
Rico Schaepe wrote: > Thanks Gary, > > It works with net1.1 but what do I have to do that it also works for net2.0 ? > Do you have the .Net 2.0 SDK installed? This is a separate installation from the .Net 2.0 framework (which must be installed first). Gary -

Re: [NAnt-users] Evaluation of if and unless

2006-07-26 Thread Gary Feldman
Gert Driesen wrote: > From: "Bonio Lopez" <[EMAIL PROTECTED]> > Sent: Tuesday, July 25, 2006 6:37 PM > ... > > Another solution for your problem would be to skip initializing > tasks/elements if the value of the "unless" attribute evaulates to true (or > the value of the "if" attribute evaluates

Re: [NAnt-users] task does not redirect URL's

2006-07-26 Thread Gary Feldman
Ramya Niranjan wrote: > I am trying to use the mail task to send a particular network share > link into a RTF file so that users could click on this link to > naviagte to the correct location. But the out always goes as a normal > text file. This is what I am trying: > > > > > /> >

Re: [NAnt-users] MSBuild

2006-07-26 Thread Gary Feldman
Chris Holt wrote: > > I’m trying to switch my nant script to use the msbuild task instead of > executing devenv and I’m not sure how to properly choose the build > configuration. > > So for example, if I want to clean the Debug build of a solution file > I understand that I need to have the task

Re: [NAnt-users] windows application won't start after compilation

2006-07-26 Thread Gary Feldman
Rico Schaepe wrote: > ... > > The first compilation attempt works but the application won’t start > without error. I opened the windows task manager and look at start up. > The app was seen short in the process list and disappear. I was > looking for the reason and found some threads in the mail

Re: [NAnt-users] foreach alternativ?

2006-07-26 Thread Gary Feldman
Duheric, Irfan wrote: > > Hi, > > > > if I wont to run over multiple nodes in some XML file, I do it on > this way: > > > > > > > > How is right way to loop over unknown count of nodes? > There isn't any particularly good way of doing this directly in NAnt. If you're processing an XML fi

Re: [NAnt-users] Maillogger NANT 0.84

2006-07-24 Thread Gary Feldman
Ortius, Helga wrote: > What am I missing? As far as I found out the maillogger feature should > be available for nant 0.84 or am I wrong? Please upgrade to 0.85RC4. I don't know whether the mail logger was working in 0.84, but that's a very old version that really shouldn't be supported anymore

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

2006-07-23 Thread Gary Feldman
Adrian Dębowski wrote: > Hi, > > I was Ant user and recently switched do NAnt. I wish to ask if some > little diffcence between them I have observed, is a feature, bug or > simple my mistake. > > I used to write some global parameters () in root build file: > > > > > > >

Re: [NAnt-users] Output redirect problem

2006-07-23 Thread Gary Feldman
Cong wrote: > ... >public class ExternalProgram >{ >public static int ExecuteProgram(string program, string arguments) >{ >Process process = new Process(); >process.StartInfo.FileName = program; >process.StartInfo.Arguments = arguments; >

Re: [NAnt-users] Can't use pipe (|) within exec

2006-07-22 Thread Gary Feldman
Robert Smith wrote: > Instead of trying to pipe, would something like this work (with regard > to the structure of teh exec task) with each of the aruments as an arg > value? > > output="${logfile}" verbose="true" > > > >

Re: [NAnt-users] Can't use pipe (|) within exec

2006-07-22 Thread Gary Feldman
Girardelli, Erin E wrote: > Hi, > > When I try to use a pipe or redirecting arrow in the exec task, I get a > failure saying the program I executed has the wrong number of arguments. > Here's what it looks like within my script: > > > To understand this, you first need to understand that

Re: [NAnt-users] building a project

2006-07-20 Thread Gary Feldman
Steve Whitley wrote: > is there an easy way (I'm really surprised there isnt already a task for > just a project) to compile a single project? > For VS 2003 projects, the NAnt task is perfectly happy with a single project file instead of a solution file. Gary --

Re: [NAnt-users] Feature request

2006-07-20 Thread Gary Feldman
Bonio Lopez wrote: > Hi Gary, > >> What happens if you just make a change to p22? How would you rebuild it >> > without rebuilding the rest? > I am sorry, but I don't understand where is the difference to the current > approach. The nant will run over all projects and see that p1, p11,

Re: [NAnt-users] Feature request

2006-07-20 Thread Gary Feldman
Bonio Lopez wrote: > Hi Gary, > Lets take a real example of my current project. > > Project with subprojects, > Let me be more specific. Are these .Net projects (i.e. C#, VB.Net, etc.)? or something entirely different? > p1, p11, p12, p13, p21, p22, p23, > > p11, p12, p13 depend on p1, but not

Re: [NAnt-users] Feature request

2006-07-20 Thread Gary Feldman
Evans, Jonathan (2) wrote: > There are definitely cases where having compiled a couple of base projects > the dependency tree then starts separating off into unrelated branches. And > having compiled one dll it is immediatly possible to start testing or > documenting it whilst the build process

Re: [NAnt-users] FxCop and return

2006-07-20 Thread Gary Feldman
Darren Gage wrote: > > I run FxCop via the command so I am sure to run the same > Command Line version we do when running FxCop through Visual Studio. > The Task is below: > > ... > > When I get FxCop Errors or Warnings, the build does not fail (I don't > reach the catch block), even though I

Re: [NAnt-users] Feature request

2006-07-20 Thread Gary Feldman
Bonio Lopez wrote: > Hi, > Meanwhile quite any machine has more then one processor (even Intel with > Dual Core and HT). > Would not it be nice to add multithreading to nant? As starting point I > could imagine to add some attribute to task, like > > >

Re: [NAnt-users] Synchronizing Visual Studio projects to NAnt build

2006-07-17 Thread Gary Feldman
Karl Palsson wrote: > Speed is neither here nor there, as long as it's not t slow. > > Is speed really something you consider to be a major advantage of nant > Gary? > Yes, at least for VS2003. Otherwise, what advantage does it have over make/bash/python? If it hadn't been for that speed

Re: [NAnt-users] Synchronizing Visual Studio projects to NAnt build

2006-07-17 Thread Gary Feldman
Jaroslaw Kowalski wrote: > Gary Feldman wrote: > >> ... >> This would remove one of the major advantages that NAnt has over VS2003, >> namely it can build the >> solution much more rapidly than VS. >> > Can you elaborate on "rapidly" ? I

Re: [NAnt-users] Synchronizing Visual Studio projects to NAnt build

2006-07-17 Thread Gary Feldman
Jaroslaw Kowalski wrote: > I never used the task. My personal opinion is that solution > building should be placed in a separate utility and NAnt should only > spawn it instead of implementing the entire build logic in-process. > This would remove one of the major advantages that NAnt has ov

Re: [NAnt-users] Question on custom NAnt task

2006-07-16 Thread Gary Feldman
Vagmi Mudumbai wrote: > Hi Yuncong, > > Actually it is supported by Nant. > I'll take your word for it, but I wouldn't call it "supported by NAnt," I'd call it escaping out of NAnt. I'd consider it supported when such an array could be used in the task, when ${property[index]} gets interpreted

Re: [NAnt-users] Silent tasks?

2006-07-16 Thread Gary Feldman
Henning Eiben wrote: > I'm also using xmlpeek to read settings from an xml-file and xmlpoke to > modify the csproj-file for example. this also gives a load of messages I > don't really need to know. > > Especially xmlpeek gives a lot of messages about attributes that could > not be found (which is

Re: [NAnt-users] String manipulation

2006-07-13 Thread Gary Feldman
Michael Craig wrote: > I'm having trouble performing multiple string manipulations on a variable. > Any suggestions? > > snippet: > > http://svn/MySource/Trunk > http://svn/MyRef/Log4Net"; > > http://svn', '')}" /> > > > Don't nest the dollar signs ($). It should be, fo

Re: [NAnt-users] Question on custom NAnt task

2006-07-12 Thread Gary Feldman
Cong wrote: > Hi All, > > I need to pass an array of strings from the XML-base NAnt build file > to my custom NAnt task. Can someone tell me which attribute I can use > in the C# class for the custom task? And it will be very helpful if > you could give me a simple XML example. Hope my questio

Re: [NAnt-users] new user question

2006-07-12 Thread Gary Feldman
Steve Whitley wrote: > project C is built often. dll's from projects in B and A are > referenced. B is built less often an A is hardly ever built. its a > cascade style build where the service in A also has references to > other projects in A, projects in B and C. the problem is that if A,

Re: [NAnt-users] new user question

2006-07-12 Thread Gary Feldman
Steve Whitley wrote: > ... > solution A > solution B (depends on A) > solution C (depends on A and B) > ... > would it be better to build 1 huge build script w/ different targets for > each project or should I break build scripts for each project, and > include them in a larger build script? thier

Re: [NAnt-users] csc task in NAnt

2006-07-12 Thread Gary Feldman
Bob Mixon [SPS MVP] wrote: > Greetings all, I have an assembly that is installed in the GAC, with a > strong keypair. When I compile this assembly in the .NET IDE, > everything work as expected and I can install it in the GAC without > incident. However, when I use the csc task to compile the as

Re: [NAnt-users] displaying custom tasks in the intellisense view.

2006-07-12 Thread Gary Feldman
Ramya Niranjan wrote: > I have created a couple of custom tasks and they are working fine. I > need to display the tasks and the corresponding attributes in the > intellisense window in VS.NET 2003 IDE. Could any one > tell me how to go about with this? Visual Studio gets the int

Re: [NAnt-users] include targets cannot be referred by depends

2006-07-11 Thread Gary Feldman
Igor Antonacci wrote: > Hi All, > I'm using but, whenever I try to reference any target in the > include file from "external" build file (thru the > depends attribute) nant is throwing an exception > saying it can't find the target referenced. > > Am I in mistake or is there a bug around ? > Ar

Re: [NAnt-users] Bug or feature?

2006-07-11 Thread Gary Feldman
Bonio Lopez wrote: > Dear all, > Following build file fails with " > Expression: SOFTWARE\Microsoft\VisualStudio\${vs_version}\InstallDir > ^^ > Property 'vs_version' has not been set. > " > > But if remove 'xmlns="http://nant.sf.net/

Re: [NAnt-users] Lazy evaluation of properties - is it possible?

2006-07-07 Thread Gary Feldman
Gage, Joshua SDR 2675 wrote: > > Hi, > > I thought I saw somewhere in the doc or various articles that you > could tell NAnt to do a lazy eval of a property, but I can't find this > in a doc search this morning. > Use the dynamic="true" attribute on the property task. Gary Using Tomcat but nee

Re: [NAnt-users] Releasing software

2006-07-07 Thread Gary Feldman
Bonio Lopez wrote: > Dear software build experts, > Now we have automated release process with nant. I have a general question > about release strategy. > We need to save some files after release (i.e. debug symbols database 'pdb' > files and some other output), which we might need for debug of rep

Re: [NAnt-users] Change the appearance of the "Build failed" error msgs

2006-07-07 Thread Gary Feldman
Shmarya Rubenstein wrote: > Hi all,Y > > I have attached a patch that sets the text "BUILD FAILED" to be red in > the console output. It makes it easier to see that something went wrong... Please don't do this, unless you're willing to go to the trouble of identifying the background color, choosi

Re: [NAnt-users] How to write to a text file?

2006-07-06 Thread Gary Feldman
Jay Flowers wrote: > On 7/6/06, Gary Feldman <[EMAIL PROTECTED]> wrote: > >> Is this really different from the task? The task can >> append to an existing file, and your >> example could be done just by embedded NAnt properties or >> expressions. The o

Re: [NAnt-users] How to write to a text file?

2006-07-06 Thread Gary Feldman
Jay Flowers wrote: > You can use a task that I have published at my site, the write task. > Here is the page you can download it from and get documentation. > > http://jayflowers.com/joomla/index.php?option=com_content&task=view&id=24&Itemid=51 > > Here is an example. Notice that you can use filte

Re: [NAnt-users] Silent tasks?

2006-07-05 Thread Gary Feldman
Eric wrote: > Is there a way to silence tasks? If not, I would like to request the > feature to be added... I really don't care to see 3 screens full of > entries :-) A "silent" attribute could be added, or > verbose="" extended to an enum where the default is the current > verbosity and an option

Re: [NAnt-users] Nant programming

2006-07-05 Thread Gary Feldman
Cornish, Merrill wrote: > NAnt properties observe conventional scoping rules. So, for example, if > you declare a property within a task definition, it is only visible in > that task--a task "temporary." Properties declared outside of all task > definitions are global to all tasks. > I think t

Re: [NAnt-users] Setting property after reading from a file.

2006-06-22 Thread Gary Feldman
Rod Ayers wrote: > Hi, Gary > > I'm intrigued how you would implement the "XML approach". Probably so easy > I've totall yoverlooked it :):) > Just store the information in an XML file such as task to read the current values, and, if necessary, to change the

Re: [NAnt-users] How to add quotas to line?

2006-06-21 Thread Gary Feldman
Shmarya Rubenstein wrote: > Use the following: > > Using CDATA here is a bit of a using a sledgehammer to swat a fly. > On 6/21/06, *Bonio Lopez* <[EMAIL PROTECTED] > > wrote: > > Dear all, > Following line > Usage: nant set_log > -D:Loggers="e loger_name

Re: [NAnt-users] Showing output of Nat run in email produced by cruisecontrol.net

2006-06-20 Thread Gary Feldman
Robert Hanson wrote: > > I have a cruisecontrol.net setup to build my project. The actual > build happens with nant. The email I get after a build only shows the > error that terminated the build (if any) plus warnings (if any). How > can I get the actual nant output into that email? > Are yo

Re: [NAnt-users] How to test "if not propertyexists"

2006-06-19 Thread Gary Feldman
Nau, Michael wrote: > > > > No, the task is deprecated. The right way is ... > From: ... On Behalf Of Jay Williams > Sent: Monday, June 19, 2006 10:30 AM > > In the documentation I see how to test if a property exists: > > > > > > > The propertyexists attribu

Re: [NAnt-users] NAnt script fails to compile database project and skips rest of the projects in solution..Help!

2006-06-19 Thread Gary Feldman
Ahmed, Shabana wrote: > Hi All, > >I am working on automating the build for a web application. When I > execute the Nant script, the build skips building a few projects in > the solution. It eventually says Build succeeded, but I am not sure > if the script is actually compiling all the p

Re: [NAnt-users] Setting property after reading from a file.

2006-06-13 Thread Gary Feldman
Ramya Niranjan wrote: > I have a text file info.txt that contains some version specific > information like: > MAJORVERSION=4.0 > MINORVERSION=11 > BRANCHINFO=COR > > What I need to do is create some properties like majorversion, > minorversion and branchinfo in NAnt and assign these values afte

Re: [NAnt-users] Ifnot deprecated, having a few hard times with replacements....

2006-06-09 Thread Gary Feldman
Karl Palsson wrote: > Your workaround does indeed work, and I was actually already doing that > for a different case, which I suppose brings up another issue. > > > > Somevariable needs to be defined. :( which means I have to explicitly > set it to false in all my projects that don't specifically

Re: [NAnt-users] Read command line parameter into nant script

2006-05-31 Thread Gary Feldman
script. I am really stranded and greatly appreciate any help! Kind regards, Helga *Von:* [EMAIL PROTECTED] im Auftrag von Gary Feldman *Gesendet:* Mi 31.05.2006 18:08 *An:* nant-users@lists.sourceforge.net *Betreff:*

Re: [NAnt-users] Read command line parameter into nant script

2006-05-31 Thread Gary Feldman
Ortius, Helga wrote: I am trying to read the command line arguments with which the build file is called in order to process it during the excecution of nant (Logging/Reporting reasons). I try to do it using the following code: unless="${property::exists('test')}" /> If I call the bui

Re: [NAnt-users] task on GNU/Debian Linux Mono platform

2006-05-17 Thread Gary Feldman
marc wrote: 3) Does there exist an XML Schema or RelaxNG schema I can use to verify that my XML syntax in the nant build file is OK ?? I can answer this off the top of my head. In your NAnt installation tree, there's a schema subdirectory that contains the NAnt .xsd for that version. Al

Re: [NAnt-users] Exec task

2006-05-16 Thread Gary Feldman
Rebecca Kedziora wrote: How do you see what is happening when you execute something using the exec task? I am running something but I can't see anything happening though it is working. Do I have to pipe it to a file? NAnt will include any output to stdout in its output. However, it may be

Re: [NAnt-users] Nant build traversing directories

2006-05-15 Thread Gary Feldman
Morpheous wrote: 1). one main build file (say /src/main.build). 2). A single build file for each project ( say /src/project1/project1.build) The main build file will traverse each of the folders under the /src/* directority, and execute any *.build it encounters in the directory. (i.e the indi

Re: [NAnt-users] cruise control modificationWriter vs nant

2006-05-09 Thread Gary Feldman
Jaroslav Sivy wrote: Hi, Is there any way, how to parse output file from cc (modificationWriter Does "cc" mean the UNIX C compiler? CruiseControl? CruiseControl.Net? (The latter is usually abbreviated as CC.Net.) function) in nant? {and not only load 1 attribute using xmlpeek?} Use

Re: [NAnt-users] task - Fails on VC++ project (vcproj)

2006-05-09 Thread Gary Feldman
Dipak, Ajit wrote: I'm attempting to use the task with a solution that has 6 C# projects (*.csproj) and 1 Managed C++ project (*.vcproj). Note that the solution file compiles without issue in the VS.NET 2003 IDE. The NAnt build however, produces [cl] c:\mybuilds\src\MyProjects\MyClass.cpp(

  1   2   3   4   >