AJAX開發 下載和安裝ATF的步驟

來源:互聯網
上載者:User

 需要工具組件:

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

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.