Re: [Nant-users] Cannot build solution with .mdproj projects?

2004-06-29 Thread Gert Driesen
Mikkel, You need to specify the full path (or path relative to project base directory) to the project files that you want to exclude. Hope this helps, Gert - Original Message - From: "Faarup, Mikkel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 28, 2004 9:39 AM Subject

Re: [Nant-users] How to filter back version number in .cs and .vb files

2004-06-29 Thread Gert Driesen
Brian, You could use the task to generate your AssemblyInfo.cs file from scratch, or you could wait until we've integrated FilterChain support (http://ant.apache.org/manual/CoreTypes/filterchain.html) into NAnt as that would allow you to replace part of a file. Gert - Original Message -

[Nant-users] vssget - system.argumentexception

2004-06-29 Thread sriram.rajamanuri
Title: Message Hi,   I kinda digged through the archieves - Hence this mail.   When I am using the vssget task, it gives me an 'System.ArgumentException' during build saying that the xmlnode has not been mapped.   Following is the build file:     password="password" 

Re: [Nant-users] using task on files

2004-06-29 Thread Ian MacLean
John, Just some comments on the layout below: I needed to do a similar thing. My solution was to create two new custom functions, regex::replace and file::get-file. They are very simple and have no error checking :-)
[Function("replace")]
public static

[Nant-users] Cannot build solution with .mdproj projects?

The excludeprojects does not work for me... can anyone help?   Btw,  is this the correct way to use excludepriojects?             .mdproj projects are model-projects for Rational XDE   Br Mikkel   Our name has changed. Please update your address b

Re: [Nant-users] include native dll's

[EMAIL PROTECTED] wrote: Hi, How do I include COM dll's in the project. use the tlbimp task [1] to create the interop assembly and then reference that assembly as normal. note - if you're currently using visual studio this is what it does behind the scenes for you automatically. Have a look a

Re: [Nant-users] using task on files

- Original Message - From: "Ian MacLean" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: "Jeroen Zwartepoorte" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, June 29, 2004 4:43 AM Subject: Re: [Nant-users] using task on files > >Ian, what do you think : should we

Re: [Nant-users] using task on files

Gert Driesen wrote: - Original Message - From: "Ian MacLean" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: "Jeroen Zwartepoorte" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, June 29, 2004 4:43 AM Subject: Re: [Nant-users] using task on files Ian, what do you

[Nant-users] How to filter back version number in .cs and .vb files

< ??? tofile="${drive}\${src.path.blocks}\${Data Access}\${DA}\AssemblyInfo.cs" filtered="true"/> I was able to increment the version number via a text file 'build.number' containing 1.0.0.0. However, I do not know how to filter/inject it back to the cs file?. Can anyone help? Regards,

[Nant-users] Cannot build solution with .mdproj projects?

The excludeprojects does not work for me... can anyone help?   Btw,  is this the correct way to use excludepriojects?             .mdproj projects are model-projects for Rational XDE   Br Mikkel Our name has changed. Please update your address book

RE: [Nant-users] Need help with

Here's something that might help you, help me. Whenever I place the html file in the attachement include, I get it in the email as an attachment. But as soon as I place it in the includes I don't even receive the email. I don't know if u can make sense with this. It's pretty confusing for me a

RE: [Nant-users] Need help with

I tried putting a different file in the parameter and I got the email with the body containing that file. So I guess the problem is with my html file.. I get this message from my ??.log file: [mail] File 't:\3_developing\Build\???\build.log' NOT attached to message. File does not exist or canno

RE: [Nant-users] using task on files

Ian, Thanks for the tips! Putting the scripts in the top level is a great idea. As far as tasks vs functions, using functions and properties like this _felt_ nicer :-) And I use a echo task to actually write the file back out, I didn't provide a file::write function :-) Just a function to r

Re: [Nant-users] Need help with

> - Original Message - > From: "Jean-Michel Theriault" <[EMAIL PROTECTED]> > To: "Gert Driesen" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Tuesday, June 29, 2004 5:34 PM > Subject: RE: [Nant-users] Need help with > I always get the build failure, that's normal since I catch th

Re: [Nant-users] Problems building Nant and test project

Casey,   The copyright issue, is something that was fixed post 0.84.  For the Visual C++ tests to succeed you need to execute the VS.NET vsvars32.bat file (eg. C:\Program Files\Microsoft Visual Studio ..NET 2003\Common7\Tools\vsvars32.bat) before building NAnt.   For the csc task issue, NAnt

RE: [Nant-users] Need help with

I always get the build failure, that's normal since I catch the failure elsewere. But I want to get the email with the attachments and the body in html format saying that there has been a failure. The file in html format gets created and I can go and look at it from it's path afterwards, but as

Re: [Nant-users] Need help with

Jean-Michel, Do you get a build failure when you add files to the body ? Gert - Original Message - From: "Jean-Michel Theriault" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 29, 2004 5:18 PM Subject: RE: [Nant-users] Need help with

[Nant-users] Problems building Nant and test project

Just downloaded latest version (0.84), and Nant won’t build itself – it fails it’s own Unit tests – firstly with an issue with the copyright date (2003 vs 2004), then with C++ test errors, which I haven’t worked around. Seems a bit odd it won’t build correctly ‘out of the box’   Anyway –

[Nant-users] vcopy task

I needed some copy related functionality which was not available in the copy task, some of which may not be needed once named filesets are fully available. I have created a vcopy task which I have been using succesfully & testing over the past month. The differences between the vcopy task and the c

RE: [Nant-users] Need help with

Hi Gert, I am pleased to say that my attachments now work fine. I created an for each file and I get them in the email. Here's what that looks like: Now, whenever I add the parameter to this, I don't get

Re: [Nant-users] Need help with

Jean-Michel, This works fine using a recent NAnt 0.85 nightly build (http://nant.sourceforge.net/nightly/builds) : Filesets (in your case ) do not support multiple file patterns in one element. We might consider adding a