今天我在配Eclipse+Flex+Spring等IDE的時候,發現FB3(Flex Builder 3)不能和JavaEE Eclipse相容,只能想其他的招了。下面是我在google上搜尋到的一篇文章,介紹在FB3上安裝WTP:
(摘自:http://dylandepass.com/blog/?p=41)
Recently I tried to set up a Java backend with Tomcat 6.0 to use with Flex. I have to say that I ran into a few problems that caused me a bit of a headache, so I thought I would share my solution to hopefully help anyone else who might have this problem.
If you are looking to create a Java backend with the Database wizard that comes with Flex Builder you will need to install the Web Tool Platform (WTP) plugin for Eclipse. WTP contains various tools for developing Web and J2EE applications.
The problem I ran into was locating this plugin inside the “Find updates” feature of FB. Unfortunetly the WTP plugin is called something else so I was searching around for the words WTP only to realize that it’s not present in the list of addons and features that comes up. What your actually looking for is the “Web and J2EE Development” features which includes the Web Standard Tools (WST) and the Java Standard Tools (JST) which from my understanding are two of the main components of the WTP.
Here are the steps to install WTP in Flex Builder
1. Select Help > Software Updates > Find and Install > Search for new features to install
2. Check the Europa and Eclipse Project depots
3. Under Europa Discovery Site select the “Web and J2EE Development”
4. Click the Select required button to include all the dependent features for the install
Hope this helps someone!
在後來我試了一下,現在Eclipse上安裝Flex Builder 3外掛程式,然後再安裝WTP Eclipse的外掛程式也可以。