Could we think of the Team Project File as a Repository? Using
the content-type to decide how to process it once retrieved from CVS. It
seems like there may be a general requirement to pull something from SCM
(source code management) system and then delegate processing of the file to
something else other than a view. The Mapper object could be used to map
repositories with content-type=…/workbenchTeamProjectContent to class
that processes the Team Project Set. Would this be a resource processor
extension point? or would it be more like a builder?
repository-descriptor example below:
<repository-descriptor name="CVS.org.eclipse.corona.TeamProject"
uri="org.eclipse.corona/CoronaTeamProject"
content-type="http://www.eclipse.org/corona/contentTypes/workbenchTeamProjectContent">
<description>Attempt to model Eclipse
Team Project File as a repository</description>
<repository-configurations
default-configuration-name="CoronaTeamProjectRepositoryConfiguration"
>
<repository-configuration name=" CoronaTeamProjectRepositoryConfiguration
">
<repository-connection-parameters
access-type="http://www.eclipse.org/corona/accessTypes/cvs">
<repository-connection-parameter name="Method"
value="pserver" />
<repository-connection-parameter name="Host"
value="206.191.52.50" />
<repository-connection-parameter name="User" value="
anonymous" />
<repository-connection-parameter name="RepositoryPath"
value="/home/technology" />
<repository-connection-parameter name="Module"
value="org.eclipse.corona" />
<resource-subset
selection-criteria="HEAD" type="CVS-TAG"/>
</repository-connection-parameters>
</repository-configuration>
</repository-configurations>
</repository-descriptor>
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.