Ajax forEclipse插件安装指南

我使用的是eclipse 3.2.1 release版本。
1、 首先当然是安装wtp插件了 毕竟是web开发咯!
准备工作先下载eclipse3.2.1   可以去 eclipse.org 下载
然后下载安装 wtp 1.5.3 版本
http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R1.5/R-1.5.3-200702082048/wtp-R-1.5.3.zip&url=http://download.actuatechina.com/eclipse/webtools/downloads/drops/R1.5/R-1.5.3-200702082048/wtp-R-1.5.3.zip&mirror_id=385
根据插件依赖关系下载
The EMF driver used in this build is emf-sdo-xsd-SDK-2.2.2.zip
http://download.eclipse.org/modeling/emf/emf/downloads/drops/2.2.2/R200702131851/emf-sdo-xsd-SDK-2.2.2.zip
The GEF driver used in this build is GEF-SDK-3.2.2.zip
http://download.eclipse.org/tools/gef/downloads/drops/R-3.2.2-200702081315/GEF-SDK-3.2.2.zip
Java EMF Model Runtime driver used in this build is JEM-SDK-1.2.3_jem.zip
http://download.eclipse.org/tools/ve/downloads/drops/R-1.2.3_jem-200701301117/JEM-SDK-1.2.3_jem.zip
这样 wtp 就安装完了 可以启动一下eclipse看看是否工作正常,如果插件出不来可以使用 -clean 参数

2、 主角登场
下载ATF插件
http://www.eclipse.org/downloads/download.php?file=/webtools/atf/atf-0.2.1-v200702271030.zip&url=http://download.actuatechina.com/eclipse/webtools/atf/atf-0.2.1-v200702271030.zip&mirror_id=385
下载XULRunner
ftp://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/contrib/2007-02-02-1.8.1.2pre/xulrunner-1.8.1.2pre.en-US.win32.zip
然后把XULRunner解压到一个文件夹中
执行:  xulrunner --register-global
注意:
Quote:

Uninstall any previous version of Mozilla xulrunner.

If registered for all users:
xulrunner --unregister-global

If registered only for current user:
xulrunner --unregister-user
Register XULRunner by executing either of the following at the command line:

Register for all users:
xulrunner --register-global

Register only for current user:
xulrunner --register-user

接下来启动eclipse
选择 Help -> Software Updates -> Find and Install...
Search for new features to install
Next
New Archived Site...
把下载下来的ATF插件文件指定好
finish 就开始安装ATF插件了
安装好后会提示你重新启动eclipse 我们重新启动,如果出不来请使用 -clean 插件

接下来对插件进行配制:
Quote:

Configuring Dojo
This step is only required if you plan to use the Dojo Toolkit
More detail instructions on how to configure Dojo is available in the AJAX Toolkit Framework User Guide in the Eclipse Help
1. Download Dojo and extract into a directory from http://dojotoolkit.org/download/
2. Define the location of Dojo using the preference pages.
From the Window menu item open the ATF preference page for defining Ajax runtimes
Window>>Preferences>>ATF>>Installed Ajax Runtimes
Select the "Add.." button and define the runtime. The location specified is the directory containing the dojo.js file.
Use the "Set as default" button to make location the default to use.
Note: The ATF javascript validator will flag a few of the base Dojo javascript source files as having errors. These "errors" can be ignored and should not cause any break in Dojo functionality.

Configuring Script.aculo.us
This step is only required if you plan to use the Script.aculo.us Toolkit
More detail instructions on how to configure Script.aculo.us is available in the AJAX Toolkit Framework User Guide in the Eclipse Help
1. Download Script.aculo.us and extract into a directory from http://script.aculo.us
2. Define the location of Script.aculo.us using the preference pages.
From the Window menu item open the ATF preference page for defining Ajax runtimes
Window>>Preferences>>ATF>>Installed Ajax Runtimes
Select the "Add.." button and define the runtime. The location specified is the directory containing the runtime files.
Use the "Set as default" button to make location the default to use.


