How to install the AJAX Toolkit Framework (ATF)

Prerequisites

Java 1.4.2 (Sun or IBM)

Tomcat 5 or above or other WTP-supported server

Manual Installation

  1. Install XULRunner

    Get the latest XULRunner from XULRunner Releases.

    For Example:
    XULRunner 1.8.0.1 (direct link for Windows: xulrunner-1.8.0.1.en-US.win32.zip), 26.01.2006

    Installation:

    1. Unpack the XULRunner package in a directory of your choice (for example: C:\XULRunner).
    2. Change to the directory where the XULRunner executable file resides.
    3. Register XULRunner by executing the following at the command line:
      xulrunner --register-global
  2. Install Eclipse

    Get the latest Eclipse SDK from eclipse project downloads.

    For Example:
    Eclipse SDK 3.2RC5 (direct link for Windows: eclipse-SDK-3.2RC5-win32.zip), 19.05.2006

    Unpack the Eclipse SDK package in a directory of your choice (for example: C:\eclipse).

  3. Install Graphical Editor Framework (GEF)

    Get the latest Version of Graphical Editor Framework (GEF) Runtime from gef project downloads.

    For Example:
    GEF-runtime-3.2RC3 (direct link: GEF-runtime-3.2RC3.zip), 17.05.2006

    Unpack GEF into the Eclipse directory.

  4. Install Eclipse Modeling Framework (EMF)

    Get the latest Version of Eclipse Modeling Framework (EMF) Runtime, XML Schema Infoset Model (XSD) Runtime and Service Data Objects (SDO) Runtime from EMF Downloads.

    For Example:
    emf-sdo-runtime-2.2.0RC4 (direct link: emf-sdo-runtime-2.2.0RC4.zip), 15.05.2006
    xsd-runtime-2.2.0RC4 (direct link: xsd-runtime-2.2.0RC4.zip), 15.05.2006

    Unpack EMF into the Eclipse directory.

  5. Install Java EMF Model (JEM)

    Get the latest Version of Java EMF Model (JEM) Runtime from Visual Editor project downloads.

    For Example:
    JEM-runtime-1.2RC1 (direct link: JEM-runtime-1.2RC1.zip), 18.05.2006

    Unpack JEM into the Eclipse directory.

  6. Install Web Tools Platform (WTP)

    Get the latest Version of Web Tools Platform (WTP) Runtime from Web Tools Platform downloads.

    For Example:
    WTP-S-1.5RC3 Runtime (direct link: wtp-S-1.5RC3-200605182217.zip), 18.05.2006

    Unpack WTP into the Eclipse directory.

  7. Launch Eclipse with the "-clean" Option

    Launch Eclipse with the -clean option one time to ensure all plugins are detected properly.

  8. Install AJAX Toolkit Framework (ATF)

    Get the latest Version of AJAX Toolkit Framework (ATF) from ATF Project Downloads.

    For Example:
    ATF-0.1-20060519 binary download (direct link: atf-0.1-20060519-1500.zip), 19.05.2006

    The downloads are in the form of archived update sites. To install the ATF features into your Eclipse installation, perform the following steps:

    1. Start Eclipse, and select Help -> Software Updates -> Find and Install...
    2. Select Search for new features to install
    3. Select Next
    4. Select New Archived Site...
    5. Select the location of the downloaded update site zip file
    6. Select Finish
    7. Make sure all ATF features are selected
    8. Follow the remaining prompts to install ATF
  9. Install Dojo

    Get Dojo 0.2.2 from Dojo Downloads.

    Direct link:
    dojo-0.2.2-ajax.zip, 20.05.2006

    Unpack the Content of the ZIP in <ECLIPSE>/plugins/org.eclipse.atf.personality.dojo.runtime_0.2.2/resources

  10. Install Rico and Prototype

    Get Rico 1.1-beta2 and Prototype 1.3.1 from Rico Downloads.

    Direct link:
    rico.js (Rico 1.1-beta2)
    prototype.js (Prototype 1.3.1)

    Save rico.js and prototype.js to <ECLIPSE>/plugins/org.eclipse.atf.personality.rico.runtime_1.0.1/resources

  11. Install JSlint JavaScript Verifier

    Get the JavaScript Validator Plugin JSlint from JSlint Documentation.

    Obtain JSlint by open the URL http://www.jslint.com/fulljslint.js and save the page as jslint.js.

    Save jslint.js to <ECLIPSE>/plugins/org.eclipse.atf.javascript.validator_1.0.1 (directly under the top level plugin).

First Steps with ATF

Embedded Mozilla Browser

To open the Mozilla Perspective:

  1. Go to the Windows menu.
  2. Select Open Perspective, Other.
  3. From the Select Perspective dialog, select Mozilla.

There are several ways of opening the Embedded Mozilla Browser:

  • Click on the toolbar button Mozilla Button when in the Mozilla Perspective.
  • Run or Debug a Web Application using the Run As/Run in Mozilla or Debug As/Debug in Mozilla context menu, respectively. (More information under the individual AJAX Personalities section)

Resources

Based on:

to top

Know-How

ANZEIGE: