aspose file tools*
The moose likes Servlets and the fly likes Exception in Ant Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Exception in Ant" Watch "Exception in Ant" New topic
Author

Exception in Ant

Anuj Anand
Ranch Hand

Joined: Nov 18, 2000
Posts: 96
I am getting this exception while using ANt(Apaches's build tool):
java.lang.Win32Process.create(Native Method)
java.lang.Win32Process.<init>(Unknown Source)
java.lang.Runtime.execInternal(Native Method)
java.lang.Runtime.exec(Unknown Source)
java.lang.reflect.Method.invoke(Native Method)
org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Exec
9)
org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:329)
org.apache.tools.ant.taskdefs.optional.vss.MSVSS.run(MSVSS.java:160)
org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET.java
org.apache.tools.ant.Target.execute(Target.java:153)
org.apache.tools.ant.Project.runTarget(Project.java:898)
org.apache.tools.ant.Project.executeTarget(Project.java:536)
org.apache.tools.ant.Project.executeTargets(Project.java:510)
org.apache.tools.ant.Main.runBuild(Main.java:421)
org.apache.tools.ant.Main.main(Main.java:149)
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

could you explain in a little more detail
what your were trying to acheive...
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Anuj Anand
Ranch Hand

Joined: Nov 18, 2000
Posts: 96
Well i am ussing VSSGET to get source(html files) from Visual Sourcesafe using jakarta's ant product .All the details are entered into an XML file which is executed from the DOS prompt command line . When it is executed this error crops up...Any clues (Create process exception with error code 193 is thrown and then the error stack mentioned above..Any clues??
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
Which ANT task are you trying to execute? It looks like you are trying to execute an incorrectly specified program.

------------------
author of:
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

...Create process exception with error code 193...
well, it depends on what you are trying to do.
without knowing how you defined your targets
and dependencies
, I am not sure what else to
make out of these errors?
regds.
- satya
 
 
subject: Exception in Ant