Re: [NAnt-users] Dynamic .build files

2006-05-16 Thread Thibaut Barrère
Hi Kevin> Can anyone share with me how you've dynamically created nant.build files on the fly?can you describe a bit more what you want to achieve ?(apart from that you could use xslt as suggested, or a codesmith template...)Thibaut-- [blog] http://www.dotnetguru2.org/tbarrere

Re: [NAnt-users] Running Nant on mapped drive

2006-02-10 Thread Thibaut Barrère
Hi depending on your company security policy you may not be able to run a .net program which sits on a network drive (that's the case for my current customer)... also C++ compilation can be quite slow so if you can compile on a local drive then copy the binaries on the network share (what I do h

Re: [NAnt-users] Testing if a value is an Int

2006-02-07 Thread Thibaut Barrère
Hi Mike if you can't find an easy way and if you know how to program in c# or vb.net, I found out that it's sometimes better to write a custom function (using the script tag) to achieve what you need. hope this helps Thibaut Barrère-- [blog] http://www.dotnetguru2.org/tbarrere

Re: [NAnt-users] Fileset refid with a property?

2006-01-20 Thread Thibaut Barrère
Well. I *almost* read your mail properly :) Maybe you can try to keep the name constant, but change the value of the fileset by redeclaring it before your operation ? hope this helps Thibaut On 20/01/06, Thibaut Barrère <[EMAIL PROTECTED]> wrote: It works for me. I have a first tar

Re: [NAnt-users] Fileset refid with a property?

2006-01-20 Thread Thibaut Barrère
It works for me. I have a first target to declare the file sets                                        then I use it that way :                                                                     Are you doing something a bit different ? kind regards Thiba

Re: [NAnt-users] Surround SCM in NAnt

2006-01-20 Thread Thibaut Barrère
Hi Robert I'm likely to proceed to the same kind of switch in the forthcoming months, unfortunately I can't say much more for the moment. If this can be of any help, the NAntContrib task available to deal with Seapine Surround seem to have been contributed by Matt Harp from Seapine Software, so I

Re: [Nant-users] double quotes in buildfile

2005-11-30 Thread Thibaut Barrère
Hi Koen use " inside " (ie : OriginalValue="value="true""). The double quote is a special character in XML and must be escaped. See this page http://www.mountaindragon.com/html/iso.htm for more informations. cheers Thibaut-- [blog] http://www.dotnetguru2.org/tbarrere 2005/11/30, Koen Mayens <[EM

Re: [Nant-users] overwriting properties when calling anothe build script

2005-10-28 Thread Thibaut Barrère
Hi Filip could you try to define the property with overwrite set to false in your slave script ? I'm using this from the command line but it may also work when invoking a slave script (to be tested) see http://nant.sourceforge.net/nightly/latest/help/tasks/property.html iv. Define a property, bu

Re: [Nant-users] Patch version number in AssemblyInfo.cs

