This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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: 12683
    
    5
Which ANT task are you trying to execute? It looks like you are trying to execute an incorrectly specified program.

------------------
author of:


Java Resources at www.wbrogden.com
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception in Ant
 
Similar Threads
Exception in Ant
Exception in Ant
EAR Deployment Issue on WebLogic 9.2
[Ant] Run a jar file throw java.lang.NoClassDefFoundError: app/main/Main and Could not find the main
java.util.zip.ZipException: error in opening zip file