ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Martin <patrick.mar...@sungard.com>
Subject RE: Changelog task
Date Wed, 10 Dec 2003 16:18:58 GMT
There is a bug ID concerning this in Bugzilla
http://issues.apache.org/bugzilla/show_bug.cgi?id=13510
<http://issues.apache.org/bugzilla/show_bug.cgi?id=13510> 

>  -----Original Message-----
> From: 	Antoine Levy-Lambert <antoine@antbuild.com>@SUNGARD  
> Sent:	mardi 9 décembre 2003 23:44
> To:	Ant Users List
> Subject:	AW: Changelog task
> 
> Hi Andrew,
> 
> I have just had a quick look at the source code for this task.
> If you download the ant source code, and make a slight change in
> ChangeLogTask.java,
> method     private CVSEntry[] filterEntrySet(final CVSEntry[] entrySet)
> you should be able to get what you need.
> Also you would need to an attribute branch to the task.
> just add a method void setBranch(String branch) and set an instance
> variable
> there
> that your filterEntrySet will grab.
> Then in your xml, do <cvslog branch="mybranch" ... />
> Alternatively you can create your own task by subclassing ChangeLog and
> rewriting the execute method.
> 
> For me this would be easier than scripting, because I am not sure whether
> the intermediate xml output format generated by ant
> is easy to script ...
> 
> Cheers,
> 
> Antoine
> 
> -----Ursprungliche Nachricht-----
> Von: Andrew Chandler [mailto:andy@riftware.com <mailto:andy@riftware.com>
> ]
> Gesendet: Dienstag, 9. Dezember 2003 19:56
> An: user@ant.apache.org
> Betreff: Changelog task
> 
> 
> Does anyone know how to generate a changelog for only a specific branch?
> I'm using the changelog task currently along with the xml transform the
> ANT
> team provides to generate HTML - the problem is that I'm seeing revisions
> on
> a file from different branches other than the one I'm building in the
> report.    As an alternative it wouldn't be the end of the world to exec
> cvs
> to do the job if I can give it the correct options to still allow the html
> converter to work.   I'm running Ant 1.6 beta on Windows under jdk 1.4.2
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 
> 
> 
Confidentiality Notice: The information contained in this e-mail message is
intended only for the personal and confidential use of the recipient(s)
named above. If the reader of this message is not the intended recipient or
an agent responsible for delivering it to the intended recipient, you are
hereby notified that you have received this document in error and that any
review, dissemination, distribution, or copying of this message is strictly
prohibited. If you have received this communication in error, please notify
us immediately by e-mail, and delete the original message. 

Message confidentiel : Les informations contenues dans ce message sont
destinées à un usage personnel et confidentiel du destinataire indiqué
ci-dessus. Si le lecteur de ce message n'est pas le destinataire prévu, ou
n'est pas une personne en charge de le délivrer au destinataire voulu, vous
êtes par la présente informé que vous avez reçu ce document par erreur, et
que tout examen, transmission, distribution ou copie de ce message est
totalement interdit. Si vous avez reçu cette communication par erreur, nous
vous remercions de bien vouloir nous avertir immédiatement par e-mail et de
détruire le message d'origine.


Mime
View raw message