Myeclipse + flexbuilder

Source: Internet
Author: User
2009-03-19myeclipse6.0 + flexbuilder3 plugin

Keywords: Flex

I. preparations:

Required software:

Eclipse 3.3: www.eclipse.org

Flexbuilder3 beta2 Plugin: fb3_wwej_plugin

Myeclipse 6.0: http://www.myeclipseide.com/

LCDs ds-console.war: ds-console.war

Tomcat 5: http://tomcat.apache.org/
 

Ii. Installation Process:

1. Install myeclipse6.0 (not detailed here ).

2. Install flexbuilder3 beta2 plug-in (fb3_wwej_plugin.exe). See

(1) double-click an executable file


(2) In the pop-up dialog box, click OK.

(3) ask if you want to install the flex builder 3 plug-in and select "Next ".

(4) ask if you agree to the Agreement. Select "agree" and click "Next.

(5) Select the installation path of flex builder. You can select the installation path and click "Next.

(6) Note: This step is very important. You need to select the eclipse installation path in myeclipse6.0. Please carefully select.

Click "Next.

(7) then, a dialog box will pop up asking you if you have installed eclipse3.2 or 3.3 or a later version, select the "Proceed with caution" button.

(8) This interface is used to check whether you want to install flash play 9 on IE and Firefox. I still hope you can select both options for debugging. Click "Next.

(9) In the pop-up window, click "Install ".

 

(10) Open the folder installed by the flexbuilder plug-in, open the "Eclipse" folder below, and you can see that there are two folders: Features and Plugins, copy them to the features and plugins folders in the eclipse folder under myecipse6.0 (one-to-one correspondence, do not put an error ).

(11) Add the sdks in the folder installed by the flexbuilder plug-in to the eclipse folder under myecipse6.0.
(12) The configuration is basically complete. You can switch the view under myeclipse6.0 and find the view structure corresponding to flex.

 

 

Deploy a flex web project 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 and click "Next.


2) Click "new" on this page (to create a Tomcat server)

PS: The Output Folder here should be the same as context folder, all of which are webroot
 

Create a Tomcat server, as shown in

Be sure to select the tomcat version corresponding to your myeclipse. Then click "Next" to go to the next page and click "finish.

 


 

3) back to the second step of the interface, click the "Brower..." button, select the ds-console.war file (this file needs to install LCDs software,
We only need this war file under this software. For the installation of this software, there is no special place, and the normal installation can be completed ),
Click "Next" To Go To The following page. Click Finish.

 

4) Now that the flex project has been created, switch to the myeclipse View ,:

 

 

Explanation of each package:

SRC: Put the Java project package.

Flex_src: the files used by the flex project are stored.

(In fact, this project is composed of two project frameworks)

5) Right-click the project and add Web Support to the flex project, as shown in:
 

6) in the pop-up dialog box, check the Create web. xml item below (because the Web. xml file already exists under the project,
So remove it .), Click "finish.


7) All projects have been built. (You can find that the project icon is changed to two globes)
 

Deploy various files of the project in flex.

 

1) Let's take a look at the current project.

 

 

You can see that there is a flex_j2eedemo.mxml file, which is the portal location of the Flex project application,

The project starts from here. There is only one such file in a project, and all others are component files.

2) the layered structure of the Flex project is what my current project looks like:

 

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.