ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barry L. Kline" <blkl...@attglobal.net>
Subject Ant "dist" creates bad WAR file?
Date Sun, 17 Dec 2000 00:23:08 GMT
I recently upgraded from Tomcat 3.1 to Tomcat 3.2.  I discovered the
requisite changes required to my build.xml file to allow the included
version of ant to do its job.  Everything is working except ./build
dist.   Resulting war files fail to build the correct directory
structure under $TOMCAT_HOME.  I'm unable to get the "myapp" sample
application to work properly.

If I go to $TOMCAT_HOME/doc/appdev/sample and issue:  ./build.sh  all,
everything compiles fine.  If I start tomcat, I can successfully
access the servlet.  If I then do a "./build.sh dist" and move the
resulting war file into the webapps directory of tomcat, shut down
tomcat, delete the myapp directory, then restart tomcat, the resulting
directly precludes running the app.  There isn't even a
WEB-INF/classes directory created.

This all worked fine for me in 3.1.  Can anyone offer an explanation?

TIA,

Barry

Mime
View raw message