2005-10-21 Thread Thibaut Barrère
Well, same approach for me ( http://www.dotnetguru2.org/tbarrere/?p=229&more=1&c=1&tb=1&pb=1 ). I'd be happy to see such a thing added to StringUtils or some other standard package in NAnt... Things I'm thinking about: - support for c++ version (the _expression_ is slightly different in my case bu

Re: [Nant-users] Developers using NAnt Directly

2005-10-20 Thread Thibaut Barrère
Hi Kelly because I wanted a seamless build process for developers (they should not be required to learn nant), I've set up a CCNet server which invokes NAnt. The solution task didn't work out well in my context (I met to many cases of failure, mainly because of managed c++ projects ), so I backed

Re: [Nant-users] slingshot

2005-09-29 Thread Thibaut Barrère
Hi Ales,   just a quick guess but I think what is happening is that VS.Net stores non-xml-compliant data in the .csproj project files. I had a similar issue with some post build events. Check out the line where you get the error and maybe you could try to make the content more xml compliant (such a

Re: [Nant-users] how do I iterate through directories doing an action on certain named files

2005-09-23 Thread Thibaut Barrère
/lists/listinfo/nant-users-- Thibaut Barrère LoGeek[tel] +33 6 85 33 40 88[mail] [EMAIL PROTECTED][blog] http://www.dotnetguru2.org/tbarrere

Re: [Nant-users] Free version of Nant Pad?

2005-09-22 Thread Thibaut Barrère
Select the build file then right click and select "open with". VS.Net will prompt the editor you wish to use, pick up the html/xml editor. Then check the properties area (F4), the nant schema should appear in the targetSchema property (drop down list). T.2005/9/22, Wilson, Glenn <[EMAIL PROTECTED]

Re: [Nant-users] Reading AssemblyInfo.cs in Nant

2005-09-22 Thread Thibaut Barrère
Hi Prasad, one think you could do is extract the version from the AssemblyInfo.cs using a regular _expression_ for instance, then label it using VSS NAntContrib tasks. I'm using the following _expression_ to retrieve the version from AssemblyInfo to do this : Regex regex = new Regex(@"AssemblyVers

Re: [Nant-users] Build target from command line without dependencies

2005-09-22 Thread Thibaut Barrère
While I see many advantages (and disadvantages) in NAnt, I can't thinkof anything off the top of my head that it can do, but that can't be done with ordinary make/bash (or other scripting language).  NAntbenefits from having a centralized repository of tasks, so that we don'teach have to build our

Re: [Nant-users] exec output=" (Want to have a Property here)"

2005-06-30 Thread Thibaut Barrère
/release/latest/help/functions/string.replace.html with a call like : cheers Thibaut Barrère http://www.dotnetguru2.org/tbarrere

Re: [Nant-users] newbie question: system cannot find the C++ compiler

2005-06-29 Thread Thibaut Barrère
Hi Pat   Maybe calling the vcvars32.bat script in C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat before starting your script will solve the issue.   This should add the required folders to the PATH to ensure later calls to cl.exe are successful.   regards   Thibaut

Re: [Nant-users] Building C++ with differenct configurations

2005-06-28 Thread Thibaut Barrère
Ok I get your point... We're using direct calls to devenv.exe instead of compiling everything ourselves... This leads to a couple of issues (one is scalability!) but for us it was finally the best option.   In your situation would it be acceptable to have two separate targets in one build script ?

Re: [Nant-users] Building C++ with differenct configurations

2005-06-28 Thread Thibaut Barrère
ty name="commandLine" value="${solutionFile} /build ${configuration} /out ${logfile}"/> As a sidenote I'll add that we are going to stop building the debug builds here (c++ projects are taking the biggest amount of build time, and most people tend to compile locally wh

Re: [Nant-users] Re: Running NAnt inside Visual Studio

2005-06-10 Thread Thibaut Barrère
Hi what about gathering forces ? (adding your addin functionalities to nantrunner ?) note : I'm not the author of nantrunner ;) regards Thibaut 2005/6/10, Jim Geurts <[EMAIL PROTECTED]>: > Yeah, I realize that project exists... it's a nice project and I'm happy > that someone took on that chal

Re: [Nant-users] Why use Nant?

2005-06-02 Thread Thibaut Barrère
> Amen. Which means the server is carefully monitored for things which > appear magically, it's backed up, and there's an as-built document so it > can be recreated/verified should the need arise. > > Too anal? Not if you want reproducibility regardless of the catastrophic > event (like installing

Re: [Nant-users] Why use Nant?

2005-06-02 Thread Thibaut Barrère
Hi Todd, just a few bits to reply to you, hoping this will help. a metaphor which I found useful in situations like yours is that nant is a precious tool when ones want to switch from craftsman way of work to industrial way of work. to me using only visual studio for builds makes it very difficu

Re: [Nant-users] Forcing a target to fail from

2005-06-01 Thread Thibaut Barrère
Hi Glenn, try to throw a BuildException (NAnt.Core.BuildException). I'm doing this inside custom nant tasks to have the build fail, I suppose it should work just the same under a script block. kind regards Thibaut 2005/6/1, Wilson, Glenn <[EMAIL PROTECTED]>: > > > Hi, > > I have a target

[Nant-users] Updating managed c++ AssemblyVersion (and c# also)

2005-05-28 Thread Thibaut Barrère
Hi Bill and Rido I've just posted the code for an updateversion task which allows to update the AssemblyVersion attribute in existing assembly info files, for both managed c++ and c#. Guess it could be useful to other NAnt users also... Full entry on my blog: http://www.dotnetguru2.org/tbarrere?t

Re: [Nant-users] Encrypting Data Within Nant Script

2005-04-16 Thread Thibaut Barrère
Hi Timothy you could load sensitive information from a file which would not be stored under version control (instead, store a .sample version of it, with foo values, to help remember what's needed). Under Ant you could achieve this with: This loads some properties from the user folder (c:\docume

Re: [Nant-users] Using Nant on Test Servers

2004-12-17 Thread Thibaut Barrère
> thanks for that. While CruiseControl and automated testing are some way off > on our radar, I hope to find the time to investigate them, especially the > latter. In that respect, I would appreciate if you could possible provide a > small sample build file outlining the structure required to carry

Re: [Nant-users] statics are getting initialized in my test fixture class automagically

2004-12-07 Thread Thibaut Barrère
Oops, forgot about your "static". It's the same : if one of your tests modifies the static, then for the same reason, in next test the value should be kept... On Tue, 7 Dec 2004 13:18:57 +0100, Thibaut BarrÃre <[EMAIL PROTECTED]> wrote: > Hi Steve > > did you intented to post this to NUnit rat

Re: [Nant-users] statics are getting initialized in my test fixture class automagically

2004-12-07 Thread Thibaut Barrère
Hi Steve did you intented to post this to NUnit rather than NAnt-Users ? Afaik in a nunit testfixture, isolation between tests in the same testfixture is not achieved by the framework, which means if you have another test which initialize your hashtable and do not set back the hashtable to null i

Re: [Nant-users] Named Fileset

2004-11-09 Thread Thibaut Barrère
Hi Hamza, > I want to use name filesets and there are no examples on how to do so. > What I am trying to do is create one Fileset and reference it again > later in multiple places. you can use the id attribute when declaring a fileset : then reference it where you need using the refi

Re: [Nant-users] property::exists bug?

2004-11-05 Thread Thibaut Barrère
Hi Roman You have to pass the property name as a string : use instead of check out http://nant.sourceforge.net/nightly/help/functions/property.exists.html nb : maybe a real example should be added in the manual. cheers Thibaut On Fri, 5 Nov 2004 09:48:19 -0600, Roman Semenov <[EMAIL

Re: [Nant-users] RE: Regression on current directory ?

2004-10-28 Thread Thibaut Barrère
Hi Gert, I don't have a repro for this yet on my side (I'm not at my workplace, where it happened). I opened a bug here : http://sourceforge.net/tracker/index.php?func=detail&aid=1056010&group_id=31650&atid=402868 altogether with the details provided by Rutger. cheers Thibaut On Thu, 28 Oct 20

Re: [SPAM] - RE: [Nant-users] VSSGET Question - Email found in subject

2004-10-21 Thread Thibaut Barrère
Same for me; it's as "stable" in terms of robustness as the previous one, plus a lot more new features. I try to upgrade to the latest nightly from times to times. regards On Thu, 21 Oct 2004 07:51:00 -0500, Felice Vittoria <[EMAIL PROTECTED]> wrote: > > Sanjay, > > How stable is 0.85? In m

[Nant-users] NDoc task parameters evaluated only once ?

2004-10-20 Thread Thibaut Barrère
Things to write today. I'm using a foreach over a fileset of projects to generate ndoc for each of these projects. I override a property inside the loop (as a temporary variable). I'm displaying it just after to check if it was properly set and it's working fine But when I pass this property to

[Nant-users] Re: Regression on current directory ?

2004-10-20 Thread Thibaut Barrère
More info; part of the script I use below : - - The beginning of the must-publish-project function : --

[Nant-users] Regression on current directory ?

2004-10-20 Thread Thibaut Barrère
Hi again, did anyone had issues with current path (ie the place where you are when a task is finished) in their script after a recent upgrade of nant ? I did not investigate much already as I don't have time for this now (I used a simple workaround), but after upgrading nant (previous release was

[Nant-users] Readonly properties, overwrite attribute

2004-10-20 Thread Thibaut Barrère
Hi, I've been struggling around a while after updating a 5 month old nant to the latest version. I've been confused about what I get when overriding a property from the command-line (which we use a lot for instance with cruisecontrol) : "Read-only property "xxx" cannot be overwritten." Don't re

Re: [Nant-users] Boolean evaluation

2004-10-15 Thread Thibaut Barrère
Hi Bart, are you using the latest nightly build ? with it you should be able to test with ... http://nant.sourceforge.net/nightly/help/fundamentals/expressions.html#numeric-operators Thibaut On Fri, 15 Oct 2004 14:56:57 +0100, Bart Read <[EMAIL PROTECTED]> wrote: > > Hi All, > > > I'm

[Nant-users] Asminfo support for c++ projects

2004-10-14 Thread Thibaut Barrère
Hi, the documentation states that asminfo only support C#, JScript or VB. I'd be interested into generation of a c++ version (AssemblyInfo.cpp). Did anyone extend asminfo for this purpose ? (or is there a need for contribution here ?) thanks Thibaut

Re: [Nant-users] having trouble with style task with a v2.0 stylesheet

2004-10-06 Thread Thibaut Barrère
Hi Felice, I suspect the style task of relying upon System.Xml.Xsl.XslTransform, which support only XSLT 1.0. Have a look here : http://blogs.msdn.com/dareobasanjo/archive/2004/05/13/131166.aspx hope this helps. Thibaut On Wed, 6 Oct 2004 10:26:00 -0500, Felice Vittoria <[EMAIL PROTECTED]> wro

Re: [Nant-users] FxCop task

2004-10-06 Thread Thibaut Barrère
I can't tell if there is an fxcop task being cooked right now. It seems that many of us are using the exec task to achieve this. cheers Thibaut On Tue, 5 Oct 2004 17:35:09 -0700, Manish Jain <[EMAIL PROTECTED]> wrote: > Is someone working on FxCop task? How soon it will be available? > Thanks M

Re: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Thibaut Barrère
<[EMAIL PROTECTED]> wrote: > I don't like replacing distribution folders with new versions. I keep tools in > separate >folders with version names.(Certainly you've never had an updated tool > with bugs >which required a rollback!!) The rollback support is provided by the SCM, which is qui

Re: [Nant-users] NantContrib [loadtasks]

2004-09-29 Thread Thibaut Barrère
Most of the time for the tools I use (ie CCNet, Nant, NantContrib, fxcop and so on), I try not to modify the distribution folder, so I can upgrade more easily (just replace the folder, unzipped). That's why I prefer not to modify a config file somewhere. my 0.02â Thibaut On Wed, 29 Sep 2004 13:

Re: [Nant-users] task ignores 1 project out of 20

2004-09-29 Thread Thibaut Barrère
Hi Brandon, please give more details : - are you using the latest nightly build ? - what kind of project (c++, c#, web, other ?) make the build fail ? - does it build properly under vs.net ? regards, Thibaut - Original Message - From: Brandon Lonac <[EMAIL PROTECTED]> Date: Wed, 29 Sep 2

Re: [Nant-users] Project Content Files

2004-09-29 Thread Thibaut Barrère
Hi Dan >Is there a NAnt, NAntContrib, or other task that can >parse the VS.Net Project file and use the information to generate a list of >Content files that should be copied into the archive >Any pointer would be appreciated You can parse the project file using a custom function and xpath quer

Re: [Nant-users] stable release for version 0.85

2004-09-24 Thread Thibaut Barrère
+1! this release deserve *at least* 0.90 Thibaut On Fri, 24 Sep 2004 09:51:45 -0500 (GMT-05:00), Merrill Cornish <[EMAIL PROTECTED]> wrote: > Gert, > > Considering the wide range of new functionality in upcoming release, perhaps it > should be call 0.90 rather than 0.84, since it's a _lot_ more

RE: [Nant-users] Auto incrementing build numbers

2004-08-04 Thread Thibaut Barrère
Hi Tim, What I've seen until today is that most people use the AssemblyInfo.cs AssemblyVersion attribute for that purpose, the natural way of handling (assemblies) versions in .net. That's relevant only if you build .Net project with NAnt of course, I assumed you are in that case. I'm starting to

RE: [Nant-users] Managed C++ DLL?

2004-07-25 Thread Thibaut Barrère
rosoft.com/default.aspx?scid=kb;EN-US;154753 I'm just curious as well : what are your motivations for choosing to use cl/link rather than a solution task ? regards, Thibaut Barrère http://blogs.dotnetguru.org/tbarrere -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTE