Re: [Nant-users] Output from exec command lost

2003-12-12 Thread Ian MacLean
Hi Bill, try instead. You should see the output from devenv in that case. Ian Bill Dagg wrote: I have a script with the following task: Whenever I execute this script with Nant, however, the only results displayed to the console are success or failure. All of the devenv output (e.g. build r

Re: [Nant-users] Conditional execution

2003-12-12 Thread Ian MacLean
hmm well if failonerror is set to true then a task failure will stop the build meaning that no further tasks will execute regardless of dependencies. Ian Daniel Bron wrote: Hello, Is it possible to setup a task such that it won't run unless another task has executed successfully? The depends cl

RE: [Nant-users] How to include a snk file in a csc task

2003-12-12 Thread David Reed
You shouldn’t have to “include” it; it’s not a class file nor a resource nor a reference.  It’s referenced by your AssemblyInfo.cs file, like this:   [assembly: AssemblyKeyFile(@"..\..\Astro.Web.BaseClasses.snk")]   The cryptographic whatchamadoozie is called by CSC which looks for it a

Re: new #cvslib binary - fixes CVS\Entries problem; RE: [Nant-users] problem with the cvs-update task :: System.IO.FileNotFoundException: path=[c:\main\night\HelloWorld]fileType=[Repository]Filenotfound.

2003-12-12 Thread pierre . thorey
Ok, i will try tomorrow, and let you know. thanks a lot, Pierre. |-+--> | | [EMAIL PROTECTED]| | | adicism.com| | | | | | 11/12/03 18:38 | | |

RE: [Nant-users] problem with the cvs-update task :: System.IO.FileNotFoundException: path=[c:\main\night\HelloWorld]fileType=[Repository]Filenot found.

2003-12-12 Thread pierre . thorey
Hi Clayton, I'm using nant 0.84 (build 0.84.1435.0) . I've changed Nant.exe.config in order to have some detailed log. I got that [Core.Task:Task.Execute() for 'cvs-update' - [] <>] [Tasks.AbstractCvsTask:Setting options - [] <>] [Tasks.AbstractCvsTask:this.WorkingDirectory.Revision=[]

[Nant-users] How to include a snk file in a csc task

2003-12-12 Thread Arnaud Wintrebert
All, I would like to create an assembly using a strong name, so, how to include a keyfile (*.snk) in a csc task Thanks. Arnaud --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net

[Nant-users] Output from exec command lost

2003-12-12 Thread Bill Dagg
I have a script with the following task: Whenever I execute this script with Nant, however, the only results displayed to the console are success or failure. All of the devenv output (e.g. build results from individual projects in the solution file) that you get when devenv is executed outside

RE: [Nant-users] Conditional execution

2003-12-12 Thread Jean Rajotte
daniel, do you mean target or task? for task, i don't know... for target, i'd to this: ... ... ... jean > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Daniel Bron > Sent: Friday, December 12, 2003 14:30 > To: Nant (E-mail) > Subj

[Nant-users] Conditional execution

2003-12-12 Thread Daniel Bron
Hello, Is it possible to setup a task such that it won't run unless another task has executed successfully? The depends clause won't work because if TaskA depends on TaskB and TaskB hasn't been run, then TaskA will run TaskB. What I want is for TaskA to run if and only if TaskB has already run a

RE: [Nant-users] Including external properties files

2003-12-12 Thread Kevin Dickover
I had the namespace defined in the included file but not in the calling file. Once I had the xmlns defined in both files everything worked as I expected. Thanks Damir, for putting me on the right track. Kevin Dickover -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [Nant-users] enabling/disabling targets on task availability

2003-12-12 Thread Rodrigo B. de Oliveira
Thanks you guys! - Original Message - From: "Jean Rajotte" <[EMAIL PROTECTED]> > ... > the following works for me: > > > > > > > > > > > > > > > > > > > HTH > /jean > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On B

RE: [Nant-users] enabling/disabling targets on task availability

2003-12-12 Thread Jean Rajotte
the original question wasn't whether target/task are conditional (they are). it was whether there's a way to test the availability of tasks. there is. it's documented as: built-in properties: nant.task.* Each task available to nant has a "true" value, e.g., nant.task.copy however, the DOC

RE: [Nant-users] enabling/disabling targets on task availability

2003-12-12 Thread Damir Simunic
Rodrigo, targets can be conditionally executed with if/unless attributes: If/unless can be applied to any task, not just call. You can also use if/unless on the target itself: ... Damir -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo B. d

RE: [Nant-users] Including external properties files

2003-12-12 Thread Damir Simunic
Kevin, Do you have the namespace defined for visual studio intellisense or such in the file that includes other files? Damir -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Dickover Sent: Friday, December 12, 2003 4:55 PM To: 'Nant (E-mail)' Subje

[Nant-users] enabling/disabling targets on task availability

2003-12-12 Thread Rodrigo B. de Oliveira
How can I test if a task is available for the current build platform and conditionally enable/disable targets? Right now my problem is disabling a specific target when the nunit2 is not available. Thanks in advance, Rodrigo B. de Oliveira ---

RE: [Nant-users] Including external properties files

2003-12-12 Thread Jean Rajotte
that's a different topic, right? in my example, because the properties were defined in the root of the project, there's nothing to call. "runs" the file, so the properties are now available in this build file. try it w/ my example. it works, right? however, if you want, you can do this: c:\_my

RE: [Nant-users] Including external properties files

2003-12-12 Thread Damir Simunic
Daniel, The properties file is just another build file. As you can include build files, there are several ways you can achieve what you want: A) In your master build file, include the properties file B) Include the build file from the user's file with properties ... C) Execute the b

RE: [Nant-users] Including external properties files

2003-12-12 Thread Daniel Bron
Thank you for your help, -D. Bron -Original Message- From: Jean Rajotte [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 10:47 AM To: 'Daniel Bron'; 'Nant (E-mail)' Subject: RE: [Nant-users] Including external properties files it's not a property file per se, but a project fil

RE: [Nant-users] Including external properties files

2003-12-12 Thread Kevin Dickover
I have used to external files as well. However I find that targets defined in an include file can be called but they never actually do anything. Is this behavior a bug or by design? If it is by design that should be documented... Kevin Dickover -Original Message- From: [EMAIL PROTECTE

RE: [Nant-users] Including external properties files

2003-12-12 Thread Jean Rajotte
it's not a property file per se, but a project file that defines properties, like so: c:\_myprops.build --8<-- --8<-- then you just include this file like so (note the task can't be inside a target ): HTH > -Original Message- > From: [EMAIL PROTECTED] >

[Nant-users] Including external properties files

2003-12-12 Thread Daniel Bron
Hello, I'm new to Nant. Is there any way to include external properties files from a build file? That is, I would like to seperate (global) properties and actions, so different users can have different configurations. -D. Bron --- This SF.ne

Re: [Nant-users] Nant Help for a Newbie?

2003-12-12 Thread Ian MacLean
Hi Evan, there are a numb of intro articles linked from this page: http://nant.sourceforge.net/wiki/index.php/NAntUsage the ondotnet article is a very good starting point. http://www.ondotnet.com/pub/a/dotnet/2003/01/27/nant.html?page=1 hope this helps you. an Bonnett, Evan A wrote: Looks lik