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

Re: Working in partially versioned directories

From: Ryan Schmidt <subversion-2010a_at_ryandesign.com>
Date: Tue, 23 Mar 2010 09:13:53 -0500

On Mar 23, 2010, at 09:01, Tino Schwarze wrote:

> We have an application which consists of multiple modules which are
> packaged together, then installed into a Web-application layout. That
> is: The repository layout differs from the final installed application
> layout (files are distributed across the whole installation at various
> places).
>
> For example, consider the following repository structure (I'm making
> this up for simplicity):
>
> /trunk/module1/jsp/something.jsp
> /trunk/module1/java/com/c4u/module1/Someclass.java
> /trunk/module1/sql/create_scripts/sometable.sql
> /trunk/module2/jsp/anotherthing.jsp
> /trunk/module2/java/com/c4u/module2/Anotherclass.java
> /trunk/module2/sql/create_scripts/anothertable.sql
>
> After repackaging and installing, these files are arranged like this:
>
> webroot/jsp/c4u/module1/something.jsp
> webroot/jsp/c4u/module2/anotherthing.jsp
> webroot/WEB-INF/classes/com/c4u/module1/Someclass.java
> webroot/WEB-INF/classes/com/c4u/module2/Anotherclass.java
> sql/c4u/module1/create_scripts/sometable.sql
> sql/c4u/module2/create_scripts/anothertable.sql

You may want to look into file-level svn:externals available in svn 1.5 and later. I'm not certain this will 100% deal with your situation, but it's the only solution that comes to my mind.
Received on 2010-03-23 15:14:31 CET

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