If all four projects are small or medium sized then you can load them all
into one repository, for example:
{svn_repo_1}/branches/
{svn_repo_1}/tags/
{svn_repo_1}/trunk/JavaProject1
{svn_repo_1}/trunk/JavaProject2
{svn_repo_1}/trunk/JavaProject3
{svn_repo_1}/trunk/JavaProject4
The advantage of having all 4 projects in the same trunk is that you can
easily update/commit all four projects at once. The disadvantage is that
tagging and branching can become more complicated --- if you plan on doing
lots of branches then you are better off creating the branches/tags/trunk
directories per project.
The dependency of projects 1 to 3 on project 4 can be easily resolved by
a) using Ant: refer to the jar file in JavaProject4 via relative path
(../JavaProject4/dist/project4.jar)
b) using Eclipse: list JavaProject4 under "Project References" in projects 1
to 3
________________________________________
From: Subversion List [mailto:subversion@emalbum.com]
Sent: Wednesday, December 01, 2004 3:22 PM
To: users@subversion.tigris.org
Subject: Repository layout
I have 4 java projects that I am working on and needs some advice on how to
"best" setup the repository/repositories.
JavaProject1, JavaProject2, and JavaProject3 all have a dependency on
JavaProject4. In each project, there will be a src, docs, and classes folder
along with a variety of configuration files. Each project ends up as a jar
file so I also want to keep track of those.
I am not sure rather I should create 4 repositories or just 1. Any
suggestions on how to set this up? I'm not quite sure how to deal with the
jar files and the fact that projects 1-3 depend on the jar file from
project4.
Thanks in advance.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 1 05:45:44 2004