subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Schmidt <subversion-20...@ryandesign.com>
Subject Re: Working in partially versioned directories
Date Tue, 23 Mar 2010 14:13:53 GMT
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.


Mime
View raw message