Zend Studio for Eclipse is a commercial edition of Eclipse plus the PDT plugin and various other additions. Unfortunately Zend decided to disable the Ant plugin in it’s distribution of the Eclipse platform. Nonetheless if you’d like to run Ant scripts or simple Phing scripts it would be really useful to be able to use the Ant integration of Eclipse.
Preparation First you need to make sure that the Eclipse Java Development Tools are available in Zend Studio for Eclipse.
- From the Help menu click Software Updates > Manage Configuration.
- Check for the entry Eclipse Java Development Tools.
If the entry is not listed or disabled, you need to install the Eclipse feature.
- From the Help menu click Software Updates > Find and Install.
- Click Search for new features to install.
- Check Europa Discovery Site and click Next.
- Select Java Development Tools and click Finish to install the feature.
- Restart Zend Studio for Eclipse.
How to enable the Ant integration
Now it gets a little tricky.
- From the File menu click New > Project.
- Check Show All Wizards.
- In the Wizards text field enter Ant, select Java Project from Existing Ant Buildfile and click Next.
- You will be asked to enable Ant Development - confirm with Yes.
- Now you can cancel the new Java Project - Ant has been activated.