I have a build.xml that used DeployTask to deploy my application. Here's the build.xml:
<target name="install" depends="compile" description="Install webapp on Tomcat"> <taskdef name="install" classname="org.apache.catalina.ant.DeployTask" classpathref="catalina.classpath"/> <install url="${catalina.manager}" username="${catalina.username}" password="${catalina.password}" path="/${project.path}" localwar="file://${build.web.dir}"/> </target> In my deployed application I have some image files (GIF format), which end up in the <app>/images directory. However, for some reason, when the application is deployed the images end up being corrupted and displaying incorrectly on the screen. I have verified that the deployed images with the pre-deployed ones, and they are the same number of bytes. But when I try to view the deployed images, the images themselves are hosed. I've tried using jar and bundling up my application by hand, and if I do that the images end up fine. Has anybody see this before? Do I have to do something special with image files? Thanks, -- Greg