论坛首页 AJAX版 AJAX

Ajax Toolkit FrameWork(ATF) 在Eclipse 3.2下安装总结

浏览 3279 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
时间:2007-07-15
 

Ajax Toolkit FrameWorkEclipse 3.2下安装总结

 

Win xp SP2 下需要:

1Eclipse 3.2.2,为了方便,我使用的是lomboz all in one版本,下载地址 http://forge.objectweb.org/projects/lomboz ,或者采用WTPall in one版本,http://download.eclipse.org/webtools/downloads/  目前wtp最高版本为2.0,我并没有在2.0版本下测试,测试版本是1.5.5

2
JDK 1.5.0.12


3XULRunner

  1. 下载 XULRunner http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/ 我下载的是 latest-mozilla1.8.0 下的 xulrunner-1.8.0.12pre.en-US.win32.zip
  2.  XULRunner 包解压到某一路径(例如, D:\XULRunner)注意: xulrunner路径中不能有中文
  3. 使用新的 XULRunner 注册
    • 已为所有用户注册:
      xulrunner --register-global
    • 仅已为当前用户注册:
      xulrunner --register-user 
  4. 卸载以前版本的xulrunner: 
    • 为所有用户注册:
      xulrunner --unregister-global
    • 仅为当前用户注册:
      xulrunner  --unregister-user

4、下载ATF 我下载的是 0.2.1-v200704051500
    http://www.eclipse.org/atf/

 

在安装完 xulrunner  后,安装ATF

  • 打开Lomboz Eclipse, 选择 Help -> Software Updates -> Find and Install...  
  • 选择Search for new features to install  
  • 选择 Next  
  • 选择 New Archived Site...  
  • 选择 the location of the downloaded update site zip file  
  • 选择 Finish  
  • 确保所有的 ATF features 都被选择  
  • 按照以后推荐的操作安装ATF

安装完成后重启,打开Window>>Preferences>>ATF>>Installed AJAX Euntimes下,应该还需要安装三个组件

 Eclipse ATF plugins下的org.eclipse.atf.personality.rico.runtime_0.2.1.v200704051500文件夹下:  (_0.2.1.v200704051500 可能随您的ATF版本不同而不同)

  • 打开 resources/ 路径  
    • 加入 prototype.js  
    • 加入 rico.js 

注意: prototype.js  rico.js 从这里 http://openrico.org/rico/downloads.page 获得
注意: rico当前版本为2.0 betaprototype的版本为 1.5.1,这里我下载的是 rico1.1.2 prototype 1.4.0


 

 org.eclipse.atf.personality.dojo.runtime_0.2.1.v200704051500 文件夹下:

  • 打开 resources/ 路径
    • 拷贝 dojo--ajax/ 下的所有文件

注意: Dojo 从这里  http://dojotoolkit.org/downloads获得,这里我下载的是 DOJO 0.43


 org.eclipse.atf.personality.scriptaculous.runtime_1.0.0 文件夹下:

  • 打开 resources/ 路径
    • 拷贝 scriptaculous-js-1.7.0/ 下的所有文件

注意scriptaculous 从这里 http://script.aculo.us/downloads 获得,这里我下载的是 scriptaculous-js-1.7.0版本

 


 

 org.eclipse.atf.javascript.jslint_0.2.1.v200704051500 文件夹下:

  • 加入 jslint.js  resources/ 路径下 

注意:jslint.js 从 这里 http://www.jslint.com/fulljslint.js 获得,得到后把fulljslint.js改成jslint.js即可。

(这个我在安装过程中,发现并没有起到任何作用,但是官方文档上写的需要这个,这个暂时作为一个小疑问吧)

好了到这里 ATF已经完全安装完毕,这里有两个例子,大家可以观看一下

开发dojo应用:  http://www.eclipse.org/atf/flash/index2.php
调试dojo应用:  http://www.eclipse.org/atf/flash/index4.php

   
论坛首页 AJAX版 AJAX

跳转论坛:
JavaEye推荐