Install the Ajax environment in eclipse (ATF, dojo, extjs ...)

Source: Internet
Author: User

1. Download a bunch of environments:
(1) --> first download eclipse integrated web environment :( wtp-all-in-one-sdk-R-1.5.3-win32.zip (WTP ))
Reference: 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
2) download JDK. I downloaded JDK 1.5.
2) download Tomcat ---- Web server, which must be installed
3) download the ATF (Ajax Toolkit framework) --- ATF framework, which is useful for Ajax development!
4) download xulrunner (used by ATF)
Reference: ftp://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/contrib/2007-02-02-1.8.1.2pre/xulrunner-1.8.1.2pre.en-US.win32.zip
5) download dojo here http://dojotoolkit.org/download/ ------- single-step debugging JS with, do not install this cannot be in eclipse single-step debugging...
6) download extjs (Yui-ext) Here http://extjs.com/------- focus, I think it is better than the dojo stuff

2. decompress the xulrunner to a folder.
Run: xulrunner -- register-Global
//////////////////////////////////////// /////////////////////
Note:
Uninstall any previous version of Mozilla xulrunner.
If registered for all users:
Xulrunner -- unregister-Global
If registered only for current user:
Xulrunner -- unregister-user
Register xulrunner by executing either of the following at the command line:
Register for all users:
Xulrunner -- register-Global
Register only for current user:
Xulrunner -- register-user
//////////////////////////////////////// /////////////////////

3. Start eclipse
Open eclipse and choose help> Software Updates> Find and install...
Select search for new features to install
Select next
Select New archived site...
Select the ATF compressed file you just downloaded
Select finish
Confirm all ATF check boxes are selected
Next, start Remote Installation of ATF.
Once the installation of ATF is complete, eclipse must use eclipse-clean to restart

Disable eclipse
Go to CMD and enter the eclipse directory.
Run "eclipse-clean"
You only need to perform this operation once at ATF.

4. Close eclipse and install dojo

In the org. Eclipse. ATF. personality. dojo. runtime folder under eclipse Plugin:
Open resources/path
Decompress dojo
Copy all files under Dojo-<version>-ajax/to resources/path under org. Eclipse. ATF. personality. dojo. runtime.
Note: dojo can be obtained 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 shoshould not cause any break in Dojo functionality.

You can also install other environments:

In the org. Eclipse. ATF. personality. Rico. runtime folder under eclipse Plugin:
Open resources/path
Add prototype. js
Add Rico. js
Note: Prototype. js and Rico. js are obtained from the http://openrico.org/rico/downloads.page here

In the org. Eclipse. ATF. Javascript. jslint folder under eclipse Plugin:
Add jslint. js to resources/path
Note: jslint. js get from http://www.jslint.com/fulljslint.js here

Develop a dojo application: see http://www.eclipse.org/atf/flash/index2.php
Debug the dojo application: see http://www.eclipse.org/atf/flash/index4.php

You can also install:

Download and install jseclipse
Jseclipse is an eclipse plugin, which is used as a javascript editor to enable the color differentiation, code formatting, and auxiliary coding functions of the Code.

Download and install jseclipse plugin ext of the Code Completion library from the extjs Forum:
Http://extjs.com/forum/showthread.php? T = 6112
This item can improve the Automatic completion of extjs code by jseclipse. For details, see the description in the Forum.

Lomboz plug-in-Provides JSP programming support and supports automatic drop-down prompts
The lomboz plug-in requires two parts to be downloaded: one is the EMF environment and the other is the lomboz plug-in.
It can be downloaded from the website. It seems that version 20060808 is best used.
Download and overwrite it to eclipse
Extjs just decompress the file and test it to the new project ~~

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.