Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Checking out multiple SVN locations to single project
Checking out multiple SVN locations to single project [message #770582] Sat, 24 December 2011 18:25 Go to next message
Ben Keen is currently offline Ben Keen
Messages: 1
Registered: December 2011
Junior Member
Hi!

I've used PDT for years now, but one thing's always puzzled me...

Here's my problem. I use it primarily for a single, relatively large open source project. The project is split into separate components (Core code, modules, themes and API), each of which is stored in different locations in 2 different SVN repositories.

When working locally I just check out the Core code. So far so good. However, the modules, themes and API are all stored in SUBFOLDERS of my project - and, I'd like to be able to check out those components from their separate SVN locations directly to those folders in my local working copy, so I can easy develop locally. But I can't! This appears to be a limitation with Eclipse / Subclipse.

I tried adding symbolic links to the checked out components, but due to the way PHP works with require(), it messes up relative paths, so that's no good.

Has anyone run into a similar problem? Find a good solution?

Thanks!

- Ben
Re: Checking out multiple SVN locations to single project [message #773459 is a reply to message #770582] Sun, 01 January 2012 17:36 Go to previous messageGo to next message
Eclipse User
i use symlinks like you said and it works for me
change required code maybe?
i got too core, modules, js etc on the same dir level

Dne 24.12.2011 19:25, Ben Keen napsal(a):
> Hi!
> I've used PDT for years now, but one thing's always puzzled me...
> Here's my problem. I use it primarily for a single, relatively large
> open source project. The project is split into separate components (Core
> code, modules, themes and API), each of which is stored in different
> locations in 2 different SVN repositories.
> When working locally I just check out the Core code. So far so good.
> However, the modules, themes and API are all stored in SUBFOLDERS of my
> project - and, I'd like to be able to check out those components from
> their separate SVN locations directly to those folders in my local
> working copy, so I can easy develop locally. But I can't! This appears
> to be a limitation with Eclipse / Subclipse.
>
> I tried adding symbolic links to the checked out components, but due to
> the way PHP works with require(), it messes up relative paths, so that's
> no good.
> Has anyone run into a similar problem? Find a good solution?
> Thanks!
>
> - Ben
Re: Checking out multiple SVN locations to single project [message #773765 is a reply to message #770582] Mon, 02 January 2012 13:29 Go to previous message
dominik is currently offline dominik
Messages: 122
Registered: July 2009
Senior Member
On 2011-12-24 19:25, Ben Keen wrote:
> I tried adding symbolic links to the checked out components, but due to the way
> PHP works with require(), it messes up relative paths, so that's no good.
> Has anyone run into a similar problem? Find a good solution?

Why not to use svn externals?

/dmc
Previous Topic:Reading php://stdin from within eclipse
Next Topic:Changing $_SERVER values on the fly.
Goto Forum:
  


Current Time: Sat Oct 25 17:41:51 GMT 2014

Powered by FUDForum. Page generated in 0.02153 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software