Eclipse
Introduction
To ease working with FAST, the best to do is to use a tool that can execute the Maven task automatically.
Having Eclipse configured to work hand-in-hand with Maven really helps ! To do so, we’ll use an Eclipse plugin called m2Eclipse.
(of course if you want to use any other mechanism, you’re free to do so ; keep in mind that having the Maven task automatic makes the process transparent for developer).
Install : Eclipse
FAST through m2eclipse has been tested with those configurations :
- Helios (Eclipse 3.6)
- Indigo (Eclipse 3.7)
- Juno (Eclipse 4.2)
- Kepler (Eclipse 4.xx)
You can find those bundles on Eclipse official website.
Install : m2Eclipse
You can find m2eclipse on its official website : http://eclipse.org/m2e. The easier to use it is by defining a new update site into eclipse :
- Inside Eclispe : Help > Install new software
- Use this “update site” : http://download.eclipse.org/technology/m2e/releases
- Check “m2e - Maven integration for Eclipse” then click “Next”.
- Eclipse should be “Calculating requirements and dependencies” for a while.
- Eclipse wil show what you’re about to install, click “Next”, accept the agreement and click “Finish”
- Wait for the install to end …
Eclipse : ‘Package explorer’ view
Even for PHP bundle, the ‘Package explorer’ view is the best to work with Maven project as it easier to access resources. But, it is not mandatory =)
Eclipse : Importing your project
- Go to : File > Import > Existing maven projects
- Browse to your project, where you can find the pom.xml file.
- If you go a screen “Setup maven plugin connectors”, click “Resolve All Later” and “Finish”.
- Validate the alert.
Project should be in “package explorer”.