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>”.
4 Comments
Have to add this to the CakePHP bundle for TextMate….
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”.
I’ve just set my EasyEclipse to work with bake on windows. Looking great! Thanks to your article. :)
One Trackback/Pingback
Cake Baker Blog: Using bake with (PHP)Eclipse…
…