RE: [Nant-users] Version task - 0.85 rc 3

2005-10-20 Thread Robert Schneider
Hi Rebecca, There is the value NoIncrement for the buildtype attribute. Unfortunately it does not exists for revisiontype. I'm sure there is a reason for that, but since I'm also new to those build things I cannot tell you that reason. However, for your wish there could be a work around. I assu

[Nant-users] NAnt logfile

2005-10-20 Thread yamuna jayawardena
hi all, Does any one know how to write the NAnt build process details of a project, to a log file in c# ? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---

Re: [Nant-users] redirection in a NAnt task ??

2005-10-20 Thread si
Hi Evan, > Exactly. I'm also experiencing output going to output file AND to > log. My question (feature request?) is how do I turn off (or at least turn > down) logging, but not affect output. Not sure how this can be > accomplished. Perhaps this might help? http://www.mail-archive.com/nan

RE: [Nant-users] Xpath guru needed...

2005-10-20 Thread Eric Williams
Ok so try this instead (adjust the xmlpeek.file attribute accordingly):         

RE: [Nant-users] Xpath guru needed...

2005-10-20 Thread Eric Fetzer
If you sent the entire xml file it would be much easier to write the path. The reason you can't close the Product tag, is because I'm sure there is a later in the document (prolly several). I'm also guessing there are multiple tags in there, which will cause you to have to use the "[EMAIL PROTE

RE: [Nant-users] Xpath guru needed...

2005-10-20 Thread Kedziora, Rebecca
Still does not work. Also when you wanted me to chagne the XML file to close the \> Product it would say the file is now invalid. If I leave my file alone it doesn't complain about it being invalid. http://schemas.microsoft.com/wix/2003/01/wi"; />

Re: [Nant-users] Xpath guru needed...

2005-10-20 Thread Martin Gainty
Title: Xpath guru needed... RebeccaYou need to ensure your XML nodes are well formed so replace your Product node text     Version="3.0.0.100" Manufacturer="Corporation"> with    Version="3.0.0.100" Manufacturer="Corporation"/> HTH,Martin- - Original Message - From: Ke

RE: [Nant-users] Xpath guru needed...

2005-10-20 Thread Guy Metz
Because the Wix document has a namespace your Xpath expression must also reference the namespace. Remember that xpath matches on fully qualified names. Try the following (sorry in advance if I screwed up the syntax) http://schemas.microsoft.com/wix/2003/0

RE: [Nant-users] Xpath guru needed...

2005-10-20 Thread Kedziora, Rebecca
This is what I am using in my build file to get the Version but it doesn't work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kedziora, Rebecca Sent: Thursday, October 20, 2005 3:36 PM To: nant-users@lists.sourceforge.n

RE: [Nant-users] Xpath guru needed...

2005-10-20 Thread Kedziora, Rebecca
I opened up this document in IDE and the XML editor and it looks fine. Even with this document I get the same erros that the node is not valid. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, October 20, 2005 3:28 PM To: Eric Fetzer; Kedziora, Rebecca;

Re: [Nant-users] Xpath guru needed...

2005-10-20 Thread Martin Gainty
http://schemas.microsoft.com/wix/2003/01/wi";> Note the end tag /> at the end of the If you want a way to catch malformed XML errors just open the xml document in your IDE OR Open your XML document with XML Parser such as XMLSpy available at the Altova XMLSpy site http://www.altova.com/dow

RE: [Nant-users] Xpath guru needed...

2005-10-20 Thread Eric Williams
Title: Xpath guru needed... If you make your snippet valid by adding a closing tag at the end of your Product element then the following XPath will work:   /Wix/Product/@Versionor more specific /Wix/[EMAIL PROTECTED]'431EB16A']/@Version version="1.0"?>Re: [Nant-users] Xpath guru needed...
/Wix/Product/[EMAIL PROTECTED]'431EB16A']/@Version --- "Kedziora, Rebecca" <[EMAIL PROTECTED]> wrote: > Anyone, > > Trying to use the xmlpeek to retrieve the value of > an attribute. > > I am trying to get the Version: > > > > xmlns="http://schemas.microsoft.com/wix/2003/01/wi";> > >

