怎么配置J2EE tutorial 中的例子?

wgwhn 2003-12-11 09:21:07
Building the Examples
Most of the tutorial examples are distributed with a configuration file for asant, a portable build tool contained in the J2EE 1.4 Application Server, that is an extension of the Ant tool developed by the Apache Software Foundation (http://www.apache.org). asant contains additional tasks that interact with the J2EE 1.4 Application Server adminstration utility asadmin. Directions for building the examples are provided in each chapter.

In order to run the asant scripts, you must configure your environment and properties files as follows:

Add <JAVA_HOME>/bin to the front of your path.

Add <J2EE_HOME>/bin and <J2EE_HOME>/share/bin to the front of your path so that J2EE 1.4 Application Server scripts (asadmin, asant, deploytool, and wscompile) override other installations.
Set the j2ee.home property in the file<INSTALL>/j2eetutorial14/examples/common/build.properties to the location of your J2EE Application Server installation. The build process uses the j2ee.home property to include the J2EE library archive, <J2EE_HOME>/lib/j2ee.jar, in the classpath. If you wish to use an IDE or the javac compiler to build J2EE applications, you must add this JAR to your classpath.

我看不明白Set the j2ee.home property in the file<INSTALL>/j2eetutorial14/examples/common/build.properties
怎么配置j2ee.home property ?怎么打开build.properties 文件???
...全文
81 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