Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Scripted data source issues.
AndrewJG
I am trying to use BIRT for the first time. I am using BIRT version 2.3.1v20080908 within Eclipse Ganymede v3.4.2.
I want to create/run reports that are driven by an 'Object' data source - which I understand needs to be done using a 'Scripted' data source within BIRT - where the script instances and uses the relevant java object.
At the moment I am not able to get the basic example to work (Note my class name isnt the same as the 'SimpleClass' example in the docs). Part of the error trace says:
[JavaPackage RCRT.AttendanceReportDataSource] is not a function, it is org.mozilla.javascript.NativeJavaPackage.
I have tried putting the class file in the appropriate place under <birt>/WEB-INF, and 'jared' under <birt>/scriptlib - neither seems to work.
I have seen a previous thread about this (or similar) which says that there is a bug which hadn't been fixed at the time. Is what I am seeing the same problem ? - or has it been fixed yet ?
Also - is this only a problem within the IDE 'previewer', or would I get the same error running a 'real' report through the API ? (which I haven't found out how to do yet). What (if any) is the right way to fix this, or work around it ?
Thank you,
Andrew.
Find more posts tagged with
Comments
mwilliams
Hi Andrew,
So, you're having this issue in the designer?