hii all
All my folders inside my application folder are getting deleted while deploying the application. My application resides in webapps/sample(app name).
I suspect this happens because of my build file....
my build file is given below..
<?xml version="1.0"?>
<!-- build tool for LiveHelp admin web pages -->
<project name="BANK" default="copywar" basedir=".">
<!-- compiling the code -->
<target name="compilesources">
<javac srcdir="./WEB-INF/src" destdir="./WEB-INF/classes" includes="com/example/web/*.java" />
</target>
<!-- creating war file -->
<target name="createwar" depends="compilesources">
<jar jarfile="sample.war" basedir="." includes="WEB-INF/,jsp/" excludes="WEB-INF/src/" />
</target>
<!-- copying the ear file to
jboss directory -->
<target name="copywar" depends="createwar">
<copy file="sample.war" todir="C:\Tomcat 5.5\webapps" overwrite="true"/>
</target>
</project>