Ajax Toolkit FrameWork安装总结

在安装Ajax Toolkit FrameWork时自己遇到了很多问题,现贴上来与大家分享一下。

AJAX Toolkit Framework(下面简称ATF)为 Eclipse 提供 Ajax 支持,其绑定当下最流行的 AJAX 框架(Dojo, Zimbra, Rico, etc),为 Eclipse 提供整合的模块。Eclipse 用户可以使用 AJAX Toolkit Framework 来编写 AJAX 应用程序。就像在 Eclipse 中开发平常的Java 程序一样,非常方便。

需要:
1、Eclipse SDK 3.2 http://www.eclipse.org/downloads/
2、Eclipse Web Tools Project (WTP) 1.5 (and prerequisites)
http://download.eclipse.org/webtools/downloads/
3、Sun Java 1.4.2 JDK(或更高)
4、Tomcat 5 或以上 或其他WTP支持的Http服务器
5、XULRunner 步骤:

  1. 下载 XULRunner 包: Win32 or Linux  
  2. 把 XULRunner 包解压到某一路径(例如, C:/XULRunner).  
  3. 转到Win32的解压路径(例如, C:/XULRunner).  
  4. 卸载以前版本的xulrunner.
    • 已为所有用户注册:
      Win32: xulrunner --unregister-global
      Linux: sudo ./xulrunner --unregister-global  
    • 仅已为当前用户注册:
      xulrunner --unregister-user 
  5. 使用新的 XULRunner 注册: 
    • 为所有用户注册:
      Win32: xulrunner --register-global
      Linux: sudo ./xulrunner --register-global  
    • 仅为当前用户注册:
      xulrunner --register-user 

6、下载ATF(目前最新版本0.4.0)
    

Windows Downloads

Linux Downloads


Installation Instructions

下载ATF完成后,按照以下的步骤安装ATF: 

  • 打开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 

重要的必须的步骤

为了获得ATF的全部功能,有三部份组件应该加入到ATF的包里. 

在 Eclipse 的plugin下的org.eclipse.atf.personality.rico.runtime 文件夹下:
  • 打开 resources/ 路径  
    • 加入 prototype.js  
    • 加入 rico.js 

注意: prototype.js 和 rico.js 从这里 http://openrico.org/rico/downloads.page 获得
注意: this has only been tested with prototype 1.3.1 and rico 1.1-beta2



在 Eclipse 的plugin下的 org.eclipse.atf.personality.dojo.runtime 文件夹下:
  • 打开 resources/ 路径  
    • 解压dojo  
    • 拷贝 dojo-<version>-ajax/ 下的所有文件到org.eclipse.atf.personality.dojo.runtime 下的resources/路径下.  
    • Note: At the end, the plugin's resource/ directory should at least contain the src/ directory from the Dojo download.  

Note: Dojo 从这里 http://dojotoolkit.org/download/获得
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. 



在 Eclipse 的plugin下的 org.eclipse.atf.javascript.jslint 文件夹下:
  • 加入 jslint.js 到 resources/ 路径下 

Note:jslint.js 从 这里 http://www.jslint.com/fulljslint.js 获得

一旦ATF 安装完毕,必须使用clean 参数来重新启动Eclipse.

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

 本文出自: http://hi.baidu.com/noting/blog/item/2930d7b4b17adc738bd4b287.html
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值