FlashBuilder/Eclipse : installation guide – subclipse, PDT, WTP and Maven


FlashBuilder

This installation guide step by step is based on my needs: I am user of Java and Maven technologies, and Tomcat and JBoss servers. This installation allows you to get all the tools necessary for these types of developments, starting from a “from scratch” Eclipse IDE or a standalone FlashBuilder.

Start !

Need an IDE ! 2 ways : Eclipse and FlashBuilder plug-in, or the standalone distribution of FlashBuilder.

I use in this guide FlashBuilder, standalone distribution.

Note : FlashBuilder, is now an Eclipse Ganymede package (3.4). For against, FlashBuilder has preserved the update system of Eclipse Europa version. More simple, I am sure you will have no problem to install all features if you choose the pack Eclipse+Flex plug-in !

FlashBuilder Softwares Updates
FlashBuilder Softwares Updates
Ganymede Softwares Updates
Ganymede Softwares Updates

  • Remote site management with « Manages Sites » : you just need to provide the url.
  • The selection of required plug-ins is automatic (be sure you have select all you need in « Manages Sites »)

Subclipse : subversion for Eclipse

Subclipse is an eclipse plug-in which provides support for Subversion (SVN).

To install subclipse :

  • open “Help > Softawre Updates > Find and install…” dialog box.
  • Choose “Search for new features to Install” and click on “Finish”.
  • In the next box, click on “new remote site”. The dialog box for enter an update site appear.
  • Type “subclipse” in Name input, and “http://subclipse.tigris.org/update_1.6.x” in the url update address input.
    subclipse, update remote site
  • Click on “Ok”.
    Verify in the list of includes sites that subclipse is selected. Select also “Ganymede Discovery Site” (Europa if your are on a Eclipse 3.3 IDE).
    subclipse, select required
  • Click on “Finish”.
  • In the search results box, open the Sublclipse folder, en select “Subclipse”. An error appears. Don’t panic! Some additional plug-in are necessary. Click on “Select Required” button: Eclipse check the list of not found plug-in, and select automatically all required plug-in in Ganymede Discovery Site.
  • Click on “Next”. Some validation, and other dialog box appear. Validate all boxes.
  • you can also take a coffee… But attention ! A lot of coffee can be taken during this installation.

For PHP developer : PDT !

You know : with eclipse you can make coffee ! Some cool tool exist for Eclipse. If you are a PHP developer, you can use PDT – PHP Development Tool.
PDT, like WTP – See further- add to your Eclipse some tools for developing PHP application.
For more information about PDT, visit the PDT homepage.

To Install PDT, follow these steps :

  • In “Help > Softawre Updates > Find and install…” , choose “Search for new features to Install” and click on “Finish”.
  • Next, you need to add 2 Remote Site : PDT, and DLTKDynamic Language ToolKit.
    Click on “new remote site” :
    • Adding PDT : in Name input, type “PDT”, and for url : “http://download.eclipse.org/tools/pdt/updates/2.0/
    • Adding DLTK : in Name input, type “DLTK”, and for url : “http://download.eclipse.org/technology/dltk/updates-dev/1.0M4-PDT-2.0/

    Verify in the list of includes sites that PDT and DLTK are selected. Select also “Ganymede Discovery Site”, and click on “Finish”.

  • In the list, select « PDT > PDT SDK 2.0.x > PDT SDK Feature”. An error appear : click on “Select required”. Then, “Next”.
    PDT, jar selection
  • Another coffee?

If your needs is just PHP : Stop ! The following is just for Java developers.

Web Tools Platform : a tribute to Java

Web Tools Platform (WTP) is a package of some tools for your eclipse IDE, which provides you to develop web and J2EE application. WTP add to your IDE the J2EE perspective (a very good view of your code), Some other stuff is added with the WTP. I invite you to discover all this !
For more information about WTP, visit the Webtools homepage.

Installing WTP is like the installation of subclise. More simple.

  • Open “Help > Softawre Updates > Find and install…”.
  • Choose “Search for new features to Install” and click on “Finish”.
  • Select “Ganymede Discovery Site” and click on “Finish”.
  • Open “Ganymede Discovery Site”, select “Web and Java EE Development”, and click on “Select Required”.
    WTP, jar selection
  • Click on “Finish”. Like subclipse, some validation and other dialog box appear. Validate all.
  • Coffee Time

Your IDE is now ready for good coding !

Maven : manager of project

Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central piece of information.
Maven is the perfect tool for continuous integration and version tracking of your jar, swc, war, …
For more information about Maven, visit the maven homepage.
m2Eclipse is the Maven2 plugin for Eclipse. This plug-in ads all you need to integrate Maven into your projects.

For the installation of m2Eclipse, you need to add another remote update site.

  • Go to “Help > Softawre Updates > Find and install…”.
  • Choose “Search for new features to Install” and click on “Finish”.
  • Click on “new remote site”.
  • Type “m2Eclipse” in Name input, and “http://m2eclipse.sonatype.org/update/“ in the url update address input.
    m2eclipse - remote update site
  • Click on “Ok”.
  • Verify in the list of includes sites that m2eclipse is selected. Click on “Finish”.
  • Now You need to select the list of Maven plug-in to install. The minimum required is to select all in the folder “Maven Integration” except POM XML Editor (for me, I have selected this feature), and POM Editor.
    
For a better integration with WTP and Subclipse, I select also the “Maven integration for WTP” (in Maven Project Configurators”) and “Maven Central repository index”, “Maven SCM handler for Subclipse” (in Maven Optional Components”).
    m2eclipse : minimum selection
  • Click on “Next”.
  • After passing all validations, …. Another coffee time !

Finish !

Now : restart your IDE…. And let’s gamble ! With all these coffees you can’t sleep anyway … it can be time to start your project?


Tags: , , , , ,


8 commentaires ...

» RSS des commentaires
  1. Palleas /
    -->

    Great!

    Let’s play with Maven o//

  2. Antonin /
    -->

    Let’s GAMMMMMBLE :)

    Bravo pour l’article :)

  3. Mark Ireland /
    -->

    I got Decorator errors running subclipse (but my files did go into the repository)

  4. Vinícius /
    -->

    I’m having troubles to install WTP on flash builder 4 premium, any tips ?

  5. William /
    -->

    Same problem here
    I’m unable to install WTP or JDT on Flash Builder 4 premium

  6. Fabien /
    -->

    FB4 has not the same software updates system. So : I looks and I keeps you informed. Stay tuned

  7. yoy /
    -->

    It seems that the software update has been updated too with the release of flash builder and unfortunatly, there is no update site already registered. So you can add the Galileo update site : http://download.eclipse.org/releases/galileo/ in Help > Install new Features > Add (add the galileo update site) and Voilà !!! you can add PDT, JST, WTP

  8. Fabien /
    -->

    For installation of WTP on FB4, you need to add the Galileo updates site in the « avaible site update » – http://download.eclipse.org/releases/galileo/ (take a look at the top right of the window under Help>Install new software). Then select the Galileo update site, and select all on Web, J2EE development.


Soit pas timide...

Powered by WP Hashcash


Bad Behavior has blocked 333 access attempts in the last 7 days.