tag:blogger.com,1999:blog-3691419744299351480.post3154377836991908670..comments2023-07-24T14:40:27.188+01:00Comments on eclipser-blog: Automatic generation of BIRT reportsKrzysztof (Chris) Danielhttp://www.blogger.com/profile/02643339658259354232noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-3691419744299351480.post-34665903307850765282010-11-08T12:48:43.490+01:002010-11-08T12:48:43.490+01:00Hi
Is there any option to make the design on the...Hi<br /> Is there any option to make the design on the jsp page for the report.That is i need to design a report on a web page while the application is running. I'm using BIRT. Kindly do the needfulமணிமாறன் பானுமதி சுப்பிரமணியன்https://www.blogger.com/profile/10746437535649486664noreply@blogger.comtag:blogger.com,1999:blog-3691419744299351480.post-25574318458987435432010-03-05T07:13:41.877+01:002010-03-05T07:13:41.877+01:00Will you please tell me how to pass multiple value...Will you please tell me how to pass multiple values from listbox as report parameter for "Automatic generation of BIRT reports".I am fetching data from databse and using mysql.BrainAtJavahttps://www.blogger.com/profile/17599736186514600300noreply@blogger.comtag:blogger.com,1999:blog-3691419744299351480.post-85481362639088764452010-02-17T07:45:11.114+01:002010-02-17T07:45:11.114+01:00I want to generate BIRT Report on UML Model throug...I want to generate BIRT Report on UML Model through command line.<br /><br />Command i am writing is:<br />genReport.bat -p "dataSource=D:\ArchitectureModel.<br />emx" -f PDF -o report.pdf ComprehensiveMetricReport.rptdesign<br /><br />Result: A Report with no data gets generated.<br /><br />Kindly suggest how I can rectify problem.<br /><br />Thanks.Invincible2012https://www.blogger.com/profile/10501477722059721461noreply@blogger.comtag:blogger.com,1999:blog-3691419744299351480.post-22615416993589199232009-08-06T14:06:27.878+01:002009-08-06T14:06:27.878+01:00syntax for command line has changed:
genReport.bat...syntax for command line has changed:<br />genReport.bat --format HTML l.rptdesignRadimhttps://www.blogger.com/profile/10547407078868915648noreply@blogger.comtag:blogger.com,1999:blog-3691419744299351480.post-39711960502231883322009-03-08T16:20:00.000+01:002009-03-08T16:20:00.000+01:00nice, but i have problem to make some raport can s...nice, but i have problem to make some raport can sent me how can i do it ? when i write gerReport.bat.... only show me rules about make raport. i ca give u mine mail and u sent me in polish language how can i do it?7akubhttps://www.blogger.com/profile/16498203979905569335noreply@blogger.comtag:blogger.com,1999:blog-3691419744299351480.post-16566154476088023542008-10-29T16:45:00.000+01:002008-10-29T16:45:00.000+01:00Well done, azique ;-) Running for me !Thanks,MarcWell done, azique ;-) Running for me !<BR/><BR/>Thanks,<BR/>MarcmarcSmcihttps://www.blogger.com/profile/11657783858099452381noreply@blogger.comtag:blogger.com,1999:blog-3691419744299351480.post-11091497922539499532008-10-24T11:01:00.000+01:002008-10-24T11:01:00.000+01:00Hi Marc,I found out that using parameters for the ...Hi Marc,<BR/><BR/>I found out that using parameters for the data source does the same with less effort! So you don't need to alter the ReportRunner class but can change your report design data source to bind to a parameter which you start the ReportRunner with:<BR/><BR/>genReport -p "dataSource=D:\data\source.xml" -f PDF -o report.pdf design.rptDesignaziquehttps://www.blogger.com/profile/11637401707289900362noreply@blogger.comtag:blogger.com,1999:blog-3691419744299351480.post-29581898838816376352008-10-24T10:22:00.000+01:002008-10-24T10:22:00.000+01:00azique, can You post the source code You have modi...azique, can You post the source code You have modified, pls ? This will be a great help for me !<BR/><BR/>Thanks,<BR/>MarcmarcSmcihttps://www.blogger.com/profile/11657783858099452381noreply@blogger.comtag:blogger.com,1999:blog-3691419744299351480.post-79148519955370504912008-08-26T10:04:00.000+01:002008-08-26T10:04:00.000+01:00thuy, sure:First you have to get the source code o...thuy, sure:<BR/><BR/>First you have to get the source code of the birt report engine (http://download.eclipse.org/birt/downloads/ go to recent builds page or full download page, and there find "source code")<BR/><BR/>The next step is, to find the org.eclipse.birt.report.engine.api.ReportRunner class. I copied it and put the *.java-file in the folder of genReport.bat which is going to start it. <BR/><BR/>Now you can find the parseRunAndRenderOptions() method and add another if construct for your new option 's'. <BR/><BR/>Next step is, to actually tell the report to use this xml source file path: find the runAndRenderReport() method<BR/><BR/>IReportRunnable runnable = engine.openReportDesign(designPath);<BR/><BR/>ReportDesignHandle reportDesign = (ReportDesignHandle) runnable.getDesignHandle();<BR/><BR/>SlotHandle dataSourceSlotHandle = reportDesign.getDataSources();<BR/><BR/>OdaDataSourceHandle dataSource = null;<BR/>// set the path to the xml source file<BR/>dataSource = (OdaDataSourceHandle) (dataSourceSlotHandle.get(0));<BR/>dataSource.setProperty("FILELIST", sourcePath );<BR/><BR/>Also change the printUsage() method so it tells the user about the new options.<BR/><BR/>The last step is, to use this modified class in the genReport.bat:<BR/><BR/>%JAVACMD% -cp "%BIRTCLASSPATH%" -DBIRT_HOME="%BIRT_HOME%\ReportEngine" ModifiedReportRunner %p1% %p2% %p3% %p4% %p5% %p6% %p7% %p8% %p9% %p10% %p11% %p12% %p13% %p14% %p15% %p16% %p17% %p18% %p19%aziquehttps://www.blogger.com/profile/11637401707289900362noreply@blogger.comtag:blogger.com,1999:blog-3691419744299351480.post-88911694932091843272008-08-25T18:09:00.000+01:002008-08-25T18:09:00.000+01:00Hi, do you know how can I generate the output to a...Hi, do you know how can I generate the output to an xml file? I only find that the report engine via command line can generate HTML and PDF.<BR/>Thanks in advanced,<BR/>AletzAnonymoushttps://www.blogger.com/profile/00192382473127978181noreply@blogger.comtag:blogger.com,1999:blog-3691419744299351480.post-59710005147668634032008-08-20T20:43:00.000+01:002008-08-20T20:43:00.000+01:00virgil, thank you for sharing tips!azique, I've be...virgil, thank you for sharing tips!<BR/><BR/>azique, I've been trying to do the same thing with the XML source documents passed in. could you provide more info on how to extends and set -s to take the path of the xml file pls?!?<BR/><BR/>Thank you!Unknownhttps://www.blogger.com/profile/04595879447642997479noreply@blogger.comtag:blogger.com,1999:blog-3691419744299351480.post-1836492404853319532008-05-01T09:35:00.000+01:002008-05-01T09:35:00.000+01:00As I'm using XML source documents for my reports I...As I'm using XML source documents for my reports I had to extend the existing ReportRunner class (found the source code in the BIRT packages online) so I can give the path of this source file as a parameter. And as our customers don't know (or don't want to know) how to set environment variables, I also extended the ReportRunner class so it accepts a parameter for the runtime home path (BIRT_HOME). So now I have two more paraneters -h for birt home and -s for the source to use.<BR/>My command now would be<BR/>genReprt -h "./ReportEngine" -s source.xml -f PDF -o report.pdf design.rptDesignaziquehttps://www.blogger.com/profile/11637401707289900362noreply@blogger.comtag:blogger.com,1999:blog-3691419744299351480.post-13320578114710190812008-02-08T21:08:00.000+01:002008-02-08T21:08:00.000+01:00Thanks Chris for sharing this tip... I added a po...Thanks Chris for sharing this tip... I added a pointer to this page from <A HREF="http://www.birt-exchange.com" REL="nofollow">BIRT Exchange</A><BR/><BR/>VirgilVirgilhttps://www.blogger.com/profile/11015604339830681131noreply@blogger.com