Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
I'm setting up a CVS system for use in a software development project. This may be a general cvs rather than cvsnt question, but here goes. I'd like to set up a module definition so I can do a single check-out to get the three parts of the project I need. Each project has three parts. 1. Source files. 2. Include files. 3. Executable (output file(s)). Lets say the repository is in CvsRepo. I'd like to set up a single module to check out all three parts (call it MyProject_develop). The source files (in one directory, call it CvsRepo/Source/MyProject) are applicable just to one project. The Include files (in another directory, call it CvsRepo/Source/Include) are applicable to several related projects. The executable is one file (in another directory, call it CvsRepo/Binary, ie CvsRepo/Binary/MyProject.exe). It is produced by building the project in the appropriate manner (Visual Studio). It is needed as it will be issued to another part of the team who need to be able to use it without being able to rebuild it themselves. I'd like to set up the modules (and/or modules2) so I can check out all three parts in a single check-out. Ie. I want to say 'cvs checkout MyProject_develop' to 'Develop', and have it : 1. Get CvsRepo/Source/MyProject as Develop/MyProject, 2. Get CvsRepo/Source/Include as Develop/Include, 3. Get CvsRepo/Binary/MyProject.exe as Develop/Binary/MyProject.exe. Cheking out a different project, set up in a similar way, would get a different source directory, the same include directory, and put a different binary file into the same Binary directory. I've tried many different combinations of entries in 'modules' and 'modules2' and can't get it to give me this behaviour. Has anyone else managed to achieve this ? Are there any good explanations of modules and modules2 available that I should consult ? (http://www.cvsnt.org/manual/modules2.html is not very clear about the scope of modules2 or the exact meaning of / or =.) Is there a way of using multiple -a and -d options ? (It would seem that I could use -a to let a module name refer to a different directory or file within the repository, and -d to put the result into a directory with a name different to the module name, but multiple -a options won't co-exist with different -d options.) Appreciatively, Richard. Richard Kerry Colledia Control Engineer Siemens Business Services Media (formerly BBC Technology) Room 457 Design Building, Television Centre Tel: +44 (0)20 8225 9063 Fax: +44 (0)208 576 8182 Mobile: +44 (0)7973 817745 Email: richard.kerry at bbc.co.uk <www.bbctechnology.com> <www.siemens.co.uk/sbs> This e-mail (and any attachments) contains confidential information and is for the exclusive use of the addressee/s. Any views contained in this e-mail are not the views of Siemens Business Services Ltd unless specifically stated. If you are not the addressee, then any distribution, copying or use of this e-mail is prohibited. If received in error, please advise the sender and delete/destroy it immediately. We accept no liability for any loss or damage suffered by any person arising from use of this e-mail/fax. Please note that Siemens Business Services Ltd monitors e-mails sent or received. Further communication will signify your consent to this. Siemens Business Services Ltd Registered No: 04128934 England Registered Office: Siemens House, Oldbury, Bracknell, Berkshire, RG12 8FZ http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.