Hi,

I am trying to setup the development environment for module development. I need some help here to figure out the best way to do this. I am not sure how module developers maintain both durpal and modules(under development).

I am using Eclipse IDE (php plugin, svn plugin).

I have two repositories in SVN
1. Drupal51
2. MyProject.

In eclipse, I created a php project for Drupal51. Checked out the source from Drupal51. Now I want to checkout MyProject into sites/all. I can also checkout MyProject from eclipse but it is checked out as a new project. What I want is somehow magically when I checkout MyProject it should checkout to sites/all folder of the main drupal project.

What I am trying to achieve here is to totally seperate Drupal repository from MyProject in SVN. But MyProject should be part of sites/all in the development environment. How can I do this?

Am I doing something wrong at SVN by creating two repositories? Please help me understand it better.

Thanks
BinnyG

Comments

binesh.gummadi’s picture

I guess I can set up the svn:externals to achieve the needed behavior. Here is what I understood.

I have to setup a repository for drupal.
I have to setup a repository for myproject.

I have to create svn:externals and include myproject in drupals/sites/all. This way when developers checkout the drupal repository they also get modules from myproject repository. Is this the right way to go?

I don't know the command yet to create this but if I am the right direction I would research a bit and figure out the command.

Thanks for your help.
BinnyG