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
Hi Bob,
1)I have already tried this, it returns 'no' error code, all it says is
'unexpected error', That is it.
2)No there are no environment variables. Like I said if I run this through
the command line it works great, only through 'NANT' and the command
does it fail.
3)Well
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 any environmental variables that need to be set for it to
work? Perhaps you need to set them.
3. Try setting useruntimeengine
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. The working directory is being set correctly, that was the first
thing I c
Did you try setting verbose to true to see what was happening? Perhaps it is
not running in the directory you are expecting? Try setting the working
directory to the directory you are in when you run it from the command line. A
lot of times that is my trouble when EXEC doesn't work.
BOb
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