需要工具組件:
1、Sun Java 1.5.0 JDK(或更高)
2、Tomcat 5 或以上
3、下載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
4、下載ATF
http://download.actuatechina.com/eclipse/webtools/atf/atf-0.2.1-v200704051500.zip
安裝ATF介紹
下載完ATF後
開啟 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做一次就可以了
5、搜尋xulrunner,到 xulrunner 目錄
卸載以前版本的xulrunner.
已為所有使用者註冊:
Win32: xulrunner --unregister-global
Linux: sudo ./xulrunner --unregister-global
僅已為目前使用者註冊:
xulrunner --unregister-user
使用新的 XULRunner 註冊:
為所有使用者註冊:
Win32: xulrunner --register-global
Linux: sudo ./xulrunner --register-global
僅為目前使用者註冊:
xulrunner --register-user
6,下載Dojo 這裡 http://dojotoolkit.org/downloads/
注意:必須按照以上方法安裝!!!
為了獲得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 獲得
--------------------------------------------------------------------------------
在 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/獲得
--------------------------------------------------------------------------------
在 Eclipse 的plugin下的 org.eclipse.atf.javascript.jslint 檔案夾下:
加入 jslint.js 到 resources/ 路徑下
Note:jslint.js 從 這裡 http://www.jslint.com/fulljslint.js 獲得
開發dojo應用: 見 http://www.eclipse.org/atf/flash/index2.php
調試dojo應用: 見 http://www.eclipse.org/atf/flash/index4.php