Thanks Gert, that is exactly what I
was looking for...
:)
"Gert Driesen" <[EMAIL PROTECTED]>
05/13/2004 01:59 PM
To:
"Bob Archer" <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
cc:
Subject:
Re: [Nant-users] run task on f
You can define a property named "nant.onfailure", and set its value to the
name of the target that should be executed when the project fails.
- Original Message -
From: "Bob Archer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, May 13, 2004 8:40 PM
Subje
Scripts are inherently single threaded on Windows boxes
which is why when you spawn multiple JVM threads on a Windows box
requesting a Resource such as
-Delete Directory
-Create Directory
-Any other IO
with a forked JVM nothing physically happens until the forked JVM returns
In fact i I forked a VM
You should be able to make the CheckIn
target dependent on the Modify target. If the modify target fails the checkin
target will not run.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, May 13, 2004 2:32
PM
To:
[EMAIL PROTECTED]
i have a situation where i would like
to run a task to put a system back in its initial state if another task
fails. Something like this:
check out file
modify file > fails
check in modifications
label
build
undo checkout if failure
the key is i don't want to run the checkin,
label, and buil
http://mail-archive.com (If your
favorite mail list isn't subscribed already, do it... )
See the nant wiki for more info http://nant.sourceforge.net/wiki/index.php/ListArchiveSearches
- Original Message -
From:
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thu
please help a mailing list noobie :)
is there a good way to search the archives
for keywords before posting a new question?
and
how would i respond specifically to
this post to help out:
http://sourceforge.net/mailarchive/forum.php?thread_id=4168916&forum_id=9544
thanks in advance
steve
Title: Message
Apologies if this is a
repeat...
The parent property problem is resolvable
if you define the property in the parent script (probably as or something). You can then reset it in
nested scripts (I assume that's what you're talking about when you say a
controlling project? A
Title: RE: [Nant-users] Interim state on a build between SUCCEEDED and FAILED
Thanks
for that Henry,
It's
not quite what I want to do, but it has given me a couple of ideas. Your
idea of defining a property is good, I can do this inside my task and add or
modify the property on the projec
Title: Message
Martin,
That's
fine if your tasks are simplistic, and you can organise them in that way
(although personally, I don't like the dependency way of doing things anyway, as
I feel they make the scripts harder to read :) . However, many of my tasks have
sections of script, and ex
Title: RE: [Nant-users] Interim state on a build between SUCCEEDED and FAILED
Henry/BillA)Put all of your mission critical
tasks up front in some sort of clean or init target specifying
failonerror="true" for all critical tasks
B)introduce the concept of task dependencies to
later targets..co
Title: RE: [Nant-users] Interim state on a build between SUCCEEDED and FAILED
I've worked around a similar problem which relates to the success of Nunit tests (amongst other things) based on external sources. We have no control over them, so they are prone to fail which would normally cause th
I have written a custom task to perform a scan on a VS project file when the
build is executed to ensure the project complies with standards (it checks
that option explicit is set in a VB project for example and checks for files
in the archive that aren't part of the project.)
The problem I have i
13 matches
Mail list logo