ccount. So, I had to login as the build
user, run psexec, accept the licese, then restart the ccnet service (to pick up
the path change). After I did that all was well.
From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Wednesday, November 17, 2010 1:11 PM
To: nant-users@lists.sourceforge.net
Our build server crashed so I had to build a new one. It was Windows 2003 not
on Windows 2008R2 64-bit. Our build script seems to have an issue... one of the
build tools that is run with an exec task doesn't exit when run via nant.
However, if I run it at the command line it exits fine.
If I en
I have an command line tool that I am running using the exec task. This
is an old tool and it returns a 1 if there are no errors. Nant sees [I
think] a non-zero return as an error code.
1. Is there any way to specify to nant what return code is actually
an error?
2. I am using failon
Scott Mitchell
Sent: Tuesday, May 06, 2008 12:41 PM
To: Bob Archer; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Exec command
Yes sorry. Unfortunately I really don't know what the problem was. I think it
was the working Directory like you pointed out. But I also changed th
Yeah I don't blame you. I meant to say that in the original email but was so
excited to get it working I forgot.
Thanks,
Scott
From: Scott Mitchell
Sent: Tuesday, May 06, 2008 10:41 AM
To: 'Bob Archer'; '[EMAIL PROTECTED]'
Subje
Sent: Tuesday, May 06, 2008 10:23 AM
To: Scott Mitchell
Subject: RE: [NAnt-users] Exec command
You're not going to tell us all what the problem was?
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Mitchell
Sent: Tuesday, May 06, 20
Thanks to everyone that helped me I got it working.
Here is the command now that works great.
Again thanks to everyone for there help.
Scott Mitchell
Re: [NAnt-users] Exec command
Gert Driesen
Tue, 06 May 2008 00:31:25 -0700
Scott:
Please run NAnt in
m: Bob Archer
Sent: Monday, May 05, 2008 11:31 PM
To: Scott Mitchell ; [EMAIL PROTECTED]
Subject: Re: [NAnt-users] Exec command
Ideas.
1.. Set resultpropert and set failonerror to false. This way you can see what
errorcode was returned and that may give you a hint.
2.. Are there an
Have you tried setting the working directory in addition to the basedir?
BOb
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Mitchell
Sent: Monday, May 05, 2008 5:43 PM
To: [EMAIL PROTECTED]
Subject: Re: [NAnt-users] Exec command
he command
does it fail.
3)Well I was going to try this, but on the Task description page for
it says that this is 'deprecated'. I did try this at first but removed it
because it made no difference.
Thanks for the help.
Thanks,
Scott Mitchell
Re: [NAnt-users] Exec comman
, 2008 5:23 PM
To: [EMAIL PROTECTED]
Subject: Re: [NAnt-users] Exec command
Hi Bob,
Yes I have verbose on, here is my exact command.
Like I said it gets about half way through the installer build, before it goes
belly up
checked. Oh yeah, and verbose is set to true, and I can see it
compressing he files until all the sudden it stops.
Thanks,
Scott Mitchell
Re: [NAnt-users] Exec command
Bob Archer
Mon, 05 May 2008 13:13:36 -0700
Did you try setting verbose to true to see what was happening? Perhaps
BOb
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Mitchell
Sent: Monday, May 05, 2008 4:08 PM
To: [EMAIL PROTECTED]
Subject: [NAnt-users] Exec command
I am having a problem with the command. (I think it is the
command at least)
I am having a problem with the command. (I think it is the
command at least)
I have started switching our build system to use NANT for the building of our
software. It is going very good, and has replaced so much of our old Perl
scripts, with relative ease. The problem I have run into is b
Subject: [NAnt-users] Exec task streaming standard out
Hi All,
The default behavior of the Exec task seems to be to stream standard error to
the console, but to butter standard out and only dump the buffer to the console
(or log file for that matter) when the exec'd task comp
: Jeff Richter; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] Exec task streaming standard out
Hey Jeff,
We're actually not using log4net for our regular build output.
Also, we do not treat stderr any different from stdout (except for the
logging level).
Do you h
PROTECTED] On Behalf Of Jeff Richter
Sent: maandag 18 februari 2008 19:59
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Exec task streaming standard out
Hi All,
The default behavior of the Exec task seems to be to stream standard error
to the console, but to butter standard ou
Hi All,
The default behavior of the Exec task seems to be to stream standard
error to the console, but to butter standard out and only dump the
buffer to the console (or log file for that matter) when the exec'd task
completes.
Can anyone tell me if there is also a way to also stream the st
Subject: Re: [NAnt-users] exec
Bob Archer <[EMAIL PROTECTED]> wrote:
> So, I have a build tool which comes with a batch file to call it. The
> batch file calls the build tool which sets the errorlevel. It actually
> sets it to 1 for success. Is it possible it doesn't get back to
>
Bob Archer <[EMAIL PROTECTED]> wrote:
> So, I have a build tool which comes with a batch file to call it. The
> batch file calls the build tool which sets the errorlevel. It actually
> sets it to 1 for success. Is it possible it doesn't get back to
> nant... I would expect nant to see the one and
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] exec
Yes, it does. 0 = success, non-zero = fail.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob
Archer
Sent: Thursday, February 07
Yes, it does. 0 = success, non-zero = fail.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob
Archer
Sent: Thursday, February 07, 2008 10:37 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] exec
Does the exec task look at the dos errorlevel to determine if the task
passed or failed? Is that the same as exit code, or no? If not, is there
a way for me to read the DOS errorlevel?
BOb
-
This SF.net email is sponsor
Or more correctly:
unless=”${thisConfig = ‘clean’}”
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Archer
Sent: Tuesday, August 22, 2006
12:01 PM
To: Robert Hanson;
nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] exec
with unless
The
The exec task has an if and unless attribute…
Unless=${thisConfig = ‘clean’}
BOb
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert Hanson
Sent: Tuesday, August 22, 2006
11:28 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] exec with
What is the syntax I need here? I want to exec a task
unless a property has a certain value.
but I want to do so only if $(thisConfig) is not “clean”
Thanks in advance.
-
Using Tomcat but need to do
Rebecca Kedziora wrote:
How do you see what is happening when you execute something using the
exec task? I am running something but I can't see anything happening
though it is working. Do I have to pipe it to a file?
NAnt will include any output to stdout in its output. However, it may
be
Set the verbose attribute to true
Ex.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rebecca
Kedziora
Sent: Wednesday, May 10, 2006 10:56 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Exec task
Hi,
How do you see what is happening
Hi,
How do you see what is happening when you execute something using the
exec task? I am running something but I can't see anything happening
though it is working. Do I have to pipe it to a file?
Thanks,
Rebecca
---
Using Tomcat but need
Sorry sent that before I was finished...
Set the verbose attribute to true
-Original Message-
From: Paul Rempel
Sent: Monday, May 15, 2006 10:05 AM
To: 'Rebecca Kedziora'; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] Exec task
Set the verbose attribute t
Kedziora, Rebecca wrote:
Ah... the " worked!
Some places I don't have problems with the spaces in the dir name like
when using the move task, but using it in a redirection of the exec
task caused me grief.
The reason for this is that the move task is handled internally by NAnt,
but the re
:
nant-users@lists.sourceforge.net
Subject: RE: [Nant-users] Exec
program can't handle dir name with spaces
Ah... the "
worked!
Some places I don't have
problems with the spaces in the dir name like when using the move task, but
using it in a redirection of the exec
lto:[EMAIL PROTECTED] On Behalf Of Robert
SchneiderSent: Thursday, November 03, 2005 10:08 AMTo:
nant-users@lists.sourceforge.netSubject: RE: [Nant-users] Exec
program can't handle dir name with spaces
Try to use quotes.
Hope this helps.
"${buildlog.dir}\${source.
2005
4:55 PM
To:
nant-users@lists.sourceforge.net
Subject: [Nant-users] Exec program
can't handle dir name with spaces
A bug or not with nant .85 rc 3?
I am executing a program using the exec task as shown below:
<exec
program="${tools.bin.path}\changes.cmd&q
ailto:[EMAIL PROTECTED] On Behalf Of Kedziora, Rebecca
Sent: November 3, 2005 10:55 AM
To:
nant-users@lists.sourceforge.net
Subject: [Nant-users] Exec program
can't handle dir name with spaces
A bug or not with nant .85 rc 3?
I am executing a program using the exec task as shown below
filename}"" failonerror="false"/>
Thanks,
Ryan
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kedziora, Rebecca
Sent: Thursday, November 03, 2005
10:55 AM
To:
nant-users@lists.sourceforge.net
Subject: [Nant-users] Exec program
can't hand
Title: Exec program can't handle dir name with spaces
A bug or not with nant .85 rc 3?
I am executing a program using the exec task as shown below:
Re: [Nant-users] EXEC Task Output
Gary Feldman said:
> Bill Bither wrote:
>
>>Is there an easy way to force the output from an EXEC task to be written
>>to the console, so that the NAnt log includes the output from the
>>external commandline application?
>>
> This is the default behavior. Are you seeing something different?
Yes,
While we're at it, is there any way to force the output from an EXEC task to
the value of a property?
I've got a quick little script that checks for the existence of an IIS virtual
directory, and if it's found, prints "true" and if not, prints "false".
Right now, the only solution that I can find
Brilliant! Thank you.
Regards,
-Bill
> -Original Message-
> From: Foster, Richard - PAL [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 19, 2005 3:11 PM
> To: Bill Bither; nant-users@lists.sourceforge.net
> Subject: RE: [Nant-users] EXEC Task Output
>
> Bill,
>
/html/vxgrfCommandLineSwitches.asp) confirms it!
Regards,
Richard
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Bither
Sent: Tuesday, July 19, 2005 14:51
To: [EMAIL PROTECTED]; nant-users@lists.sourceforge.net
Subject: RE: [Nant-users] EXEC Task Output
It appears that d
din [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 19, 2005 2:43 PM
> To: nant-users@lists.sourceforge.net
> Cc: Bill Bither
> Subject: Re: [Nant-users] EXEC Task Output
>
>
> Gary Feldman said:
> > Bill Bither wrote:
> >
> >>Is there an easy way to force
Bill Bither wrote:
Is there an easy way to force the output from an EXEC task to be written
to the console, so that the NAnt log includes the output from the
external commandline application?
This is the default behavior. Are you seeing something different?
Gary
---
Is there an easy way to force the output from an EXEC task to be written
to the console, so that the NAnt log includes the output from the
external commandline application? In particular I would like the output
to devenv to be included in the NAnt log. What we have been doing is
writing it to a s
Hi Frank
if not possible, how can I remove
the CRLF
from a String-Property read in with ?
If you want to remove the end in a string property you could use the string functions :
http://nant.sourceforge.net/release/latest/help/functions/string.trim-end.html
or
http://nant.sourceforge.net/releas
Hello All,
How can I get the
write output to a property instead of file? if not possible, how can I remove
the CRLF
from a String-Property read in with ?
Here the facts:
I want to get the actual revision number in a
p
On 6/23/05, Stephen Smyth <[EMAIL PROTECTED]> wrote:
> I have a few external programs that have several possible return codes
> each, only 1 of which in each case means failure. However, NAnt itself
> fails if any return code from an exec task is not 0, even if
> failonerror=false for that task (Wh
I have a few external programs that have several possible return codes
each, only 1 of which in each case means failure. However, NAnt itself
fails if any return code from an exec task is not 0, even if
failonerror=false for that task (Which in turn causes my cruise control
server to report a broke
I just upgraded to the latest nightly, after using one from back at the
beginning of July, and discovered that the logging behavior of has
changed.
It used to print out the program file that was being executed, but doesn't
do that any more. The comment in the log for ExecTask.cs says that this
r
The output= attribute of the exec task is documented as redirecting the
output, but that's not what it does. It does a tee.
I can submit a bug report, but I'm wondering is the bug in the docs or in
the code? Or in other words, what do users think it should do? Personally,
I think it should redi
Hello everyone, we're jumping on the Nant train and I had a question:
1. Are return codes handled properly by the exec task? I've had to embed a
work around where I write the error code to a file, then test from within
the
build file.
We've got a whole bunch of pre-existing build systems, makes,
, 2003 9:58 PM
Subject: [Nant-users] Exec task with vsvars32.bat
I am pulling my hair out over this one. I have stepped through the code
and I cannot see anything that would cause this to fail, but for some
reason it does not work. I am able to run the batch file from Start->Run
just fin
I am pulling my hair out over this one. I have stepped through the code
and I cannot see anything that would cause this to fail, but for some
reason it does not work. I am able to run the batch file from Start->Run
just fine. I have also tried many variations, without trailing "\" on
the path and w
Hi,
* Dejan KADUNC wrote on 17.09.2003 (08:00):
> Is it possible to pass multiple parameters in "exec" command from nant?
Use multiple childelements.
-sa
--
sa at programmers-world dot com
http://www.livingit.de
Bookmarks online: http://www.mobile-bookmarks.info
Soon availabl
Is it possible to pass multiple parameters in “exec”
command from nant?
Dejan Kadunc, programer
Infotim Ržišnik & Perc
Microsoft Certified Partner
Delavska c. 24, 4208 Šenčur
Tel.:+ 386 (0)4 279 18 78
F
What does the verbose output look like? What version of NAnt are you using?
Is perl in your path?
What does your build file look like?
- Original Message -
From: "Nicholas Robinson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 31, 2003 4:23 A
Hi,
I did a search but didnt find anything so I hope I am not duplication someone elses
recent
question...
I wish to run Perl from within a NANT script, but the problem is when I use the EXEC
task, I get
"The system cannot find the specified file" error. However, putting in the full path
fails
57 matches
Mail list logo