Hi Jay,
> Ian, is it implicit in your proposal that svn:externals can point to
> files?
>
> Virtually all my requirements for links would be resolved if we could
> get svn:externals to point to individual files.
I think with #1820 "Allow multiple svn:externals to map to the same
directory" http://subversion.tigris.org/issues/show_bug.cgi?id=1820 that I
can achieve the same effect without the requirement for file mappings.
We build for several platforms, each of which need a different set of build
files (well, WinCE is the real problem, because it has a set format for the
makefiles which doesn't allow us to use the same file for anything else).
I could set up a build tree for each platform, parallel to the source tree,
and have the appropriate build tree merged with the source tree.
For example, say I have
trunk/API/Core
src/
src1.c
src2.c
readme.txt
trunk/API/OS/WinCE
OS_Layer/
os1.c
makefile
sources
Build/
src/
makefile
sources
Platform/
makefile
sources
dirs
trunk/API/OS/PalmOS
OS_Layer/
os1.c
makefile
Build/
src/
makefile
Platform/
makefile
makefile
trunk/API/Platform/XScale
platform1.c
trunk/API/Platform/Geode
platform1.c
We would like to be able to build up
trunk/API/WinCE_XScale
API
src/
src1.c
src2.c
makefile
sources
OS_Layer (alias of trunk/API/OS/WinCE/OS_Layer)
os1.c
makefile
sources
Platform (alias of trunk/API/Platform/XScale)
platform1.c
makefile
sources
readme.txt
dirs
=> svn:externals
API http://subversion/repos/trunk/API/OS/WinCE/Build
API http://subversion/repos/trunk/API/Core
API/OS_Layer http://subversion/repos/trunk/API/OS/WinCE/OS_Layer
API/Platform http://subversion/repos/trunk/API/Platform/XScale
===
trunk/API/Palm_XScale
API
src/
src1.c
src2.c
makefile
OS_Layer (alias of trunk/API/OS/Palm/OS_Layer)
os1.c
makefile
Platform (alias of trunk/API/Platform/XScale)
platform1.c
makefile
readme.txt
=> svn:externals
API http://subversion/repos/trunk/API/OS/PalmOS/Build
API http://subversion/repos/trunk/API/Core
API/OS_Layer http://subversion/repos/trunk/API/OS/PalmOS/OS_Layer
API/Platform http://subversion/repos/trunk/API/Platform/XScale
===
Note how by mapping two different directories to the same place, I can
effectively pull in common files.
I hope this clarifies matters.
Cheers,
Ian Brockbank C.Eng. MBCS
Applications Software Engineer
e: ian.brockbank@wolfsonmicro.com / apps@wolfsonmicro.com
scd: ian@scottishdance.net
t: +44 131 272 7145
f: +44 131 272 7001
Wolfson Microelectronics plc
www.wolfsonmicro.com
T +44 131 272 7000
F +44 131 272 7001
Registered in Scotland 89839
This message may contain confidential or proprietary information. If you receive this message in error, please immediately delete it, destroy all copies of it and notify the sender. Any views expressed in this message are those of the individual sender, except where the message states otherwise. We take reasonable precautions to ensure our Emails are virus free. However, we cannot accept responsibility for any virus transmitted by us and recommend that you subject any incoming Email to your own virus checking procedures.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 7 14:39:38 2004