How to use tJasperOutput

Hi!

Can anyone write a short description, how to use tJasperOutput component in JasperETL?

I want to make reports with JasperETL, but now I don't know how.

 

Thanks!

Robert

trobert's picture
Joined: Apr 26 2010 - 2:52am
Last seen: 13 years 1 month ago

4 Answers:

Hi Robert,

 

If it's still relevant:

Goal of this component is to use a Jasper xml file (jrxml) to produce report.
tJasperOutput receives data from another (any input) component.

In general, it fills a temp csv file with the data from the input rows.

In the end it launch the csv + JRXML transformation => pdf xls or whatever output depending on the JRXML.

Parameters are:
- the tmp file path (directory field)
- the jrxml file (file field)
- the schema from the input

 

Also, keep in mind .jrxml compatibility with different version of jasperreports library: Jasper xml files created with latest releases can cause issues when trying to launch with older versions of JasperETL. This compatibility is well tracked on the Talendforge:

http://www.talendforge.org/exchange/tos/extension_view.php?eid=159

 

HTH

 

Stas

stasp's picture
40016
Joined: Jun 3 2009 - 9:53am
Last seen: 1 month 5 days ago

Thanks for the info.

 

I am getting the intermidiate csv file created with data  but the report file is not having the data init.

 

Kindly help.

 

Thanks,

Chandra

chandraprabha's picture
Joined: Jun 23 2010 - 12:15pm
Last seen: 12 years 11 months ago
I got it working :)
chandraprabha's picture
Joined: Jun 23 2010 - 12:15pm
Last seen: 12 years 11 months ago

 Could someone help me, I get the csv file but I have the message:

"Exception in component tJasperOutput_1

java.io.FileNotFoundException: C:\\JasperETL\\workspace\\test.jrxml (The system cannot find the file specified)

at java.io.FileInputStream.open(Native Method)

at java.io.FileInputStream.<init>(Unknown Source)

at java.io.FileInputStream.<init>(Unknown Source)

at test_jasper.test_0_1.test.tMSSqlInput_4Process(test.java:2770)

at test_jasper.test_0_1.test.runJobInTOS(test.java:6000)

at test_jasper.test_0_1.test.main(test.java:5895)"

 

I don't know how to use the component exactly so maybe I do something wrong.

Thank you for you're help.

davidz's picture
1
Joined: Jul 15 2010 - 4:54am
Last seen: 12 years 10 months ago
Feedback