MyEclipse Installing the Flex 3 plugin and creating a new Flex Project

Source: Internet
Author: User
Tags win32 zip tomcat tomcat server

First, the preparatory work:

The Required software:

Eclipse 3.5.2:http://d2u376ub0heus3.cloudfront.net/eclipse/downloads/drops/r-3.5.2-201002111343/ Eclipse-sdk-3.5.2-win32.zip

Eclipse 3.5 Chinese Pack: Http://eclipse.stu.edu.tw/technology/babel/babel_language_packs/BabelLanguagePack-eclipse-zh_ 3.5.0.v20091121043401.zip

FlexBuilder3 Beta2 Plug-in version: Ed2k://|file|%5bflex.builder.3.eclipse%e6%8f%92%e4%bb%b6%e7%89%88%5d. fb3_wwej_plugin.exe|365201784|62707d4dba2f46e31f943d58904c955e|h=c3t7ufizhn2d2fv6jnpaocquyrgyean6|/

MyEclipse 7.0:ed2k://|file| [myeclipse].myeclipse-7.0-win32.exe|665499410|a9dbef5973806a4f50abc2f94ee3353d|h= 56to6aiim4dnnutbut46qkchigjqcol4|/

Blazeds.war:http://flexorg.wip3.adobe.com/blazeds/3.0.x/milestone/3978/blazeds-bin-3.2.0.3978.zip

Tomcat 6:http://labs.renren.com/apache-mirror/tomcat/tomcat-6/v6.0.26/bin/apache-tomcat-6.0.26-windows-x86.zip

Second, the installation process:

1. Installing MyEclipse

2. Install FlexBuilder3 Beta2 plug-in version (Fb3_wwej_plugin.exe), please refer to the figure below

(1) Double-click the executable file

[Double-click Installation file]
(2) Pop-up dialog box, do not care about it, directly click "OK" can be

[Double-click Installation file]

(3) It is now asking if you want to install the Flex BUILDER 3 plugin and select "Next".

[Double-click Installation file]

(4) It is time to ask if you agree to the agreement, select "Agree" and click "Next" button.

[Double-click Installation file]

(5) Please choose the installation path of Flex Builder, you can choose your own, then click "Next" button.

[Double-click Installation file]

(6) Note: This step is important for you to choose the installation path of Eclipse in MyEclipse6.0, please select it carefully.

[Double-click Installation file]

Then click on the "Next" button.

(7) Then wait patiently, after a while may pop up a dialog box, asking if you are installing Eclipse3.2 or 3.3 and later, if so, please select "Proceed with Caution" button.

[Double-click Installation file]

(8) This interface is asked if you want to install the IE and Firefox browser on the Flash play 9, it is recommended to choose both---easy to debug. Then click on the "Next" button.

[Double-click Installation file]

(9) Pop-up window, click "Install".

[Double-click Installation file]

[Double-click Installation file]

(10) Open your Flexbuilder plugin installation folder (I installed, the directory is automatically opened), open the following "Eclipse" folder, Copy the contents of the features and plugins two folders into the features and plugins two folders under the Eclipse folder under MyEcipse6.0 (one by one corresponds, don't put it wrong).

[Double-click Installation file]

(11) Then place the SDKs in the Flexbuilder plugin installed folder into the Eclipse folder under MyEcipse6.0.
(12) Basic completion of configuration. It's just that you can switch views under MyEclipse6.0 to find the view structure that the flex corresponds to.

[Double-click Installation file]

The process of deploying Flex Web Engineering in MyEclipse6.0

1) Create a Flex project, first open the Flex view under MyEclipse, and right-click to create a Flex project.

Enter the project name, Note: Application server type under Server technology Select the Java EE and click on the "Next" button.

[Double-click Installation file]
2) Click the "New" button on this page---in order to establish a Tomcat server and specify the communication file (Flex War Files---Please specify the directory where you place your communication files (blazeds or LCDs). Output here The folder should be the same as the context folder, both Webroot

t [double-click Installation file]

Build the Tomcat server as shown in the following figure

Note Be sure to choose the corresponding Tomcat version with your myeclipse, then click on the "Next" button to enter the next screen, click "Finish".

[Double-click Installation file]

[Double-click Installation file]

3) Back to the second step of the interface, click "Brower." button, select Ds-console.war This file (this file needs to install LCDs software,
We just want this war file under this software, for the installation of this software, no special place, the normal installation can be completed),
Finally click "Next" to enter the following interface, click Finish.

[Double-click Installation file]

4) Now that the Flex project is established, switch to the MyEclipse view, as shown in the figure:

[Double-click Installation file]

Explanation of each package:

SRC: The Java Project package is put in

FLEX_SRC: Put a file for the Flex project

(This project is actually made up of two project frameworks)

5) Right-click on the project to add Web support to the Flex project (role: In order for Tomcat to load this project, because Tomcat can only load Web projects), as shown in the following illustration:
[Double-click Installation file]

6) After the dialog box pops up, remove the tick from the Create Web. XML entry below (because the Web. xml file already exists under the project,
So get rid of it. ), click the "Finish" button.

[Double-click Installation file]
7) The project has been fully constructed and completed. (You can see that the item's icon changes to two of the Earth's appearance)
[Double-click Installation file]

Complete deployment of project files in Flex

1) Let's take a look at what the project looks like now.

[Double-click Installation file]

You can see that there is a flex_j2eedemo.mxml file, which is the entry location for the Flex project's application,

The beginning of the project starts here, with only one such file in one project, and the other as component files.

2) The layered structure of the Flex project, the following figure is what I am looking at now:

[Double-click Installation file]

We can see the Flex_src folder under which I created three folders

Ascode: Used to put ActionScript files.

CSS: Used to put CSS style files.

View: Used to put a component file (Mxml file) in a project.

(Note: These three folders are very much like the Java package, of course, can also be like Java, according to the functional module division, which is only a general layer, according to the project decision. )

3) Layered steps under the Java project:

As with the previous Java project, build the package structure that you need in the SRC package.

In this project, we are divided according to the module, and then separated under each module: biz,dto,dao,entity layer, and the VO layer will be handed to the Flex View folder for unified management.

4) Debug debugging can use MyEclipse6.0 for Javacode debugging, and then use Flexbuilder for page debugging.

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.