« 1 2» Pages: ( 1/2 total )
本页主题: [醒目] ATF -- eclipse的AJAX插件安装指南 打印 | 加为IE收藏 | 收藏主题 | 上一主题 | 下一主题

水狐

头衔:业余砌砖的 业余砌砖的
状态: 离线
级别: CEC版主
精华: 1
发帖: 551
威望: 72 点
财富: 24 元
在线时间:87(小时)
注册时间:2005-11-24
最后登录:2008-11-19

[醒目] ATF -- eclipse的AJAX插件安装指南

本帖被 yipsilon 设置为精华(2007-03-12)
我使用的是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 flash: http://www.eclipse.org/atf/flash/flashFiles/firstdojoproject.swf
[ 此贴被水狐在2007年03月07日 16:32重新编辑 ]
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SWT学习中……
SWT学习中……
顶端 时间: 2007年03月07日 16:11 | [楼 主]
水狐

头衔:业余砌砖的 业余砌砖的
状态: 离线
级别: CEC版主
精华: 1
发帖: 551
威望: 72 点
财富: 24 元
在线时间:87(小时)
注册时间:2005-11-24
最后登录:2008-11-19

对与安装大家有疑问的可以顶帖,我会尽力解答的~~

请注意你的eclipse版本。 不保证在eclipse 3.3下工作正常
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SWT学习中……
SWT学习中……
顶端 时间: 2007年03月07日 16:12 | 1 楼
liruyi520

状态: 离线
级别: CEC程序员
精华: 0
发帖: 29
威望: 1 点
财富: 29 元
在线时间:0(小时)
注册时间:2007-02-22
最后登录:2007-10-17

谢谢楼主
顶端 时间: 2007年03月11日 03:24 | 2 楼
afort

状态: 离线
级别: CEC程序员
精华: 0
发帖: 2
威望: 1 点
财富: 3 元
在线时间:0(小时)
注册时间:2007-03-09
最后登录:2007-03-11

Current configuration contains errors that are not corrected by the requested operation and more errors would be introduced. See details for more information.
  ----- Current configuration problems -----
    Resulting configuration does not contain the platform.
  ----- Configuration problems after the operation -----
    Resulting configuration does not contain the platform.
    AJAX Toolkit Framework (0.2.1.v200702271030) requires feature "org.eclipse.jdt (3.1.2)", or later version.
    AJAX Toolkit Framework IDE (0.2.1.v200702271030) requires feature "org.mozilla.xpcom.feature (1.0.0)", or later version.
    AJAX Toolkit Framework JavaScript Validation (0.2.1.v200702271030) requires feature "org.mozilla.javascript.feature (1.6.2)", or later version.
顶端 时间: 2007年03月11日 21:35 | 3 楼
wayne007520

状态: 离线
级别: CEC程序员
精华: 0
发帖: 6
威望: 1 点
财富: 6 元
在线时间:0(小时)
注册时间:2007-03-07
最后登录:2007-03-19

非常感谢!!!
我装好了再发贴。
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
专注,专业,专一
顶端 时间: 2007年03月19日 09:22 | 4 楼
leibin

状态: 离线
级别: CEC程序员
精华: 0
发帖: 1
威望: 1 点
财富: 1 元
在线时间:0(小时)
注册时间:2007-03-20
最后登录:2007-03-20

eclipse3.2装了Myeclipse5.1是不是就不用装这个ATF了?
顶端 时间: 2007年03月20日 22:53 | 5 楼
sunbin928

状态: 离线
级别: CEC高级程序员
精华: 0
发帖: 5
威望: 11 点
财富: 207 元
在线时间:1(小时)
注册时间:2006-04-11
最后登录:2008-10-16

按教程上说的安装好ATF,运行文件时mozila浏览器无法打开,不知如何解决
顶端 时间: 2007年03月26日 19:05 | 6 楼
anykey

状态: 离线
级别: CEC程序员
精华: 0
发帖: 13
威望: 1 点
财富: 0 元
在线时间:0(小时)
注册时间:2006-09-22
最后登录:2008-11-06

谢谢楼主!!!!!!!!!
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
想好就做!
顶端 时间: 2007年04月06日 09:38 | 7 楼
ericstone57

状态: 离线
级别: CEC程序员
精华: 0
发帖: 3
威望: 1 点
财富: 3 元
在线时间:0(小时)
注册时间:2007-04-03
最后登录:2007-04-28

Quote:
引用第6楼sunbin928于2007年03月26日 19:05发表的  :
按教程上说的安装好ATF,运行文件时mozila浏览器无法打开,不知如何解决


我也有同样的问题,安装了MyEclipse后,再安装ATF, Mozilla的浏览器没法用,My Ecilpse Visual Designer也不可以用
顶端 时间: 2007年04月26日 13:15 | 8 楼
zhaohuihua

状态: 离线
级别: CEC程序员
精华: 0
发帖: 6
威望: 1 点
财富: 6 元
在线时间:0(小时)
注册时间:2007-04-03
最后登录:2007-10-15

我的没装MyEclipse,Mozilla也不能用





[ 此贴被zhaohuihua在2007年05月15日 10:21重新编辑 ]
顶端 时间: 2007年05月15日 10:14 | 9 楼
jyykiss