[Nant-users] Xpath guru needed...

Title: Xpath guru needed... Anyone, Trying to use the xmlpeek to retrieve the value of an attribute.  I am trying to get the Version: http://schemas.microsoft.com/wix/2003/01/wi">     Version="3.0.0.100" Manufacturer="Corporation"> I tried several ways to use xpath and it

RE: [Nant-users] target execution probiem

David, This is working just fine here (note, I'm using a nightly build though). Gert > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > david m. chinn > Sent: donderdag 13 oktober 2005 20:20 > To: nant-users@lists.sourceforge.net > Subject: [Nant

Re: [Nant-users] deleting directory nasty problem

Gert Driesen wrote: Dean, I agree that this should indeed by the behaviour of the task, and I've brought this change up several times. Perhaps now would be a good time to decide once and for all, and clearly document it. Should we modify the task to no longer fail if the file or directory d

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

Hi Evan, This is a fine way to solve my problem, and it works smoothly, as i expected. :) I tried Owen's suggestion of using the asminfo task too, and it worked as well, but it's a little more verbose than i'd prefer. Is there any way to put your into the Nant library of std. tasks, as I can im

Re: [Nant-users] redirection in a NAnt task ??

John Hardin wrote: Evan Levy said: use the task "output" parameter to send the program's output to a file. In my experience that does NOT suppress output to the NANT log - it goes to both. Has that bug been fixed? Not as far as I know. The bug is at https://sourceforge.net/t

RE: [Nant-users] deleting directory nasty problem

Third! I don't like having to script the extra logic either. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pillai, Gishu R (GE Energy) Sent: Thursday, October 20, 2005 1:57 AM To: nant-users@lists.sourceforge.net Subject: Re: [Nant-users] deleting dir

[Nant-users] Version task - 0.85 rc 3

Title: Version task - 0.85 rc 3 Anyone, I am a newbie to Nant and am using the version task. I created a file with the contents:  3.0.0.100 I want the version task to update this file as follows: 3.0.1.100 3.0.2.100 This is what I am doing.

RE: [Nant-users] deleting directory nasty problem

Agreed that this is the most "natural" implementation from a newbie point of view. -Kelly > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Pillai, Gishu R (GE Energy) > Sent: Thursday, October 20, 2005 2:57 AM > To: nant-users@lists.sourceforge.n

[Nant-users] Web App Permission Problem

I am a newbee to Nant so hopefully this will be easy for someone out here. I am writting a simple script to build a web application. Here is the script    Crystaltech's Order Form      http://localhost/Orderform/Orderform.vbproj" path="C:\Inetpub\wwwroot\Orderform"/>   Whe

RE: [Nant-users] Developers using NAnt Directly

This is a really great addition to this thread, thanks Christian, you've really brought this into clear focus for me! When you talk about separate targets in this context, do you put targets into separate build files for each type of build, or do you use branching and manage all the build types in

RE: [Nant-users] Install Tools

> From: Troy Laurin [mailto:[EMAIL PROTECTED] > > On 10/20/05, Anderson, Kelly <[EMAIL PROTECTED]> wrote: > > As a follow up question though... about the "clean" target, does the > > clean target typically delete the source files so that they > have to be > > retrieved from revision control by s

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

I ran into this and wrote a simple generic regex-replace task:

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

Hi guys, I'd like to parse my AssemblyInfo.cs file for : [assembly: AssemblyVersion("0.2.0.0")] and substitute the version (in casu: 0.2.0.0) with a current version# in property ${ver.config). I've looked at the nant task with and http://solutions.newsforge.com/ibmarch.tmpl __

Re: [Nant-users] deleting directory nasty problem

- Original Message - From: "Bill Arnette" <[EMAIL PROTECTED]> To: Sent: Thursday, October 20, 2005 4:13 PM Subject: RE: [Nant-users] deleting directory nasty problem > By the same token, should not succeed if the directory already > exists? Fail only if there is already a *file* by t

RE: [Nant-users] deleting directory nasty problem

By the same token, should not succeed if the directory already exists? Fail only if there is already a *file* by the same name or if there is a permissions problem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pillai, Gishu R (GE Energy) Sent: Thursd

Re: [Nant-users] redirection in a NAnt task ??

On 10/20/05, Evan Levy <[EMAIL PROTECTED]> wrote: > Exactly. I'm also experiencing output going to output file AND to > log. My question (feature request?) is how do I turn off (or at least turn > down) logging, but not affect output. Not sure how this can be > accomplished. I've got a patch

Re: [Nant-users] Developers using NAnt Directly

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] redirection in a NAnt task ??

