Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Custom Java cannot be accessed from Dataset queries
Custom Java cannot be accessed from Dataset queries [message #1745092] Wed, 05 October 2016 04:03
tsoft tsoft is currently offline tsoft tsoftFriend
Messages: 1
Registered: October 2016
Junior Member
Hi,

I'm using a Java method that I wrote to set a BIRT variable.
I wrote the class, packed it in a JAR, added it to the project's Classpath and it works fine.

However, when I'm using the variable as the default value for a query parameter in a dataset (vars["myVariable"]) it does not work. The variable value is evaluated to null.
For other variables (which do not involve custom Java classes) it also works fine, but it seems that the Classpath JAR is ignored in this specific case when the code is in a dataset query script.

I'm using BIRT Designer 4.5.0.v201506092134.
Any help or idea will be appreciated.

Thanks!
Previous Topic:Dynamic PDF output name
Next Topic:How to show same activity in the same row(line) in Gantt Chart?
Goto Forum:
  


Current Time: Sat Apr 27 02:48:30 GMT 2024

Powered by FUDForum. Page generated in 0.02428 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top