Home
Analytics
Versioning BIRT reports
mstaniloiu
I have an application which uses BIRT to generate reports using rptdesign files. The problem is, it's difficult to keep track of which version of each rptdesign file is included in each release of the application (some customers have older versions, some have newer etc.). A way of keeping track of this (i.e. assigning a version number to each rptdesign file) would come in handy, but so far my search for the topic on the web turned out empty.
Do you have any advice on how I can do such a thing?
Find more posts tagged with
Comments
mcremer
<blockquote class='ipsBlockquote' data-author="'mstaniloiu'" data-cid="81082" data-time="1312441948" data-date="04 August 2011 - 12:12 AM"><p>
I have an application which uses BIRT to generate reports using rptdesign files. The problem is, it's difficult to keep track of which version of each rptdesign file is included in each release of the application (some customers have older versions, some have newer etc.). A way of keeping track of this (i.e. assigning a version number to each rptdesign file) would come in handy, but so far my search for the topic on the web turned out empty.<br />
Do you have any advice on how I can do such a thing?<br /></p></blockquote>
<br />
I sugest putting the rptdesing in your versioning system (SVN,GIT) and just keep track of it all trough your branches.
mstaniloiu
<blockquote class='ipsBlockquote' data-author="'mcremer'" data-cid="81083" data-time="1312442233" data-date="04 August 2011 - 12:17 AM"><p>
I sugest putting the rptdesing in your versioning system (SVN,GIT) and just keep track of it all trough your branches.<br /></p></blockquote>
<br />
I am already doing this, and it works during development. But when working with the (already installed) application I don't have access to the SVN repository, and even if I did, comparing the rptdesign to the one in the repository to find the version is a lot of extra work I would like to avoid.
mcremer
<blockquote class='ipsBlockquote' data-author="'mstaniloiu'" data-cid="81084" data-time="1312444628" data-date="04 August 2011 - 12:57 AM"><p>
I am already doing this, and it works during development. But when working with the (already installed) application I don't have access to the SVN repository, and even if I did, comparing the rptdesign to the one in the repository to find the version is a lot of extra work I would like to avoid.<br /></p></blockquote>
<br />
You could add a svn or build information in the xml. THey alouwed a disiption option in a report so you could just put it in there when your building a version.
mstaniloiu
<blockquote class='ipsBlockquote' data-author="'mcremer'" data-cid="81086" data-time="1312452156" data-date="04 August 2011 - 03:02 AM"><p>
You could add a svn or build information in the xml. THey alouwed a disiption option in a report so you could just put it in there when your building a version.<br /></p></blockquote>
<br />
Can you please give me an example (or an article to read) on how to do that?
mcremer
<blockquote class='ipsBlockquote' data-author="'mstaniloiu'" data-cid="81087" data-time="1312456837" data-date="04 August 2011 - 04:20 AM"><p>
Can you please give me an example (or an article to read) on how to do that?<br /></p></blockquote>
<br />
Not realy an acaple. When you open a report you have the proerty editor (standart on Genreal) here you can fill in autor etc. You have a tab Description and Comments you could keep track of your versions byt putting info there. But then you need to find a automated way (eg antscript) to edit that info if you want to automate it.
mstaniloiu
I guess that's the most obvious way to do it. Thanks for the answer!