<?xml version="1.0" encoding="GB2312"?>
<project name="" default="buildWAR" basedir=".">
<!--生成WAR-->
<target name="buildWAR" >
<jar jarfile="mCRM.war" compress="yes">
<fileset dir="WebRoot" excludes=".svn">
</fileset>
</jar>
</target>
<target name="Deploy" depends="buildWAR" >
<copy todir="C:open\jboss\server\default\deploy">
<fileset dir="${basedir}">
<include name="${ant.project.name}.war" />
</fileset>
</copy>
</target>
</project>
<project name="" default="buildWAR" basedir=".">
<!--生成WAR-->
<target name="buildWAR" >
<jar jarfile="mCRM.war" compress="yes">
<fileset dir="WebRoot" excludes=".svn">
</fileset>
</jar>
</target>
<target name="Deploy" depends="buildWAR" >
<copy todir="C:open\jboss\server\default\deploy">
<fileset dir="${basedir}">
<include name="${ant.project.name}.war" />
</fileset>
</copy>
</target>
</project>