Hitachi Vantara Pentaho Community Forums
Results 1 to 8 of 8

Thread: BIRT report using a BIRT library

  1. #1
    Join Date
    Jul 2006
    Posts
    21

    Default BIRT report using a BIRT library

    Hello,

    Having create a BIRT report using a .rptlibrary defining CSS styles by linking to a .css file, this report works well in the BIRT designer: my report uses a CSS style coming from the library.
    So I have 3 files: .rptdesign, .rptlibrary and .css.
    The .rptlibrary file is a BIRT library that can be shared between several BIRT report, and can contain CSS styles for example.

    But when I try to deploy this report in a Pentaho solutions using an action (the file .xaction references the .rptdesign that is in the same folder, and also the other files .rptlibrary and .css), the report is well displayed, but I see that the report does not use the CSS style.
    It seems that the BIRT engine can't "see" the .rptlibrary file and then the .css file.

    Is there a special place to put these files?

    Thank you for any help.

    Cheers.

    Bertrand.

  2. #2
    Join Date
    Jul 2006
    Posts
    21

    Default The BIRT's resource path

    Someone gave a solution here:
    http://forums.pentaho.org/archive/in...p/t-55727.html

    It is also said that a JIRA issue should be raised, but I don't see it.

    The BIRT's resource path is not set in the lastest BirtSystemListener.java source code that initializes the BIRT engine (at the time of this post).

    The possibility to use BIRT libraries and other resources is necessary I think, so I can create an issue on JIRA.

    Bertrand.

  3. #3
    Join Date
    Jul 2006
    Posts
    21

    Default Defining a resources path for the BIRT engine

    I can confirm that the modification of the Pentaho's org.pentaho.plugin.eclipsebirt.BirtSystemListener.java source code works: in this source you define a resource path for the BIRT engine that can be:

    system\BIRT\resources.

    I think it is important because you can place files like .rptlibrary or .css that can be shared between you BIRT reports.

    I'm going to create a JIRA issue.

    Cheers,

    Bertrand.

  4. #4
    Join Date
    Jul 2006
    Posts
    21

    Default JIRA issue and source code

    Hi,
    I added the JIRA issue with the source code corrected.
    Here the link:
    http://jira.pentaho.org/browse/BISERVER-481

    Cheers.

  5. #5
    Join Date
    Jun 2006
    Posts
    282

    Arrow

    Have you tried 1.6+ pentaho-solutions/system/BIRT/workspace? Maybe I'm wrong but I think that is used for BIRT resources now.
    "If you want to increase your success rate, double your failure rate."
    Thomas Watson, Sr (former president of IBM)

  6. #6
    Join Date
    Jul 2006
    Posts
    21

    Default The workspace folder

    I've tried this and it doesn't work (I use the 1.6.0-RC2.820 version).

    Cheers,

    Bertrand.

  7. #7
    dmoran Guest

    Default

    All -

    I implemented BISERVER-481 along with some changes submitted by Bart Maertens. I also upgraded to BIRT 2.2.1. I added the hello_world.rptdesign from the BIRT samples to the test solution. The BIRT-hello_world.xaction worked but the other samples that go against sample data do not. I get an Authentication Error from JDBC. It may be the old report spec or maybe how the data source is set up. I don't know much about BIRT so if someone from the community can have a look at it, that would be great.

    You can get the nightly build of the PCI that has the new version from:
    ftp://anonymous@community.pentaho.or...7.0/build_923/

    Thanks,
    Doug

  8. #8
    dmoran Guest

    Default

    bamaer gave me the fixes for the BIRT reports - they are all checked in now

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.