• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception in Ant

 
Anuj Anand
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

could you explain in a little more detail
what your were trying to acheive...
- satya
 
Anuj Anand
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

...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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic