Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPCHANGELOG-26 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPCHANGELOG-26 Summary: Patch for specific cvs branch in changelog report Type: New Feature Status: Unassigned Priority: Minor Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-changelog-plugin Versions: 1.3 Assignee: Reporter: Jake Ewerdt Created: Fri, 23 Jan 2004 12:43 PM Updated: Fri, 23 Jan 2004 12:43 PM Environment: java version "1.3.1_10" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_10-b03) Java HotSpot(TM) Client VM (build 1.3.1_10-b03, mixed mode) Maven 1.0-rc1-SNAPSHOT Description: Makes the changelog report get the cvs logs for a specific branch of the module instead of the HEAD branch by declaring the maven.changelog.branch property. Index: plugin.jelly =================================================================== RCS file: /home/cvspublic/maven/src/plugins-build/changelog/Attic/plugin.jelly,v retrieving revision 1.9 diff -r1.9 plugin.jelly 62a63 > branch="${maven.changelog.branch}" Index: src/main/org/apache/maven/changelog/AbstractChangeLogGenerator.java =================================================================== RCS file: /home/cvspublic/maven/src/plugins-build/changelog/src/main/org/apache/maven/changelog/Attic/AbstractChangeLogGenerator.java,v retrieving revision 1.4 diff -r1.4 AbstractChangeLogGenerator.java 112a113,115 > /** The branch to log */ > private String branch; > 157a161 > setBranch(changeLogExecutor.getBranch()); 333a338,355 > } > > /** > * Return the branch > * @return String > */ > public String getBranch() > { > return branch; > } > > /** > * Set the branch > * @param branch The branch to use > */ > public void setBranch(String branch) > { > this.branch = branch; Index: src/main/org/apache/maven/changelog/ChangeLog.java =================================================================== RCS file: /home/cvspublic/maven/src/plugins-build/changelog/src/main/org/apache/maven/changelog/Attic/ChangeLog.java,v retrieving revision 1.4 diff -r1.4 ChangeLog.java 117a118,120 > > /** the branch to get the logs from */ > private String branch; 237c240,259 < --- > > /** > * Return the branch > * @return branch string > */ > public String getBranch() > { > return branch; > } > > /** > * Change the branch > * @param aString a string containing the branch to log (default HEAD) > */ > public void setBranch(String aString) > { > branch = aString; > } > > Index: src/main/org/apache/maven/cvslib/CvsChangeLogGenerator.java =================================================================== RCS file: /home/cvspublic/maven/src/plugins-build/changelog/src/main/org/apache/maven/cvslib/Attic/CvsChangeLogGenerator.java,v retrieving revision 1.6 diff -r1.6 CvsChangeLogGenerator.java 106a107 > String branch = getBranch(); 151a153,157 > } > > if (branch != null) > { > command.createArgument().setValue("-r" + branch); --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
