blob: dc9b520d3ee77cad779bb442db4dc6960686c5ee [file] [log] [blame]
<!doctype html public "-//w3c//dtd html 4.0//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Eclipse Team Core Extension Point: Repository</title>
</head>
<body link="#0000FF" vlink="#800080">
<center>
<h1>Repository</h1></center>
<b><i>Identifier: </i></b>org.eclipse.team.core.repository
<p><b><i>Description: </i></b>This extension point is used to register
a repository provider. A repository provider provides sychronization
of the contents of projects in the local workspace to a corresponding
entity in a remote repository of a particular type (e.g. CVS, Clearcase, PVCS, etc.).
<p>Providers may provide an extension for this extension point.
<p><b><i>Configuration Markup:</i></b>
<p><tt>&nbsp;&nbsp; &lt;!ELEMENT repository EMPTY></tt>
<br><tt>&nbsp;&nbsp; &lt;!ATTLIST repository</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
CDATA #REQUIRED</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
CDATA #REQUIRED</tt>
<br><tt>&nbsp;&nbsp; ></tt>
<ul>
<li><b>id -</b> the id of the provider.</li>
<li><b>class -</b> the fully-qualified name of a class extending <code>org.eclipse.team.core.RepositoryProvider</code>.</li>
</ul>
<b><i>Examples:</i></b>
<p>Following is an example of a repository extension:
<p><tt>&nbsp;&nbsp; &lt;extension point="org.eclipse.team.core.repository"></tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;repository</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id="org.eclipse.team.cvs.core.cvsprovider"</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class="org.eclipse.team.internal.ccvs.core.CVSTeamProvider"></tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/repository></tt>
<br><tt>&nbsp;&nbsp; &lt;/extension></tt>
<p><b><i>Supplied Implementation: </i></b>The plug-in org.eclipse.team.examples.filesystem contains a
sample implementation of RepositoryProvider for a filesystem based repository provider.
<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corp. 2000, 2002. All Rights Reserved." BORDER=0></a>
</body>
</html>