搭建Eclipe的Web开发环境.docVIP

  • 7
  • 0
  • 约6.16千字
  • 约 5页
  • 2016-10-17 发布于浙江
  • 举报
搭建Eclipe的Web开发环境

搭建Eclipse的Web开发环境 想要在Eclipse中进行Web的开发工作,不用任何插件当然也可行,不过工作效率就不会高到哪里去,如果借助插件,效率就会大大提高,本文就是介绍如何使用插件来搭建Eclipse的Web开发环境。 目前,大大小小的Eclipse Web开发插件在网上存在很多种,不过最优秀且被人认可的插件有两个,一个是IBM公司贡献出来的在Eclipse官方网站上可以下载到的WTP(Web开发工具包)插件,还有一个就是首创者Lomboz(在objectweb网站上可以下载到)插件,由于WTP功能比较完善,我比较偏向于它,所以本文就以WTP为例来介绍Web环境的搭建。 WTP插件的运行需要另外两个插件包:EMF和GEF、JEM,不再介绍。 另外还有一个插件包,就是Eclipse的Tomcat插件,可以在Eclipse中控制Tomcat的启动、关闭、重启动作,无需再跑到tomcat的安装目录下运行startup.bat,使你不用离开Eclipse环境,就可以完成你所有的工作。 下面开始逐步介绍环境的搭建(以Eclipse3.12为例): Tomcat插件的安装: 下载Tomcat的插件tomcatPluginV31beta或更高版本,安装(本步骤不再介绍),然后启动Eclipse,你会看到和原来的Eclipse环境相比多出来的东西: 通过菜单或者工具条上的快捷按钮,你就可以控制Tomcat的状态,不过,你必须先对Eclipse做以下配置(红圈圈住的地方要修改成适合你本地环境的值): 如果你有一个Java工程,并且和另外一个Web工程有关联(Web工程需要使用此Java工程的编译结果),你就可以作以下设置: 插件安装成功后,点击Tomcat的启动按钮,查看启动信息和起始页面是否可以正常显示: Web工程的建立: 你需要下载配套版本的GEF/EMF/JEM/WTP插件(在我们地文件服务器上下载一个wtp-with-deps.zip就行了),然后安装,安装成功后你可以做一些个性设置,否则可以使用缺省设置。 下面介绍,如何从iConf B02的已有目录来新建一个Web工程,File(New(Project: 进入下一步: 按照如下操作:①填写工程名;②选择已有的Web工程存放的路径; 点击下一步: 其中:①部署的上下文路径;②Web的根目录。 点击Finish按钮即可。 后记:工具的使用主要是靠自己摸索,看再多的指南,再多的资料,也不如自己摸索得到的东西记得更深刻,而且很多东西用文字是说不清楚的,不亲自去做,你永远都不会知道。 education for all staff involved in the construction, firmly establish the concept of quality finished product protection; According to the construction site, the importance to set a quality finished product protection in the reward and punishment system, to reward the good part (once a month), on the part of financial penalties and rectification; Reasonable arrangements for the construction program, and install cross long items such as running the turbine base level layer to be installed after the end of construction; When the erection of scaffolding, workers must be handled with care, steel pipe, fasteners, tools must be manual transmission prohibited high throw, throw, prevent smashed equipment, insulation materials, etc. 7.3 General protection normal protection apply to all products, and generally include the following related content: keep identity intact, comple

文档评论(0)

1亿VIP精品文档

相关文档