Using bake with (PHP)Eclipse
Lately, Matt posted in a thread with the title “cool editors for using with cakephp” a tip for using bake from within PHPEclipse:
- Choose “Run”, “External Tools”, “External Tools…”
- Select “Program” and create a new configuration with “New”
There are two ways to configure such a configuration:
Location: /usr/bin/php
Working Directory: <where_cake_is>/cake/scripts
Arguments: bake.php
Or if your bake script is executable:
Location: <where_cake_is>/cake/scripts/bake.php
Working Directory: <where_cake_is>/cake/scripts
Arguments: none
After the configuration you can run bake with “Run”, “External Tools”, “<the_name_you_have_chosen_for_the_configuration>”.




Have to add this to the CakePHP bundle for TextMate….
Cake Baker Blog: Using bake with (PHP)Eclipse…
…
How to use bake with Eclipse on Windows?
@sabkaraja: In the same way as described above (with different paths), You find an example for windows if you follow the link I provided in the post and search for “bake.php”.
[...] Para bake.php ya existÃa ua forma de integrarlo a PHPEclipse: http://cakebaker.42dh.com/2006/07/10/using-bake-with-phpeclipse/ [...]
[...] I am quite impressed. I have already created an “external tool” for Bake thanks to the short tutorial here, although I had to modify it for 1.2. Now I can bake with a short menu selection, directly in [...]