Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [birt-dev] Scripted Data Source (Java Object as Event Handler) How-to

Hi there Johnny,

For development within the designer, it is best to jar up all your ajava
handlers and place the jar in your resources folder.

For deployment, it needs to be in the WEB-INF/classes/ folder along with
all your other engine related classes, platform plugins etc.


-----Original Message-----
From: birt-dev-bounces@xxxxxxxxxxx [mailto:birt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Johnnie
Sent: 19 May 2008 12:38 PM
To: birt-dev@xxxxxxxxxxx
Subject: [birt-dev] Scripted Data Source (Java Object as Event Handler)


I have the following event handler:


public class ScriptedDataSetEventHandler extends


    private int currentCount;

    public boolean fetch(IDataSetInstance dataSet, IUpdatableDataSetRow

        if (currentCount++ < 11) {

            try {
                row.setColumnValue("cnt", currentCount);
            } catch (ScriptException e) {

            return true;


        return false;


    public void open(IDataSetInstance dataSet) {;


and my question is: where must I put this class so that BIRT can see it
both at development and deployment time?

Thank you for your attention,


View this message in context:
Sent from the Eclipse BIRT - Dev mailing list archive at

birt-dev mailing list

This email and all content are subject to the following disclaimer:

Back to the top