[NAnt-users] Change basedir for target

2007-02-28 Thread Ian MacLean
you could try writing a function inside a

Re: [NAnt-users] Comparing the string values of two properties

2006-01-24 Thread Ian MacLean
[EMAIL PROTECTED] wrote: This seems like it should be fairly simple, but i cant get it to work. I have two properties and i want to test to see if their string values are the same. i've tried many, many combinations, such as the following: what you're looking for is : the problem

Re: [NAnt-users] Building Visual Studio Installer Projects

2006-01-18 Thread Ian MacLean
Hi Robert, The answer is no - unfortunately nant does not yet support the building of installer projects. Ian Robert Smith wrote: I'm currently using NAnt RC2. Do newer versions of NAnt support building MSI projects constructed in Visual Studio 2003 via the solution file? I have a solution

Re: [NAnt-users] PreserveLastModified

2005-12-08 Thread Ian MacLean
Hi Rachael, Is there a way to preserve last modified timestamps when running a copy? This exsists in Ant (preserveLastModified). ie: Have searched enhancements and this user list archives, and cant find this. I don't believe the copy task currently supports this. Could you add a f

Re: [Nant-users] Copy of log4net.dll

2005-12-02 Thread Ian MacLean
si wrote: To whom it may concern, Just found a "Copy of log4net.dll" in the /bin/lib directory of 2005-12-01 nightly :) That was my fault. That will teach me for not using a completely clean cvs checkout befopre kicking off the build :) There is a new build up for 2005-12-02 - minus the

Re: [Nant-users] NANT and Visual Studio 2005

2005-12-02 Thread Ian MacLean
Hi Sophie, [EMAIL PROTECTED] wrote: 1) Can anyone tell me if NANT supports or will support Visual Studio 2005 solutions? Specifically, I have several VS 2003 projects that I am currently building with the NANT solution task, but my department wants to convert to VS 2005 ASAP. Although

Re: [Nant-users] Usage question

2005-11-30 Thread Ian MacLean
Robert Schneider wrote: 4. Is there any further documentation how to use nant? I search for more general information about nant. If the wiki would work could I find there any other documentation? Will anyone make the wiki work again? I'm working on getting the wiki working again. We've had

Re: [Nant-users] Problem in Building using Cl Task

2005-11-28 Thread Ian MacLean
Hi Lekha, Unfortunately the cl task will not work on linux as it wraps cl.exe - the microsoft c/c++ compiler. If someone were to implement a task that supported gcc command line options that would be good. Alternatively you could try using the task to call gcc directly. Ian Lavanya Pattela

Re: [Nant-users] nant wiki

2005-11-23 Thread Ian MacLean
ny alternative links for bypassing the logon. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ian MacLean Sent: 21 November 2005 02:40 To: Chris Hansen Cc: John Dillon; nant-users@lists.sourceforge.net Subject: Re: [Nant-users] nant wiki Chris Hansen wrote:

Re: [Nant-users] nant wiki

2005-11-20 Thread Ian MacLean
will be a good opportunity to do some cleanup like trimming dead links etc. Ian Ian MacLean wrote: Hi John, And it was horribly hijacked by spammers before that. I'm actually thinking about migrating it to another wiki host. I didn't setup the current one ( phpwiki ) and would

Re: [Nant-users] Nant Response file

2005-11-17 Thread Ian MacLean
Rod Ayers wrote: What is the format of the NAnt response file? Something like this, using a file called NAnt.Response -buildfile:NAnt.build -l:My.log -D:app.file.buildfile=My.build -D:app.file.properties=My.properties invoked like: NAnt @NAnt.Response yep - thats exactly right. Ian

Re: [Nant-users]

2005-11-16 Thread Ian MacLean
Gert Driesen wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Julien Sobrier Sent: woensdag 16 november 2005 17:57 To: nant-users@lists.sourceforge.net Subject: [Nant-users] Hello, I'd like to include files as resources in my assembly. I

Re: [Nant-users] nant wiki

