Necessary:
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
- Download the appropriate XULRunner package for your operating system: Win32 or Linux
- Unpack the XULRunner package in a directory of your choice (for example, C:\XULRunner).
- Change to the directory where the XULRunner executable file resides.
- Uninstall any previous version of Mozilla xulrunner.
- If registered for all users:
Win32:xulrunner --unregister-global
Linux:sudo ./xulrunner --unregister-global - If registered only for current user:
xulrunner --unregister-user
- If registered for all users:
- Register XULRunner by executing either of the following at the command line:
- Register for all users:
Win32:xulrunner --register-global
Linux:sudo ./xulrunner --register-global - Register only for current user:
xulrunner --register-user
- Register for all users:
Windows Downloads
Linux Downloads
Installation Instructions
The downloads are in the form of archived update sites. To install the ATF features into your Eclipse installation, perform the following steps:
- Start Eclipse, and select Help -> Software Updates -> Find and Install...
- Select Search for new features to install
- Select Next
- Select New Archived Site...
- Select the location of the downloaded update site zip file
- Select Finish
- Make sure all ATF features are selected
- Follow the remaining prompts to install ATF
Important Final Steps
Upon installing ATF through the downloadable zip file, certain pieces of 3rd party components should be added to some of the plugins in order to gain ATF's full functionality. The purpose of this section is to specify where to get these pieces of 3rd party content, and where to place the content within the installed plugins.
In the org.eclipse.atf.personality.rico.runtime plugin:
- Open the resources/ directory
- add prototype.js
- add rico.js
Note: you can obtain prototype.js and rico.js from http://openrico.org/rico/downloads.page
Note: this has only been tested with prototype 1.3.1 and rico 1.1-beta2
In the org.eclipse.atf.personality.dojo.runtime plugin:
- Open the resources/ directory
- Extract the content of the Dojo download
- Copy all the content from the dojo-<version>-ajax/ directory into plugin's resource/ directory.
Note: At the end, the plugin's resource/ directory should at least contain the src/ directory from the Dojo download.
Note: you can obtain the necessary Dojo code from 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.
In the org.eclipse.atf.javascript.jslint plugin:
- Add jslint.js to the resources/ directory of the plugin
- Go to the URL, http://www.jslint.com/fulljslint.js
- Save the page as jslint.js
develip dojo applying: look at http://www.eclipse.org/atf/flash/index2.php
debug dojo: look at http://www.eclipse.org/atf/flash/index4.php

0 评论:
发表评论