On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.

Comments in the Report Designer (XMl source tab)

crowt999
crowt999 Junior Member
Hello all,

If you look at the top of the XML generated by the report writer GUI, there are comment lines there that look like:

<?xml version="1.0" encoding="UTF-8"?>
<!-- Written by Eclipse BIRT 2.0 -->

We are using a CVS repository, and always have to paste in our comment blank at the top of the XML directly before we check in the file, something like this:

<?xml version="1.0" encoding="UTF-8"?>
<!-- Written by Eclipse BIRT 2.0 -->
<!--
=============================
Last edited by: $Author: $
on: $Date: $
Filename: $RCSfile: $
Revision: $Revision: $
=============================
-->
<!-- Written by Eclipse BIRT 2.0 -->


Now every time you change something on the report, the comment reverts back to the first one, and we have to paste in the CVS header all over again.

This is somewhat annoying (especially when you forget to put it in!), so does anyone know of anyway to change the heading permanently?

Thanks for any help
Dean

Comments

  • rmurphy
    edited 1969 31 #2
    Dean,
    You can set a template comment by in Windows --> Preferences --> Report Design --> Comment Template

    It will show up in the XML Source like:

    <?xml version="1.0" encoding="UTF-8"?>
    <report xmlns="http://www.eclipse.org/birt/2005/design&quot; version="3.2.15" id="1">
    <property name="units">in</property>
    <property name="comments">=============================
    Last edited by: $Author: $
    on: $Date: $
    Filename: $RCSfile: $
    Revision: $Revision: $
    =============================</property>


    Rob
  • crowt999
    crowt999 Junior Member
    edited 1969 31 #3
    Rob,

    Thanks for the tip. I put the comments in here, and CVS and our internal code release system picked it up & it works great...

    Thanks!
    Dean