<projectdefault="build.deploy.start"basedir="."><propertyname="target.dir"value="C:\tom\webapp\"/><propertyname="basesrc.dir"value="c:\SimpleChat\"/><propertyname="classes.target"value="${basesrc.dir}\WebContent\WEB-INF\classes"/><propertyname="src.dir"value="${basesrc.dir}\src"/><propertyname="classpath"value="${basesrc.dir}\WebContent\WEB-INF\classes"/><!-- Classpath for the project --><pathid="master-classpath"><filesetdir="${classpath}"><includename="*.jar"/></fileset></path><!-- init method which will ensure that all directories exists before we start building/deploying--><targetname="init"><mkdirdir="${target.dir}\js"/><mkdirdir="${target.dir}\images"/><mkdirdir="${target.dir}\pages"/><mkdirdir="${target.dir}\WEB-INF\lib"/><mkdirdir="${target.dir}\WEB-INF\classes"/></target><!--To build an application so that files can be deloyed--><targetname="build"depends="init"><javacsrcdir="${src.dir}"destdir="${classes.target}"><classpathrefid="master-classpath"/></javac></target></project>
instead of just "*.jar" as you have, but what you have looks like it should be ok so long as the .jar files are directly inside \WebContent\WEB-INF\classes.
instead of just "*.jar" as you have, but what you have looks like it should be ok so long as the .jar files are directly inside \WebContent\WEB-INF\classes.