(Tutorial) Deploy Drupal Modules and Themes with Eclipse External Tools
Tips : Deploy Drupal Modules and Themes with Eclipse External Tools
Eclipse, with the newly released PDT 2.0, is a very capable Drupal IDE. With code completion, automatic documentation lookups, and integrated debugging, Eclipse is very good for anyone who spends time doing Drupal code.
One issue I've run into with Eclipse when working on contributed modules is that the modules themselves aren't located within a Drupal installation. I found myself resorting to external programs or the command line to copy my changes to my development site or to my local development copy. Using Eclipse's External Tools, it's possible to deploy changes with a single click, greatly reducing the time to test modified code.
Step 1: Create a new project to contain scripts and configurations
New Project: Select the Project entry under General to create a generic project.New Project: Select the Project entry under General to create a generic project.First, create a new generic project. This project won't contain anything other than shell scripts and external tool configurations, so it doesn't need to be a PHP project. I called mine deploy_scripts.
Step 2: Create the script to copy your module or theme
Create the following script as a new file in your deploy_scripts project as deploy_project.sh. It uses rsync to syncronize changes, including deleted files. This should work as is on OS X and any other *nix. If you're developing on Windows, you'll need to install rsync, bash, and modify the script as needed.
Courtesy : Portfolio.furrypaws.ca
- guru's blog
- Login to post comments

![Drupal-6-Book-[Building Powerful and Robust Websites with Drupal 6].jpg](http://www.drupalranch.com/images/Drupal-6-Book-[Building%20Powerful%20and%20Robust%20Websites%20with%20Drupal%206].jpg)