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

Platform-specific files

From: Ian Brockbank <ian.brockbank_at_wolfsonmicro.com>
Date: 2004-02-11 17:53:24 CET

Hi,

Is it possible to set things up using subversion so that there's a core
directory structure and various platform-specific extras? Not just the
obvious platform subdirectory (I've done that already using
svn:externals), but platform-specific files scattered throughout the
structure.

I'd like to be able to modify and check in common files in one place,
and still be able to get out platform-specific build trees (eg. for
WinCE and for Linux) which pick up the latest common files and the
platform-specific build files.

E.g. I have the following tree:

trunk/
    proj/
        dir1/
            file1
        dir2/
            file2
    make/
        WinCE/
            dir1/
                makefile
                sources
            dir2/
                makefile
                sources
            dirs
        Linux/
            dir1/
                makefile
            dir2/
                makefile

Is there any way I can set up a path which automatically merges (e.g.)
proj/* and WinCE/*, without having to do any explicit merging of changes
from either proj or make. E.g. so I can check out trunk/proj_WinCE and
get

proj_WinCE/
        dir1/
                file1
                makefile [from WinCE]
                sources
        dir2
                file2
                makefile [from WinCE]
                sources
        dirs

and I can check out trunk/proj_Linux and get:

proj_Linux/
        dir1/
                file1
                makefile [from Linux]
        dir2
                file2
                makefile [from Linux]

Thanks,

Ian Brockbank C.Eng. MBCS
Applications Software Engineer
  

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 Feb 11 17:53:52 2004

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

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