blob: 67f75df5bd1815ecfa28525bab4857f874af6370 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
<HEAD>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
<title>Team File Content</title>
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1 CLASS="Head"> Team File Content</H1>
<P CLASS="Intro"> On the Team&gt;File Content preference page, you can associate
file names or extensions with the type of data the file contains. The two choices
for file content type are ASCII and Binary. Repository providers such as CVS
can then use this information to provide content type appropriate behavior.
For example, for ASCII files, CVS ensures that line terminators conform to those
of the OS platform.</p>
<P CLASS="Intro">Entries are added to the File Content page in two ways. The first
is through contributions from workbench plug-ins. Tools integrated into the
workbench provide the workbench with the file content types for file extensions
specific to the tool. The workbench itself also defines the file content type
for file extensions that are common and appear frequently in the workbench (e.g.
html,.png, etc.).</p>
<P CLASS="Intro">The second method is for users to add file content types explicitly
on the File Content preference page. To do so, the user can simply click on
the <strong>Add Extension</strong> button and enter an extension or click on
the <strong>Add Name</strong> button and add a name.. Following this, they can
toggle the type associated with the name or extension by selecting the entry
for the extension in the table and clicking <strong>Change</strong>. Entries
can be removed from the list by selecting them and clicking <strong>Remove</strong>.
Only those entries that were manually added can be removed. Entries contributed
through the plug-in manifest can only be changed.</p>
<P CLASS="Intro">Here is what the Team File Content preference pages looks like:</p>
<P CLASS="Intro"><img src="../images/team-file-content.png"></p>
<p>
<img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br>
<a href="../tasks/tasks-cvs-11.htm">Setting the CVS keyword substitution mode</a>
</p>
</BODY>
</HTML>