2005-11-15 Thread Ian MacLean
Hi John, And it was horribly hijacked by spammers before that. I'm actually thinking about migrating it to another wiki host. I didn't setup the current one ( phpwiki ) and would prefer to use a hosted solution than spend too much time working out how to admin phpwiki. Anyone know of a good (

Re: [Nant-users] Perforce p4change command

2005-11-09 Thread Ian MacLean
[EMAIL PROTECTED] wrote: Actually I have come to the conclusion that the task is broken. I have looked at the source code and have some ideas on how to fix it (and hopefully when things settle down in my work, I can take the time to submit a "fixed" version to the community.) That would b

Re: [Nant-users] Perforce p4change command

2005-11-08 Thread Ian MacLean
[EMAIL PROTECTED] wrote: We are switching from Source Safe to Perforce and I am trying to use the tasks. I am having a problem with the command. I am trying to create a changelist as part of my build script to hold changes to files containing version numbers. When my script executes the ta

Re: [Nant-users] How do I reference a COM object in

2005-09-28 Thread Ian MacLean
Hi Kevin, It looks like you were on the right track. The tlbimp part is a seperate task invocation. and then in the task you can reference it like ... Kevin Kirkpatrick wrote: I've inherited a vb6 project that has been converted

Re: [Nant-users] Developing NAnt tasks resource

2005-09-28 Thread Ian MacLean
I've added links to Marcs book as well as the relevancellc.com link and another document I found to the "ThirdPartyContributions" [1] wiki page. U fortunately the original contents of this page were lost when the spammers hijacked the wiki so I started it again from scratch. Anyone know of any o

Re: [Nant-users] FW: NAnt Wiki has been hijacked.

2005-09-28 Thread Ian MacLean
hmm weird. I edited the main page, saved it and it now seems to be ok. The "Third party Contributions" page was still all spam links so I deleted its content. Other than that it seems alright now. Ian [EMAIL PROTECTED] wrote: I wasn't sure where else to send this... Unfortunately, the NA

Re: [Nant-users] NAnt project

2005-09-27 Thread Ian MacLean
I think it would be useful to post at least the snippet of C# code thats failing. Looking at the Project constructor I can see that you need to either : - pass a valid configuration XmlNode object or - have a config file containing the section from nant.exe.config in the same directory as your

Re: [Nant-users] How many files are there?

2005-09-08 Thread Ian MacLean
[EMAIL PROTECTED] wrote: Does anyone know if there is a way to determine if a fileset actually ccontains any files? I actually want to perform conditional processing depending on whether a fileset has entries or not, so eother a test for files, or a count of the files will do. I could do a

[Fwd: FW: [Nant-users] Setting a proprrty from the command line]

2005-09-01 Thread Ian MacLean
Original Message Subject:FW: [Nant-users] Setting a proprrty from the command line Date: Thu, 1 Sep 2005 08:52:53 -0700 From: Eck, Brad <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Well, this seemed so promising! I think I must have another issue. First, inher

Re: [Nant-users] Build file

2005-08-28 Thread Ian MacLean
Sachin_212282 wrote: Hi, I am trying to build a DLL using NAnt. When I run a NAnt.exe -buildfile:MailMgr.build It gives me message build successes but I could find MailMgr.dll anywhere in my computer, though I mentioned it in output parameter of vbc tag. At a guess it should be in : d

Re: [Nant-users] Stylesheet Question

2005-08-25 Thread Ian MacLean
Hi Stephen, The

Re: [Nant-users] Including Nant build files

2005-08-16 Thread Ian MacLean
Matt Trentini wrote: Thanks for all your help folks. A custom help task ought to do the job. Still seems to me that -projecthelp should parse any include tags but hey, I can live with that limitation! :) Would anyone be interested in a patch for that behaviour? Or is it undesirable (as it

Re: [Nant-users] Ignore warnings

2005-08-14 Thread Ian MacLean
Bryan D. Andrews wrote: No takers here? Is this going to be a source hack? what about disabling warnings in your project settings ? or better still just remove Microsoft.VisualBasic.dll from your references list thereby fixing the cause of the warning. Ian Thanks! __

Re: [Nant-users] pkg-config and environment variables

2005-08-11 Thread Ian MacLean
Ian I haven't yet had time to create a repro, and submit a bug report for this. Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian MacLean Sent: donderdag 11 augustus 2005 4:25 To: McKenna, Simon (RGH) Cc: 'nant-users@lists.

Re: [Nant-users] pkg-config and environment variables

2005-08-10 Thread Ian MacLean
Hi Simon, the pkg-config functions spawn the pkg-config binary behind the scenes. It might be worth trying to pkg-config yourself and see what it returns. As far as I know PKG_CONFIG_PATH is what pkg-config uses to find packages. You could also try iterating over the contents of System.Envi

Re: [Nant-users] Non .Net automated Build Tools

2005-08-02 Thread Ian MacLean
Trask, Hal wrote: We are currently looking at tools to perform automated build with. We currently use C++ and Visual Basic, however they are pre - .Net versions. Can you tell me if NAnt supports pre .Net versions of C++ or VB? I always see references to the CLR and .Net versions 1.0 and later..

Re: [Nant-users] How to maintain property files?

2005-07-25 Thread Ian MacLean
Sachin Shriram Gedam wrote: Hello Friends, I am maintaining our property files in the format of “.build” files itself. Like: But our client wants this property file, like ANT property file with extension as ".property" and structure (may be he want to use same file

Re: [Nant-users] Error in copy task - messes up directory structure.

2005-07-05 Thread Ian MacLean
I'm an idiot - now my reply will cause even more bounces. -- never mind. Ian Ian MacLean wrote: Just a request to avoid coarse language when posting to the list. Its not that I'm a prude or anything just that as one of the list admins I get the bounce messages from all those ma

Re: [Nant-users] Error in copy task - fucks up directory structure.

2005-07-05 Thread Ian MacLean
Just a request to avoid coarse language when posting to the list. Its not that I'm a prude or anything just that as one of the list admins I get the bounce messages from all those mail servers that have filters installed . 4 in the last two minutes like: The content of the following email has

Re: [Nant-users] Problem with targets not being found from d files

2005-07-04 Thread Ian MacLean
[EMAIL PROTECTED] wrote: I have a problem where a target defined in an d build file isn't being found when I make it a dependency of a target in my main build file, although the file appears to have been d successfully. The included build file is valid and runs correctly if I use it alone usin

Re: [Nant-users] Would anyone like to share their XSLT file to transform the xml output of the nunit2 task

2005-06-25 Thread Ian MacLean
file. thats because it comes embedded into NAnt.Contrib.Tasksdll as a resource. Maybe we should add it to the distro as a seperate file as well as a reference. Ian Jason -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 8:17 PM To

Re: [Nant-users] Would anyone like to share their XSLT file to transform the xml output of the nunit2 task

2005-06-21 Thread Ian MacLean
Morris, Jason wrote: All, I noticed that there isn't a default xslt file to transform the xml output of the nunit2 task. I am sure that everyone would like something different, so that is probably why one wasn't included. check out the NUnitReport task in NAntContrib. There is a default

Re: [Nant-users] Changing configuration files with nant

2005-06-02 Thread Ian MacLean
. If the change to app.exe.config is a very simple one the first option is probably a better one. Ian -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Thursday, June 02, 2005 1:13 PM To: Susantha Kumara Cc: nant-users@lists.sourceforge.net Subject: Re: [Nant-users

Re: [Nant-users] Changing configuration files with nant

2005-06-02 Thread Ian MacLean
Susantha Kumara wrote: Hi all, I use nant to build a C# .Net application which is dependent on an external set of .Net assemblies. Each new release of these set of external assemblies has slightly different assembly names ( Ex : mylib-0.8.335.dll --> mylib-0.8.347.dll ). So at the moment

Re: [Nant-users] Suppress framework warnings in NAnt log

2005-06-01 Thread Ian MacLean
Sandeep wrote: Hi, I get the following messages in the log when I run a NAnt script: NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Framework 'net-1.0' is invalid and has not been loaded : The 'System.dll' assembly does not ex

Re: [Nant-users] Issue with building a C# winforms app with embedded images

2005-05-26 Thread Ian MacLean
[EMAIL PROTECTED] wrote: This may be a trivial issue, in which case I apologize, but I googled for the answer, and didn't find any solution. The issue is that I have a C# windows forms application with a png image as an embedded resource. Visual Studio compiles the solution fine, and the fina

[Nant-users] [Fwd: Nightly build]

2005-05-23 Thread Ian MacLean
Original Message Subject:Nightly build Date: Mon, 23 May 2005 18:59:24 +0100 From: Paul Cowan <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Hi all, What's the best way to run Nant as a nightly build?? Thanks Paul _

[Nant-users] [Fwd: Directory]

2005-05-23 Thread Ian MacLean
pls don't email the admin alias directly. Use nant-users@lists.sourceforge.net Original Message Subject:Directory Date: Mon, 23 May 2005 18:35:42 +0100 From: Paul Cowan <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Hi all, I'm very new to Nant. How can I say

Re: [Nant-users] Running NAnt remotely by passing some parameters

2005-05-20 Thread Ian MacLean
Sandeep wrote: I want to run a common NAnt script stored on a server remotely by passing some parameters (like system name, source control folder, mailing list etc.) dynamically. I am looking for feasible (not requiring much effort :)) options to satisfy the above requirement. I assume yo

Re: [Nant-users] Conditional compilation

2005-05-16 Thread Ian MacLean
Susantha Kumara wrote: Does nant support conditional compilation of C# projects? yes If so how do I mention the defined constants in the build script? use the define attribute on the task. Is there a way to define those constants in the command line for nant command? you could tailor

Re: [Nant-users] mixing call and depends

2005-05-12 Thread Ian MacLean
Gary Feldman wrote: Owen Rogers wrote: i was just doing some profiling of our build and i noticed that certain tasks were getting executed twice. we use a mixture of call tasks and depend attributes in our build file. it seems that if a target is *call*ed its *depend*encies are executed -- even

Re: [Nant-users] Dynamically execute a target when it exists....

2005-05-12 Thread Ian MacLean
Gary Feldman wrote: Ian MacLean wrote: Thomas Tomiczek wrote: Ok, now things get intersting. Is there any way to execute a target from within a task? you could if you write your own custom task. Tasks have complete access to the Project object and its list of Targets. That's unnecessary.

Re: [Nant-users] Syncing code with VSS?

2005-05-12 Thread Ian MacLean
Pierce wrote: Hmmm...I know I would have a very hard time talking our technical lead into switching over to CVS (it's been tried before). Is that affirmative then? No way to sync with VSS through NAnt? ah - the link previously posted is exactly what you need to sync VSS through NAnt. Install

Re: [Nant-users] Dynamically execute a target when it exists....

2005-05-12 Thread Ian MacLean
Thomas Tomiczek wrote: Ok, now things get intersting. Is there any way to execute a target from within a task? you could if you write your own custom task. Tasks have complete access to the Project object and its list of Targets. Ian I try to get rid of the "additional" .build files. My idea i

Re: [Nant-users]

2005-05-11 Thread Ian MacLean
Thomas Tomiczek wrote: Yeah, this did fix it. Sadly the documentation for the include task did not really give me a hint in this area. I'll add a note that the included file also needs to be valid xml. Ian -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED]

Re: [Nant-users]

2005-05-11 Thread Ian MacLean
Thomas, the included file also requires a top level tag. The error you are seeing is an xml error since your file contains: ... ie multiple elements at the top level - forming an invalid xml document. try somthing like : ... Ian Thomas Tomiczek wrote: I jsut re-ch

Re: [Nant-users] How to use

2005-05-08 Thread Ian MacLean
Norman Morse wrote: I'm trying to use Jscript with the task and am having unexplained problems.
My build file has this target defined: