ziozec
ziozec

Reputation: 1

Symfony2 Eclipse Plugin CLI

I'm using symfony2 plugin with Eclipse but it doesn't integrate symfony's command line instructions.

What i need is if should be possible to integrate shell symfony's command as php app/console generate:bundle --namespace=Acme/HelloBundle --format=yml

Is there any place that describe how set these command inside eclipse as 'Run external tool'? Should be possible to integrate inside the plugin at project level New-> Create bundle mask?

Upvotes: 0

Views: 1920

Answers (1)

pulse00
pulse00

Reputation: 1314

@ziozec: the Symfony2 plugin does not provide such a feature out of the box. However, you can indeed use the "Run external tool" Dialog to setup eclipse for running symfony commands. Simply set the path to your php executable in the "Location" field and use the project root as the working directory. In the arguments field enter "app/console

Upvotes: 1

Related Questions