You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2003/12/17 22:34:20 UTC
cvs commit: maven-plugins/xdoc/src/plugin-resources/templates/scm cvs.xml notes.txt
jvanzyl 2003/12/17 13:34:20
Added: xdoc/src/plugin-resources/templates/scm cvs.xml notes.txt
Log:
o start allowing for other SCM products.
Revision Changes Path
1.1 maven-plugins/xdoc/src/plugin-resources/templates/scm/cvs.xml
Index: cvs.xml
===================================================================
<?xml version="1.0" encoding="$encoding" ?>
<document>
<properties>
<title>CVS</title>
</properties>
<body>
#set ($repository = $project.repository)
#if (!$repository)
<section name="Repository">
<p>
No SCM repository is defined.
</p>
</section>
#else
#set ($url = $escape.getText($repository.url))
#if ($repository.url && $repository.url != '')
<section name="Web Access">
<p>
<a href="$url">$url</a>
</p>
</section>
#end
#if ($repository.connection && $repository.connection != '')
#set ($connscm = $repository.getScmType())
#if ($connscm == 'cvs')
#set ($conn = $repository.getCvsRoot($repository.connection, ''))
#set ($module = $repository.getCvsModule($repository.connection))
<section name="Anonymous CVS Access">
<p>
This project's CVS repository can be checked out through anonymous (pserver)
CVS with the following instruction set.
When prompted for a password for anonymous, simply press the Enter key.
</p>
<p>
cvs -d $conn login
<br/>
cvs -z3 -d $conn co $module
</p>
<p>
Updates from within the module's directory do not need the -d parameter.
</p>
</section>
#end
#end
#if ($repository.developerConnection && $repository.developerConnection != '')
#set ($connscm = $repository.getScmType())
#if ($connscm == 'cvs')
#set ($conn = $repository.getCvsRoot($repository.developerConnection, 'username'))
#set ($module = $repository.getCvsModule($repository.developerConnection))
#set ($server = $repository.getCvsServer($repository.developerConnection))
<section name="Developer CVS Access via SSH">
<p>
Only project developers can access the CVS tree via this method.
SSH1 must be installed on your client machine. Substitute
<b>name</b> with the proper value. Enter your site password when prompted.
</p>
<p>
export CVS_RSH=ssh
<br/>
cvs -z3 -d $conn co $module
</p>
<p>
Remember to replace 'username' with your actual username on $server.
</p>
</section>
#end
#end
#if ($repository.url && $repository.url != '')
<section name="CVS Access behind a firewall">
<p>
For those developers who are stuck behind a corporate
firewall, <a href="http://cvsgrab.sourceforge.net/">CVSGrab</a>
can use the viewcvs web interface to checkout the source code.
</p>
</section>
#end
#end
</body>
</document>
1.1 maven-plugins/xdoc/src/plugin-resources/templates/scm/notes.txt
Index: notes.txt
===================================================================
o we templates and instructions for each of the SCM products, we probably
should also keep in mind instructions in different languages.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org