[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Projects within projects

From: Richard Wallace <rwallace_at_thewallacepack.net>
Date: 2005-03-07 21:51:13 CET

Hello all,

We have been using CVS with Eclipse for a while now. We recently
switched our CVS repository to subversion. One problems that we are
having is figuring out how to structure things properly. The project is
a web-app written in PHP. The main directory, the framework for the
applications, is one project. Each application is another project but
when developing, testing and deploying each project is actually a
subdirectory of the framework. So, in svn we have:

webapp-framwork/
        trunk/
        branches/
        tags/
app1/
        trunk/
        branches/
        tags/
app2/
        trunk/
        branches/
        tags/

When checking out a branch we'd like to put them in this structure:

webapp-framework/
        app1/
        app2/

That's all well and good except for when doing development in Eclipse.
With CVS we could do this and Eclipse's CVS plugin would pickup the
subdirectories as being in CVS but part of different modules. Subclipse
doesn't do this. It sees app1 and app2 and since they're not
subdirectories of webapp-framework directory in the svn repo, they're
marked as not being under source control.

I tried adding a separate project for each of the separate applications
but they wind up conflicting with any project that I create for the
webapp-framework claiming that the project directories overlap.

Is there any way I can make subclipse recognize that these
subdirectories are in fact in the repo, just not in the same location as
the parent directory? Or is there a better way to do this?

Thanks
Rich
Received on Tue Mar 8 07:51:13 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.