build.xml
哦,我没有找到可以生成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>
是的,我要把我的工程打包,怎么做呢,我找不到相关资料哟
-----------------------------------------------------
还有很感谢你的建议哟,我们这次用jsf,10天以后,新的项目要用jsp,上面的问题还要你继续帮我哦,我用的是eclipse,也有ant插件,可是没找到相关资料
---------------------------------------
还有IDE是插件吗,不使用NetBean可以自动生成吗,上面的build.xml是自动生成的,可是没有生成war文件
-------------------------------
IDE是J2ME中的是吗,我看了一下,我的是J2EE