File Groups
Return to Introduction  Previous page  Next page
A file group is a set of files that have the same name, but different extensions, and can be thought of as a logical entity. An example of this would be the Delphi pas/dfm pair: the source unit will not compile without the form unit being present, and vice versa. In this situation, it makes sense to treat the two files as a single entity rather than have to remember that the link exists.

By default, Team Coherence configures standard file groups for Delphi and C++Builder. If you are an Admin user, you can add or remove groups or change the definition of existing groups by selecting Tools / File Groups... from the main menu:

filegroups  

The Header button allows you to define a header to be added to the top of any files defined in the File Groups listed.

To modify a file group, select it and click the Modify... button. To add a new grouping, click the New... button:

filegroupprops  

The File Group editor allows you to specify a name for the group and the extensions that group contains:

Name – This is the name of the group and will be used when displaying the file in Version Manager.

Include Extensions – These are the extensions of the files to include in the grouping. The first extension will be the primary extension and the rest should be added, separated by semicolons with no spaces.

Expand keywords in files with the following extensions – List the extensions where you will allow keyword expansion. If you have defined a Header in the File Groups dialog, the header will be added to files with these extensions. Also, when checking in files, Team Coherence will search for keywords in these files and expand them with the relevant details.

Open Comment, Close Comment – Enter the comment characters that Team Coherence can use when embedding text in your files.

notes Note: If you are using a development tool that doesn't support block comments (for example Visual Basic), leave the Close Comment field blank.  

 


© 1995-2018 MCN Software