On Fri, Jul 10, 2009 at 10:31 AM, starkc<[email protected]> wrote: > Here is the resulting log when running that new command with the -verbose > flag. I dont believe I missed anything... > > maint: > [exec] Current OS is Windows XP > [exec] Executing 'cmd' with arguments: > [exec] '/c' > [exec] 'ant.bat' > [exec] 'ejb' > [exec] > [exec] The ' characters around the executable and arguments are > [exec] not part of the command. > [exec] Buildfile: build.xml does not exist! > [exec] Build failed
It doesn't say in which directory it executes the command. I thought it did, strange. The error message indicates to me the sub-process's current directory is not what it should be, although I'm not sure as to why. Work-around it using a command line like "cmd /c cd /d absdir && ..." (basically what WinNTCommandLauncher does in the latest code), or by adding an explicit build file arg with an absolute path (see http://ant.apache.org/manual/running.html and -f) You may also want to play with the vmlauncher attribute. --DD PS: Use <property location> to generate absolute filenames. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
