I'm pretty sure war="file://${build.home}" doesn't pont to a .war file. You need to create a .war file using the <jar> or <war> task before the deploy and point to that file in the "war" attribute of the <deploy> task.

Jake

At 05:15 PM 11/8/2003 -0700, you wrote:
Hello,

I am reading the documentation for tomcat 5.0.14. I am at the 'first web app' section and I have followed all of the documentation very closely in setting up my first web app. I am using the example build.xml, build.properties, and web.xml files with appropriate changes to reflect my setup. However when I execute 'ant install' I get:

[...]

install:
[deploy] FAIL - Encountered exception java.util.zip.ZipException: error in opening zip file



BUILD FAILED
file:/home/toll/java/swit/build.xml:360: FAIL - Encountered exception java.util.zip.ZipException: error in opening zip file


line number 360 from build.xml is: <deploy url="${manager.url}" username="${manager.username}" password="${manager.password}"
path="${app.pa th}" war="file://${build.home}"/>


My environment: jdk 1.4.; debian sarge on a sparc station.

I can overcome this by just copying my build directory over to my context base directory in the web-apps directory, however, it's a pain in the ass. Does anybody have a solution to this for me?

Thanks,
Dustins


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to