一:預安裝
1:安裝eclipse sdk3.2:
http://www.eclipse.org/downloads/2:安裝WTP1.5,推薦安裝all-in-one
http://download.eclipse.org/webtools/downloads/3:安裝jdk1.4.2及以上
4:安裝Tomcat5或其他wtp支持的服務器。
5:XULRunner
???下載合適的XulRunner的包
???解壓到本地目錄下,如:c:\xulrunner
???在dos進入到解壓目錄
???注冊Xulrunner:xulrunner --register-global
???xulrunner --register-user
6:下載atf的代碼
7:安裝向導,在eclipse中將下載的atf代碼以new archived site加入。
8:安裝第三方組件
??????a:安裝rico
???????????在org.eclipse.atf.personality.rico.runtime*/resources/目錄下,增加prototype.js和rico.js文件,這兩個文件可以從
http://openrico.org/rico/downloads.page下載,測試版本為prototype1.3.1,rico 1.1-beta2
??????b:在org.eclipse.atf.personality.dojo.runtime*/resources目錄下解壓dojo的 所有內容。要保證resources目錄下至少有src目錄。下載目錄為:
http://dojotoolkit.org/download/??????c:在org.eclipse.atf.javascript.jslint*/resources將jslint.js添加。
????????????可以在
http://www.jslint.com/fulljslint.js 并保存為jslint.js文件。
posted on 2006-10-11 10:36
不做浮躁的人 閱讀(2801)
評論(6) 編輯 收藏