Issue Details (XML | Word | Printable)

Key: MPCHANGELOG-53
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Kenneth Leider
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Changelog Plugin

Snippet that adds CVS Monitor support

Created: 25/Jan/05 01:37 PM   Updated: 03/Jun/05 11:31 PM   Resolved: 03/Jun/05 11:31 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 1.8.1

Time Tracking:
Not Specified


 Description  « Hide

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>



Brett Porter made changes - 18/May/05 02:40 AM
Field Original Value New Value
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('^.*(&amp;module=.*?(?:&amp;|$)).*$','$1')}"/>
<a href="${repository}?cmd=viewBrowseFile${module}&amp;file=${name}">${name}</a>

<a href="${repository}?cmd=viewBrowseVersion${module}&amp;file=${name}&amp;version=${revision}">v${revision}</a>
</j:when>
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('^.*(&amp;module=.*?(?:&amp;|$)).*$','$1')}"/>
<a href="${repository}?cmd=viewBrowseFile${module}&amp;file=${name}">${name}</a>

<a href="${repository}?cmd=viewBrowseVersion${module}&amp;file=${name}&amp;version=${revision}">v${revision}</a>
</j:when>
Environment
Fix Version/s 1.8 [ 11440 ]
Brett Porter made changes - 03/Jun/05 11:31 PM
Status Open [ 1 ] Closed [ 6 ]
Resolution Fixed [ 1 ]