标题:build.xml
只看楼主
欣然
Rank: 1
等 级:新手上路
帖 子:46
专家分:0
注 册:2006-6-12
 问题点数:0 回复次数:1 
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
搜索更多相关主题的帖子: xml build 
2006-09-22 08:44
欣然
Rank: 1
等 级:新手上路
帖 子:46
专家分:0
注 册:2006-6-12
得分:0 
build.xml

版主,我想我应该把问题放在这里j2EE,而不是j2SE,是吗

2006-09-22 08:46



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-92059-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.474074 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved