|Re: Importing .jar files into BIRT [message #803695 is a reply to message #803330]
||Tue, 21 February 2012 17:06
| Jason Weathersby
Registered: July 2009
Take a look at this:|
That post shows the preference to use in the designer. You can also
click on resources for the report and add a jar there, but the jar will
have to be available in the resource folder in the designer and deployed
If you added the jar to the designer classpath,
when you deploy the report to the viewer (3.7 or >) just put the jar in
On 2/21/2012 2:43 AM, andrew smith wrote:
> Hi, all:
> I hope this post finds you all well. What is the best way to include
> .jar files into BIRT project thus making its classes visible to the scipt?
> I have some logic contained in Java .jar files ie bunch of data
> processing classes that I would like to invoke through BIRT. They all
> work flawlessly in Java. I ran them in pure Java, Matlab, Netbeans, etc.
> I use the importPackage command:
> however, I get the following message:
> Function importPackage must be called with a package; had "[JavaClass
> database.connectors.jdbc.MsSQLserver]" instead.
> I added .jar file already as an external JAR
> (ProjectProperies->Classpath ). Also I tried sticking it in the
> /WEB-INF/lib folder as well as using the Import Wizard. Same error
> What am I doing wrong?
> Thank you,
Powered by FUDForum
. Page generated in 0.02974 seconds