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>”.


  1. Posted July 10, 2006 at 6:11 pm | Permalink

    Have to add this to the CakePHP bundle for TextMate….

  2. sabkaraja
    Posted August 2, 2006 at 6:04 am | Permalink

    How to use bake with Eclipse on Windows?

  3. Posted August 2, 2006 at 8:51 am | Permalink

    @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”.

  4. Posted November 11, 2007 at 6:46 pm | Permalink

    I’ve just set my EasyEclipse to work with bake on windows. Looking great! Thanks to your article. :)

  5. Posted September 9, 2013 at 11:38 pm | Permalink

    What’s up, I want to subscribe for this web site to obtain most recent updates, therefore where can i do it please assist.

One Trackback/Pingback

  1. Cake Baker Blog: Using bake with (PHP)Eclipse…

Post a Comment

Required fields are marked *

%d bloggers like this: