




















1.下载一堆环境:
1)-->首先下载集成WEB环境的Eclipse:(wtp-all-in-one-sdk-R-1.5.3-win32.zip(WTP))
参考地址:http://download.actuatechina.com/eclipse/webtools/downloads/drops/R1.5/R-1.5.3-200702082048/wtp-all-in-one-sdk-R-1.5.3-win32.zip
2)下载JDK,我下载的是1.5版本
2)下载Tomcat----Web服务器,必须安装了
3)下载ATF(Ajax AJAX Toolkit Framework)---ATF框架,帮助开发AJAX很有用哦!
4)下载XULRunner(ATF要用到)
参考地址: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
5)下载Dojo 这里 http://dojotoolkit.org/download/ -------单步调试JS用的,不装这个不能在Eclipse里单步调试...
6)下载Extjs(yui-ext) 这里 http://extjs.com/ -------重点,个人认为比dojo更好用的东东
2.首先把XULRunner解压到一个文件夹中
执行: xulrunner --register-global
/////////////////////////////////////////////////////////////
注意,如果以前注册过的话:
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
/////////////////////////////////////////////////////////////
3.接下来启动eclipse
打开 Eclipse, 选择 Help -> Software Updates -> Find and Install...
选择Search for new features to install
选择 Next
选择 New Archived Site...
选择你刚下载完的ATF压缩文件
选择 Finish
确定所有的 ATF 复选框被选中
接下开始远程安装ATF
一旦ATF安装完后,Eclipse必须使用eclipse -clean 重启
关闭 Eclipse
进入CMD, 进入Eclipse目录
执行"eclipse -clean"
这个操作只需在ATF做一次就可以了
4.关闭Eclipse,安装DOJO
在 Eclipse 的plugin下的 org.eclipse.atf.personality.dojo.runtime 文件夹下:
打开 resources/ 路径
解压dojo
拷贝 dojo-<version>-ajax/ 下的所有文件到org.eclipse.atf.personality.dojo.runtime 下的resources/路径下.
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.personality.rico.runtime 文件夹下:
打开 resources/ 路径
加入 prototype.js
加入 rico.js
注意: prototype.js 和 rico.js 从这里 http://openrico.org/rico/downloads.page 获得
在 Eclipse 的plugin下的 org.eclipse.atf.javascript.jslint 文件夹下:
加入 jslint.js 到 resources/ 路径下
Note:jslint.js 从 这里 http://www.jslint.com/fulljslint.js 获得
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。