ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "geeta eknath dhane" <gdh...@rediffmail.com>
Subject CreateProcess error while executing exec task
Date Fri, 07 Sep 2001 05:54:07 GMT


Hi,

IOException is raised when exec task of ant is runned
Could anybody tell me the reason behind it.
It's urgent .Pls tell whether there are any settings of env variables tobe done

I have done all the required settings like JAVA_HOME,ANT_HOME

Thank's 
Geeta

The Exception is as follow's

Execute failed: java.io.IOException: CreateProcess: wscp.bat -f cashin.tcl -B CTSRV1 CashinApp
CashinAppContainer c:\cashin\app\lib\ DeployedCtTskEjb.jar c:\cashin\app\scripts\Tsklist.txt
 error=2
--- Nested Exception ---
java.io.IOException: CreateProcess: wscp.bat -f cashin.tcl -B CTSRV1 CashinApp CashinAppContainer
c:\cashin\app\lib\ DeployedCtTskEjb.jar c:\cashin\app\scripts\Tsklist.txt  error=2
	at java.lang.Win32Process.create(Native Method)
	at java.lang.Win32Process.<init>(Win32Process.java:66)
	at java.lang.Runtime.execInternal(Native Method)
	at java.lang.Runtime.exec(Runtime.java:279)
	at org.apache.tools.ant.taskdefs.Execute$CommandLauncher.exec(Execute.java:435)
	at org.apache.tools.ant.taskdefs.Execute$CommandLauncherProxy.exec(Execute.java:550)
	at org.apache.tools.ant.taskdefs.Execute$WinNTCommandLauncher.exec(Execute.java:575)
	at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:329)
	at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:228)
	at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:162)
	at org.apache.tools.ant.Target.execute(Target.java(Compiled Code))
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)
	at org.apache.tools.ant.Target.execute(Target.java(Compiled Code))
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.Project.executeTargets(Project.java:510)
	at org.apache.tools.ant.Main.runBuild(Main.java:421)
	at org.apache.tools.ant.Main.main(Main.java:149)

Total time: 0 seconds

 




Mime
View raw message