Title: RE: [Nant-users] redirection in a NAnt task ?? Exactly.  I'm also experiencing  output going to output file AND to log.  My question (feature request?) is how do I turn off (or at least turn down) logging, but not affect output.  Not sure how this can be accomplished.   e From:

RE: [Nant-users] Specifying a logfile with task ?

Thanks man, you just solved another couple of issues for me. via the comregister and regasm tasks (+ the record task). Gishu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nielsen.Allan Rene Dystrup AND Sent: Thursday, October 20, 2005 1:44 PM To: si Cc: nan

Re: [Nant-users] deleting directory nasty problem

I think the delete task should pass if no traces of that directory remain. (covers the case DirNotExist) However if the task was for some reason unable to remove the dir due to locks etc. the task should fail. I second Dean here.. Gishu -Original Message- From: [EMAIL PROTECTED] [mailto

RE: [Nant-users] deleting directory nasty problem

I think this change would make sense. You can easily use a function to determine whether a directory exists and fail if this is the required (yet less common) behaviour. Christian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gert Driesen Sent: 20 Octobe

[Nant-users] Developers using NAnt Directly

I think Troy has summed things up nicely. A small point to add to this discussion that I think is being implied by a number of posts: the build comes in a number of flavours. There's a Private build an Integration build and a Release build (and possibly other variants). Each build is a superset

SV: [Nant-users] Specifying a logfile with task ?

Hi si! That did nicely solve my problem, -- saved the day :) Thanks / allan -Oprindelig meddelelse- Fra: si [mailto:[EMAIL PROTECTED] Sendt: 20. oktober 2005 09:03 Til: Nielsen.Allan Rene Dystrup AND Cc: nant-users@lists.sourceforge.net Emne: Re: [Nant-users] Specifying a logfile with

Re: [Nant-users] problems with referenced files

Christian, Can you send me a small repro for this issue ? Thanks ! Gert - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Thursday, October 20, 2005 10:09 AM Subject: [Nant-users] problems with referenced files hello everybody, I have this error during using NAnt for buildin

[Nant-users] problems with referenced files

hello everybody, I have this error during using NAnt for building VS.Net solution: [cl] c:\Development\MM8000\MM8000Server\In Progress\MM8000SrvI\XmlBulkImport.h(7) : fatal error C1083: Cannot open type library file: 'xblkld3.dll': No such file or directory my build file is:

Re: [Nant-users] deleting directory nasty problem

Hi Dean, > what if I want it to be just like java's ant where I am doing a clean target > and I want it to pass if > > The directory already does not exist….ie. clean was successful because it > was already clean > I want it to fail if it tries to delete ${output} and cannot because a file > is lo

Re: [Nant-users] deleting directory nasty problem

Dean, I agree that this should indeed by the behaviour of the task, and I've brought this change up several times. Perhaps now would be a good time to decide once and for all, and clearly document it. Should we modify the task to no longer fail if the file or directory does not exist (and docu

Re: [Nant-users] Specifying a logfile with task ?

Hi Allan, > Is there by any means a clean way to specify a logfile for a task http://nantcontrib.sourceforge.net/nightly/latest/help/tasks/record.html Works a treat! peace si --- This SF.Net email is sponsored by: Power Architecture Resourc

RE: [Nant-users] target execution probiem

Maybe it is a RC3 thing?  Seems to work fine on my build.   C:\>"C:\Program Files\nant\bin\NAnt.exe" -f:test.build junkNAnt 0.85 (Build 0.85.1869.0; rc2; 2/12/2005)Copyright (C) 2001-2005 Gerry Shawhttp://nant.sourceforge.net   Buildfile: file:///C:/test.buildTarget framework: Microsoft .NE