|
Using Windows 2000, Tomcat 4.1.12, and Ant 1.5.1.
The war file ends up in the same directory in which I have the build.xml (to keep it really simple), so in the "deploy" task element I have: war="file:${app.name}.war" . (So no slashes.) The error I get: "java.net.MalformedURLException: unknown protocol: c"
When I try war="file://${app.name}.war" (because the double slash appears in the war attribute of the install task element at the bottom of the "The Tomcat 4 Servlet/JSP Container - Manager App HOW-TO" document.), I get "java.net.UnknownHostException: SimpleApp.war" . ("SimpleApp" is the name of my application.)
Could it make a difference that I am using the Ant's "war" task to create the war (instead of its "jar" task)?
Thanks in advance for any help you can provide.
|