我添加附件可以吗
哦,我没有找到可以生成war文件的材料,我刚才试了一下,系统生成build.xml后,怎么办?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project [<!ENTITY buildfile SYSTEM "file:./build-user.xml">]>
<!-- WARNING: Eclipse autogenerated file.
Any modifications will be overwritten.
Please edit build-user.xml instead.
-->
<project basedir="." default="build" name="dailyReport">
&buildfile;
<property name="dailyReport.location" value="C:/Documents and Settings/Administrator/workspace1/dailyReport"/>
<path id="project.classpath">
<pathelement location="webroot/WEB-INF/classes"/>
<pathelement location="${dailyReport.location}/webroot/WEB-INF/lib/commons-beanutils-1.6.1.jar"/>
<pathelement location="${dailyReport.location}/webroot/WEB-INF/lib/commons-codec-1.2.jar"/>
<pathelement location="${dailyReport.location}/webroot/WEB-INF/lib/commons-collections-3.0.jar"/>
<pathelement location="${dailyReport.location}/webroot/WEB-INF/lib/commons-digester-1.5.jar"/>
<pathelement location="${dailyReport.location}/webroot/WEB-INF/lib/commons-el.jar"/>
<pathelement location="${dailyReport.location}/webroot/WEB-INF/lib/commons-fileupload-1.0.jar"/>
<pathelement location="${dailyReport.location}/webroot/WEB-INF/lib/commons-logging.jar"/>
<pathelement location="${dailyReport.location}/webroot/WEB-INF/lib/commons-validator.jar"/>
<pathelement location="${dailyReport.location}/webroot/WEB-INF/lib/jakarta-oro.jar"/>
<pathelement location="${dailyReport.location}/webroot/WEB-INF/lib/jstl.jar"/>
<pathelement location="${dailyReport.location}/webroot/WEB-INF/lib/myfaces.jar"/>
<pathelement location="${dailyReport.location}/webroot/WEB-INF/lib/jsp-2.0.jar"/>
<pathelement location="E:/eclipse/eclipse/startup.jar"/>
<pathelement location="E:/eclipse/eclipse/postgresql-8.0-312.jdbc3.jar"/>
<pathelement location="E:/eclipse/eclipse/servlet.jar"/>
<pathelement location="E:/eclipse/eclipse/log4j-1.2.8.jar"/>
<pathelement location="D:/eclipse/FileUploadBean.jar"/>
<pathelement location="D:/eclipse/activation.jar"/>
<pathelement location="D:/eclipse/log4j-1.2.8.jar"/>
<pathelement location="D:/eclipse/mail.jar"/>
</path>
<target name="init">
<mkdir dir="webroot/WEB-INF/classes"/>
</target>
<target name="clean">
<delete dir="webroot/WEB-INF/classes"/>
</target>
<target depends="init" name="build">
<echo message="${ant.project.name}: ${ant.file}"/>
<javac destdir="webroot/WEB-INF/classes">
<src path="src"/>
<classpath refid="project.classpath"/>
</javac>
</target>
</project>
是的,我要把我的工程打包,怎么做呢,我找不到相关资料哟