Configuring Rico
This step is only required if you plan to use the Rico Toolkit
More detail instructions on how to configure Rico is available in the AJAX Toolkit Framework User Guide in the Eclipse Help
Download rico.js and prototype.js into a directory from [url=http://openrico.org/rico/downloads.page ]http://openrico.org/rico/downloads.page [/url]
Define the location of rico.js and prototype,js using the preference pages.
From the Window menu item open the ATF preference page for defining Ajax runtimes
Window>>Preferences>>ATF>>Installed Ajax Runtimes
Select the "Add.." button and define the runtime
Use the "Set as default" button to make location the default to use.
Note: this has only been tested with prototype 1.4.0 and rico 1.1.2


一篇是用该插件创建AJAX应用的step by step详细指导,相信看了之后大家会豁然开朗的
http://www.ibm.com/developerworks/cn/opensource/os-ecl-atf/index.html

  flash: http://www.eclipse.org/atf/flash/flashFiles/firstdojoproject.swf
-------------------------------------------------------------------------------------------------------------------------
一个可以用纯java编写ajax,然后自动翻译成可以用在j2ee工程里的程序,太强了。
因此不用学ajax,只要会java(尤其awt基础)和这个工具,ajax任我玩
介绍一下,好东西,感觉有望成为热门ajax开发工具,而且目前还出了与eclipse插件:googlipse。
我刚用过,很方便

收集的资料:

1. 非常完整的gwt+netbeans的教程:http://www.javapassion.com/handsonlabs/ajaxgwtintro/

2. 有3篇IBM文章介绍Google Web Toolkit

面向 Java 开发人员的 Ajax: 使用 Google Web Toolkit 开发 Ajax :GWT(Google Web Toolkit) 是 Google 最近推出的一个开发 Ajax 应用的框架,它支持用 Java 开发和调试 Ajax 应用,本文主要介绍如何利用 GWT 进行 Ajax 的开发。

面向 Java 开发人员的 Ajax: Google Web Toolkit 入门 :Ajax 被用于创建更加动态和交互性更好的 Web 应用程序。Google Web Toolkit (简称 GWT) 是 Google 推出的 Ajax 应用开发包,GWT 支持开发者使用 Java 语言开发 Ajax 应用。本文将介绍 GWT 开发 Ajax 应用的基本方法和步骤。

面向 Java 开发人员的 Ajax: 探索 Google Web Toolkit:最近发布的 Google Web Toolkit (GWT) 是一组全面的 API 和工具,它支持用户几乎完全使用 Java 代码来创建动态 Web 应用程序。本文将向您展示 GWT 能做什么,并帮助您确定它是否适合您。

3.(GWT eclipse 插件1)gwtdesigner
http://www.instantiations.com/gwtdesigner/download.html

4.(GWT eclipse 插件2)googlipse

1) 下载:http://sourceforge.net/projects/googlipse

2) 安装前提:

a) Eclipse 3.2 with WebTools Platform 1.5(一定要装,)
b) 运行在 Java 1.5 上
c) 还需要下载 Google Web Toolkit

3) googlipse从安装插件到做出实例全过程(官方)
(*) Drop the com.googlipse.gwt_.jar file in your eclipse/plugins folder
(*) Open Eclipse. Select Window->Preferences->Googlipse and set GWT home to the directory where you have installed the Google Web Toolkit.
======================================================================================
开发环境搭建   
    在eclipse下开发ajax的插件
  1)   安装最新的Eclipse   SDK   3.2   以及Java   SDK   1.4   (或者更高版本)   
   
  2)   安装Eclipse   Web   Tools   Project   (WTP)   1.5   (以及它的前置软件安装包)   推荐安装   :wtp-all-in-one-sdk-R-1.5.0-200606281455-win32.zip   软件包,它集成了上面提到的两项工具。   
   
  3)   安装Tomcat5.0以上版本或者WTP所支持的服务器。   
   
  4)   下载并解压缩XULRunner软件包,随后在命令行的方式下加入解压缩后的目录,输入xulrunner   --register-global   来注册XULRunner,以便能够让Eclipse内嵌Mozilla浏览器。   
   
  5)   下载AJAX   Toolkit   Framework,这是一个.jar文件,可以通过Eclipse更新选项里面的新的归档站点来添加这个插件到Eclipse中。   
   
  6)   下载最新的Dojo   工具包,目前最新的版本是0.3.1。解压缩并把其下的所有文件拷贝至Eclipse的plug-in文件夹下的org.dojo.runtime_<version>目录内。并确保Dojo解压缩包下的src文件夹的所有文件都被拷贝至该目录下。   
   
  7)   为了让Eclipse能够识别ATF插件的安装,我们需要在启动Eclipse的时候,在其快捷方式上,右击鼠标,并在出现的窗口中的目标一栏中修改相应信息,比如修改成:e:/eclipse/eclispe.exe   -   clean.   
  这是网上说的需要这些东西,到底需不需要啊?
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值