You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/05/18 09:41:35 UTC
[jira] Updated: (MPCHANGELOG-53) Snippet that adds CVS Monitor support
[ http://jira.codehaus.org/browse/MPCHANGELOG-53?page=all ]
Brett Porter updated MPCHANGELOG-53:
------------------------------------
Fix Version: 1.8
Environment:
Description:
Place this snippet in the section of changelog.jsl after you check if the repository connection starts with "scm:perforce", and you will generate links to cvsmonitor web sites.
===========================
<j:when test="${repository.indexOf('cvsmonitor.pl') > 0}">
<j:set var="module" value="${oneRepoParam.replaceAll('^.*(&module=.*?(?:&|$)).*$','$1')}"/>
<a href="${repository}?cmd=viewBrowseFile${module}&file=${name}">${name}</a>
<a href="${repository}?cmd=viewBrowseVersion${module}&file=${name}&version=${revision}">v${revision}</a>
</j:when>
was:
Place this snippet in the section of changelog.jsl after you check if the repository connection starts with "scm:perforce", and you will generate links to cvsmonitor web sites.
===========================
<j:when test="${repository.indexOf('cvsmonitor.pl') > 0}">
<j:set var="module" value="${oneRepoParam.replaceAll('^.*(&module=.*?(?:&|$)).*$','$1')}"/>
<a href="${repository}?cmd=viewBrowseFile${module}&file=${name}">${name}</a>
<a href="${repository}?cmd=viewBrowseVersion${module}&file=${name}&version=${revision}">v${revision}</a>
</j:when>
> Snippet that adds CVS Monitor support
> -------------------------------------
>
> Key: MPCHANGELOG-53
> URL: http://jira.codehaus.org/browse/MPCHANGELOG-53
> Project: maven-changelog-plugin
> Type: Improvement
> Reporter: Kenneth Leider
> Fix For: 1.8
>
>
> Place this snippet in the section of changelog.jsl after you check if the repository connection starts with "scm:perforce", and you will generate links to cvsmonitor web sites.
> ===========================
> <j:when test="${repository.indexOf('cvsmonitor.pl') > 0}">
>
> <j:set var="module" value="${oneRepoParam.replaceAll('^.*(&module=.*?(?:&|$)).*$','$1')}"/>
> <a href="${repository}?cmd=viewBrowseFile${module}&file=${name}">${name}</a>
> <a href="${repository}?cmd=viewBrowseVersion${module}&file=${name}&version=${revision}">v${revision}</a>
> </j:when>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org