Hi All,
Before deploying my project to Eclipse 3.1.1, we used to create the WAR manully using 'jar -cvf MyProject.war' but now, when we have added our project to Eclipse and started to work, everything goes fine except building the WAR.
I defined the WAR file creation path in the project properties(in Eclipse) and tried to create the WAR, it creates the WAR in defined location but when we try to extract this WAR(for test purposes) in other machine(or my own system) by keeping the newly creates WAR in the webapps directory of Tomcat 4.1 it extracts but only the work folder, nothing other than this i.e. all JSPs, WEB-INF direcory or anything are not found there, where as the size of the WAR is same as expected(as same as when we used to create it manully). Now even by creating the WAR manully, the same is happening.
I tried to build it with ANT but the same result, the WAR is getting generated with the expected size but no contents are extracting other than work folder my build.xml reads as follows:-
<project name="WebCare" default="WebCare">
<target name="WebCare">
<war destfile="WebCare.war" webxml="WEB-INF/web.xml">
<fileset dir=""/>
<lib dir="WEB-INF/lib"/>
<classes dir="WEB-INF/classes"/>
</war>
</target>
</project>
Please help me for the same.
Thanks in advance!!
Vikas
[changed < to < so XML shows up]
[ May 01, 2006: Message edited by: Jeanne Boyarsky ]