状态: 离线
级别: CEC高级程序员
精华: 0
发帖: 81
威望: 11 点
财富: 289 元
在线时间:5(小时)
注册时间:2006-04-20
最后登录:2008-08-23

学习了
顶端 时间: 2007年06月06日 17:56 | 10 楼
jaqcy

状态: 离线
级别: CEC高级程序员
精华: 0
发帖: 2
威望: 11 点
财富: 202 元
在线时间:0(小时)
注册时间:2006-03-28
最后登录:2007-07-12

我的eclipse版本和插件包版本都与楼主的一样,安装好了WTP.但是安装ATF时却提示:ATF 0.2.1要求1.5.0或以上的org.eclipse.wst.common_ui.feature,请问这是什么回事,难道WTP和其它几个依赖包安装先后有问题吗?
图片:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
爱生活,爱java。
顶端 时间: 2007年07月12日 12:29 | 11 楼
zhbking

状态: 离线
级别: CEC高级程序员
精华: 0
发帖: 2
威望: 1 点
财富: 103 元
在线时间:0(小时)
注册时间:2006-11-25
最后登录:2007-12-24

我出现上面那个仁兄的问题呢.请问如何解决啊?
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
没有
顶端 时间: 2007年07月26日 17:10 | 12 楼
wade

状态: 离线
级别: CEC程序员
精华: 0
发帖: 7
威望: 1 点
财富: 8 元
在线时间:0(小时)
注册时间:2007-08-02
最后登录:2007-08-15

我使用的是MyEclipse_5.5.1GA_E3.2.2_FullStackInstaller.exe安装Eclipse和MyEclipse的,那么我应该选择什么版本的ATF和WTP呢?
顶端 时间: 2007年08月02日 15:28 | 13 楼
kanawalo

状态: 离线
级别: CEC程序员
精华: 0
发帖: 1
威望: 1 点
财富: 1 元
在线时间:0(小时)
注册时间:2007-08-03
最后登录:2007-08-03

图片:
我的eclipse版本和插件包版本都与楼主的一样,安装好了WTP.但是安装ATF时却提示:ATF 0.2.1要求1.5.0或以上的org.eclipse.wst.common_ui.feature,请问这是什么回事,难道WTP和其它几个依赖包安装先后有问题吗?
同样出现了这样的问题!在解决中……
顶端 时间: 2007年08月03日 15:25 | 14 楼
epyouxy

状态: 离线
级别: CEC程序员
精华: 0
发帖: 2
威望: 1 点
财富: 2 元
在线时间:0(小时)
注册时间:2007-08-17
最后登录:2007-09-14

那个http://download.eclipse.org/modeling/emf/emf/downloads/drops/2.2.2/R200702131851/emf-sdo-xsd-SDK-2.2.2.zip下载不了!!能不能再更新下地址。更新了通知我,我邮箱是:epyouxy@tom.com
顶端 时间: 2007年08月17日 11:48 | 15 楼
dh2005

头衔:Demon Hunter Demon Hunter
状态: 离线
级别: CEC高级程序员
精华: 1
发帖: 110
威望: 12 点
财富: 115 元
在线时间:14(小时)
注册时间:2005-12-14
最后登录:2008-10-28

强!
嘟土豆  -  采用正常的SEO网站优化技术,而非作弊手段,做Google,百
度,Yahoo的网站正常收录
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
下载不了教程,可到我的网站 嘟土豆下载
顶端 时间: 2007年09月18日 17:20 | 16 楼
yxwebsvr

状态: 离线
级别: CEC高级程序员
精华: 0
发帖: 17
威望: 11 点
财富: 223 元
在线时间:1(小时)
注册时间:2006-02-22
最后登录:2008-10-14

好贴,顶!
我在学习中环境已安装成功,但总出现如下的错误:
DEBUG: no tag handler registed for type: dojo:floatingpane

做了一个简单的helloworld示例,望高手指教,是不是少配置了什么?
顶端 时间: 2007年11月08日 17:11 | 17 楼
lostpen

状态: 离线
级别: CEC程序员
精华: 0
发帖: 2
威望: 1 点
财富: 1 元
在线时间:0(小时)
注册时间:2006-06-09
最后登录:2008-02-17

Quote:
引用第3楼afort于2007年03月11日 21:35发表的  :
Current configuration contains errors that are not corrected by the requested operation and more errors would be introduced. See details for more information.
  ----- Current configuration problems -----
    Resulting configuration does not contain the platform.
  ----- Configuration problems after the operation -----
    Resulting configuration does not contain the platform.
.......

我也遇到了同样的问题,在网上google一下,找到了解决问题的办法:
help->software update->find and install->search for new features
1.new remote site
name:mozilla xpcom
url:http://ftp.mozilla.org/pub/mozilla.org/xulrunner/eclipse/
2.new remote site
name:mozilla javascript
url:http://ftp.mozilla.org/pub/mozilla.org/js/eclipse/
顶端 时间: 2007年11月10日 17:51 | 18 楼
shoushou2001

状态: 离线
级别: CEC程序员
精华: 0
发帖: 9
威望: 1 点
财富: 9 元
在线时间:0(小时)
注册时间:2008-01-23
最后登录:2008-01-31

不错,值得学习
顶端 时间: 2008年01月23日 15:30 | 19 楼
« 1 2» Pages: ( 1/2 total )
中国Eclipse社区 » Web应用


辽ICP备05021625号