Skip to main content



      Home
Home » Archived » BIRT » same report but not the same result
same report but not the same result [message #212339] Thu, 18 January 2007 08:57 Go to next message
Eclipse UserFriend
Originally posted by: alice.mange.gmail.com

Hi community !
I download the example org.eclipse.birt.examples.rcpengine and I use the
code from the method previewReport from View.java, to integrate my report
in my application.

If I executed the example org.eclipse.birt.examples.rcpengine and I
choosed a report A, it is nearly ok, but I have a result.
(When I talk about result it is an html code which was return by bos :
ByteArrayOutputStream bos = new ByteArrayOutputStream();
options.setOutputStream(bos);
options.setOutputFormat("html");
task.setRenderOption(options);
-> I can see a html code with a title for example

Now I use the same code but from my application, I open the same report A,
and now I haven't result.
->the html code contains a table with nothing, no title nothing.

Do you know what could be a source of this problem ?

Thank you
Re: same report but not the same result [message #212396 is a reply to message #212339] Thu, 18 January 2007 11:45 Go to previous messageGo to next message
Eclipse UserFriend
Did you enable logging?
Do you have your db driver installed on both?

Jason

"Alilou" <alice.mange@gmail.com> wrote in message
news:993a6b7f60dca6822a1ef47b24aa5658$1@www.eclipse.org...
> Hi community !
> I download the example org.eclipse.birt.examples.rcpengine and I use the
> code from the method previewReport from View.java, to integrate my report
> in my application.
>
> If I executed the example org.eclipse.birt.examples.rcpengine and I
> choosed a report A, it is nearly ok, but I have a result.
> (When I talk about result it is an html code which was return by bos :
> ByteArrayOutputStream bos = new ByteArrayOutputStream();
> options.setOutputStream(bos);
> options.setOutputFormat("html");
> task.setRenderOption(options);
> -> I can see a html code with a title for example
>
> Now I use the same code but from my application, I open the same report A,
> and now I haven't result.
> ->the html code contains a table with nothing, no title nothing.
>
> Do you know what could be a source of this problem ?
>
> Thank you
>
Re: same report but not the same result [message #212754 is a reply to message #212396] Fri, 19 January 2007 10:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alice.mange.gmail.com

Hi Jason and thank you for your answer...

To be easier, I tried to open the report hello_world.rptdesign, and it was
OK. I have a visual result.
So I did a new report with just a static text and It was OK too. I added
to the reoprt a dataSource for my data base Oracle but I have the
following error :
java.lang.NullPointerException
at
org.eclipse.birt.report.model.elements.OdaDataSource.setIntr insicProperty(OdaDataSource.java:201)
at
org.eclipse.birt.report.model.core.DesignElement.setProperty (DesignElement.java:1218)
at
org.eclipse.birt.report.model.parser.DesignParseState.setPro perty(DesignParseState.java:99)
at
org.eclipse.birt.report.model.parser.OdaDataSourceState.pars eODADataSourceExtensionID(OdaDataSourceState.java:167)
at
org.eclipse.birt.report.model.parser.OdaDataSourceState.pars eAttrs(OdaDataSourceState.java:82)
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanSt artElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragme ntContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDo cument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unk nown
Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at
org.eclipse.birt.report.model.parser.ModuleReader.readModule (ModuleReader.java:90)
at
org.eclipse.birt.report.model.parser.DesignReader.read(Desig nReader.java:90)
at
org.eclipse.birt.report.model.core.DesignSession.openDesign( DesignSession.java:278)
at
org.eclipse.birt.report.engine.api.impl.ReportEngine.openRep ortDesign(ReportEngine.java:263)
at ui.MView.previewReport(MView.java:278)

I see already this error on article, but I didn't succed to resolve it. I
check the db driver : (I add them to my classPath)
birt_runtime/birt-runtime-2_1_0/ReportEngine/plugins/org.ecl ipse.birt.report.data.oda.jdbc_2.1.1.v20060922-1058/drivers/ ojdbc14.jar
(I have an Oracle db).
But I have always this error....
Re: same report but not the same result [message #212762 is a reply to message #212754] Fri, 19 January 2007 10:44 Go to previous messageGo to next message
Eclipse UserFriend
Can you try the sampledb?
Also I noticed 2_1_0 in the runtime folder referencing a 2.1.1 plugin. Was
this just a typo?
If you are running this through a debugger, make sure you have the jdbc
plugin selected in
your launch configuration.

Jason

"Alilou" <alice.mange@gmail.com> wrote in message
news:c702b8247798c1e73b719ef25313a49c$1@www.eclipse.org...
> Hi Jason and thank you for your answer...
>
> To be easier, I tried to open the report hello_world.rptdesign, and it was
> OK. I have a visual result.
> So I did a new report with just a static text and It was OK too. I added
> to the reoprt a dataSource for my data base Oracle but I have the
> following error :
> java.lang.NullPointerException
> at
> org.eclipse.birt.report.model.elements.OdaDataSource.setIntr insicProperty(OdaDataSource.java:201)
> at
> org.eclipse.birt.report.model.core.DesignElement.setProperty (DesignElement.java:1218)
> at
> org.eclipse.birt.report.model.parser.DesignParseState.setPro perty(DesignParseState.java:99)
> at
> org.eclipse.birt.report.model.parser.OdaDataSourceState.pars eODADataSourceExtensionID(OdaDataSourceState.java:167)
> at
> org.eclipse.birt.report.model.parser.OdaDataSourceState.pars eAttrs(OdaDataSourceState.java:82)
> Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanSt artElement(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragme ntContentDispatcher.dispatch(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDo cument(Unknown
> Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unk nown
> Source)
> at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
> at
> org.eclipse.birt.report.model.parser.ModuleReader.readModule (ModuleReader.java:90)
> at
> org.eclipse.birt.report.model.parser.DesignReader.read(Desig nReader.java:90)
> at
> org.eclipse.birt.report.model.core.DesignSession.openDesign( DesignSession.java:278)
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngine.openRep ortDesign(ReportEngine.java:263)
> at ui.MView.previewReport(MView.java:278)
>
> I see already this error on article, but I didn't succed to resolve it. I
> check the db driver : (I add them to my classPath)
> birt_runtime/birt-runtime-2_1_0/ReportEngine/plugins/org.ecl ipse.birt.report.data.oda.jdbc_2.1.1.v20060922-1058/drivers/ ojdbc14.jar
> (I have an Oracle db).
> But I have always this error....
Re: same report but not the same result [message #212836 is a reply to message #212396] Fri, 19 January 2007 11:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alice.mange.gmail.com

Hi Jason,
thank you for your answer.

To began more easier, I began to open with my application the report
hello_world.rptdesign, So all it is ok.
I do a report with just a static text, it is fine too.
Now I add a datasource for my oracle dataBase, and I have the following
error :
java.lang.NullPointerException
at
org.eclipse.birt.report.model.elements.OdaDataSource.setIntr insicProperty(OdaDataSource.java:201)
at
org.eclipse.birt.report.model.core.DesignElement.setProperty (DesignElement.java:1188)
at
org.eclipse.birt.report.model.parser.OdaDataSourceState.pars eODADataSourceExtensionID(OdaDataSourceState.java:167)
at
org.eclipse.birt.report.model.parser.OdaDataSourceState.pars eAttrs(OdaDataSourceState.java:82)
at
org.eclipse.birt.report.model.parser.ModuleParserHandler.sta rtElement(ModuleParserHandler.java:145)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragme ntContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDo cument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at
org.eclipse.birt.report.model.parser.ModuleReader.readModule (ModuleReader.java:90)
...
at
org.eclipse.birt.report.engine.api.impl.ReportEngine.openRep ortDesign(ReportEngine.java:263)
at ui.MView.previewReport

So i check all by bd driver was in my classPath, there are :
C:\birt_runtime\birt-runtime-2_1_0\ReportEngine\plugins\org. eclipse.birt.report.data.oda.jdbc_2.1.1.v20060922-1058\drive rs\ojdbc14.jar
I check also that all my library are from
C:\birt_runtime\birt-runtime-2_1_0\ReportEngine... and they are !!
I am deseperate...
Re: same report but not the same result [message #212849 is a reply to message #212762] Fri, 19 January 2007 11:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alice.mange.gmail.com

You are right i download birt-runtime-2_1_1, so it is ok.
And I am not running through a debugger, so how I can sure the jdbc plugin
was selected ?
and it is maybe a stupid question, but to be sure : wath do you mean with
'jdbc plugin' ?
Re: same report but not the same result [message #213048 is a reply to message #212849] Mon, 22 January 2007 11:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alice.mange.gmail.com

Hi...
I saw in a post, to try with birt-2.2 version, so I try, And I haven't yet
the error, but I have a new error lol...
So before, I just have a label and a dataSource and I have the previously
error. Now with birt-2.2M2 I haven't error, so I add a dataSet very simple
and that all, I didn't add a table in my report to view the result. And
now I hae the error (like previously):
java.lang.NullPointerException
at
org.eclipse.birt.report.model.elements.OdaDataSet.setIntrins icProperty(OdaDataSet.java:205)
at
org.eclipse.birt.report.model.core.DesignElement.setProperty (DesignElement.java:1193)
at
org.eclipse.birt.report.model.core.DesignElement.setProperty (DesignElement.java:1163)
at
org.eclipse.birt.report.model.parser.DesignParseState.setPro perty(DesignParseState.java:99)
so I didn't understand what I forgot ?
Re: same report but not the same result [message #213055 is a reply to message #213048] Mon, 22 January 2007 12:24 Go to previous messageGo to next message
Eclipse UserFriend
I have not updated rthat example for 2.2 yet, but this looks like a version
mismatch.
How are you debugging this?

Jason

"Alilou" <alice.mange@gmail.com> wrote in message
news:73e6b1310a813b73540d63d2b0ba324b$1@www.eclipse.org...
> Hi...
> I saw in a post, to try with birt-2.2 version, so I try, And I haven't yet
> the error, but I have a new error lol...
> So before, I just have a label and a dataSource and I have the previously
> error. Now with birt-2.2M2 I haven't error, so I add a dataSet very simple
> and that all, I didn't add a table in my report to view the result. And
> now I hae the error (like previously):
> java.lang.NullPointerException
> at
> org.eclipse.birt.report.model.elements.OdaDataSet.setIntrins icProperty(OdaDataSet.java:205)
> at
> org.eclipse.birt.report.model.core.DesignElement.setProperty (DesignElement.java:1193)
> at
> org.eclipse.birt.report.model.core.DesignElement.setProperty (DesignElement.java:1163)
> at
> org.eclipse.birt.report.model.parser.DesignParseState.setPro perty(DesignParseState.java:99)
> so I didn't understand what I forgot ?
>
Re: same report but not the same result [message #213569 is a reply to message #213055] Wed, 24 January 2007 03:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alice.mange.gmail.com

Jason Weathersby wrote:

> I have not updated rthat example for 2.2 yet, but this looks like a version
> mismatch.
> How are you debugging this?

> Jason

Hi Jason,
thank you for your answer.
I stay with the BIRT version 2.1.1, so I keep my error.
And check all my jar file, and all are from the reportEngine_2.1.1. I
don't what can be the problem... I look the version of Birt Ressource
plugin with eclipse it is : 2.1.1 v200060825-0630 like my reportEngine
version...
I didn't understand you question : "how are you debugging ?"
-> I just run my application whith my main... It is the good answer ?
Re: same report but not the same result [message #213717 is a reply to message #213569] Wed, 24 January 2007 11:57 Go to previous messageGo to next message
Eclipse UserFriend
A couple of things to look at:
Try the sampledb that comes with BIRT.
If this works verify that you have copied your JDBC driver to the jdbc
plugin.
This will be located in the drivers directory under the
org.eclipse.birt.report.data.oda.jdbc plugin.
Jason



"Alilou" <alice.mange@gmail.com> wrote in message
news:770c9b68acc6120c2fb3135ef3ab9b8b$1@www.eclipse.org...
> Jason Weathersby wrote:
>
>> I have not updated rthat example for 2.2 yet, but this looks like a
>> version mismatch.
>> How are you debugging this?
>
>> Jason
>
> Hi Jason,
> thank you for your answer.
> I stay with the BIRT version 2.1.1, so I keep my error.
> And check all my jar file, and all are from the reportEngine_2.1.1. I
> don't what can be the problem... I look the version of Birt Ressource
> plugin with eclipse it is : 2.1.1 v200060825-0630 like my reportEngine
> version...
> I didn't understand you question : "how are you debugging ?"
> -> I just run my application whith my main... It is the good answer ?
>
>
Re: same report but not the same result [message #213968 is a reply to message #213717] Thu, 25 January 2007 04:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alice.mange.gmail.com

I have the same error with th data base sample.In my report i have just a
the
org.eclipse.birt.report.data.oda.sampledb.Driver (Classic Models Inc.
SampleDB Driver).
So in my build path I add the corresponding jar file :
C:\birt-runtime-2_1_1\ReportEngine\plugins\org.eclipse.birt. report.data.oda.sampledb_2.1.1.v20060922-1058\sampledb.jar
and BirtSample.jar....
And I have the error :
java.lang.NullPointerException
at
org.eclipse.birt.report.model.elements.OdaDataSource.setIntr insicProperty(OdaDataSource.java:201)
Re: same report but not the same result [message #214102 is a reply to message #213968] Thu, 25 January 2007 11:18 Go to previous messageGo to next message
Eclipse UserFriend
Here is a screenshot of my workspace.
Can you launch the debugger with all workspace and external plugins enabled?
Make sure you have copied all the BIRT plugins to your plugins folder.

Jason

"Alilou" <alice.mange@gmail.com> wrote in message
news:5466c0628ceac60f943c4f9bbfb964cf$1@www.eclipse.org...
>I have the same error with th data base sample.In my report i have just a
> the
> org.eclipse.birt.report.data.oda.sampledb.Driver (Classic Models Inc.
> SampleDB Driver).
> So in my build path I add the corresponding jar file :
> C:\birt-runtime-2_1_1\ReportEngine\plugins\org.eclipse.birt. report.data.oda.sampledb_2.1.1.v20060922-1058\sampledb.jar
> and BirtSample.jar....
> And I have the error :
> java.lang.NullPointerException
> at
> org.eclipse.birt.report.model.elements.OdaDataSource.setIntr insicProperty(OdaDataSource.java:201)
>
>


  • Attachment: workspace.PNG
    (Size: 170.58KB, Downloaded 127 times)
Re: same report but not the same result [message #214964 is a reply to message #214102] Tue, 30 January 2007 03:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alice.mange.gmail.com

Hi Jason,
I think you didn't understand my problem (or i didn't understand your
answer lol).
Because if i open a report with the example
org.eclipse.birt.examples.rcpengine, my report have no problem, no error
with dataSource.
But If I want to open my report with my java application I have the error
I explain you... In my java application I didn't use a Plug-in
dependencies, I add library in my classPath :
here is an extract of my classPath :

<classpathentry kind="lib"
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.report.model_2.1.1. v20060926-0959.jar "/>
<...
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.core_2.1.1.v2006092 6-0959.jar "/>
<...
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.report.data.oda.xml _2.1.1.v20060926-0959.jar "/>
<...
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.report.engine.emitt er.html_2.1.1.v20060926-0959.jar "/>
<...
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.report.engine.emitt er.pdf_2.1.1.v20060926-0959.jar "/>
<...
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.report.engine_2.1.1 .v20060926-0959.jar "/>
<...
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.core.contenttype_3.2.0.v 20060601a.jar "/>
<...
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.core.jobs_3.2.0.v2006060 1a.jar "/>
<...
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.core.runtime.compatibili ty_3.1.100.v20060601a.jar "/>
<...
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.core.runtime_3.2.0.v2006 0601b.jar "/>
<...
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.datatools.connectivity.o da.consumer_3.0.2.200608301.jar "/>
<...
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.datatools.connectivity.o da.flatfile_3.0.2.200608311.jar "/>
<...
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.datatools.connectivity.o da_3.0.2.200608301.jar "/>
<... path=" C:/brt-2_1_1/RE/plugins/org.eclipse.osgi_3.2.0.v20060601.jar "/>
<...
path=" C:/brt-2_1_1/RE/plugins/org.apache.batik.pdf/lib/pdf-transco der.jar "/>
<... path="C:/brt-2_1_1/RE/lib/com.ibm.icu_3.4.4.1.jar"/>
<... path="C:/brt-2_1_1/RE/lib/commons-cli-1.0.jar"/>
<... path="C:/brt-2_1_1/RE/lib/commons-codec-1.3.jar"/>
<... path="C:/brt-2_1_1/RE/lib/coreapi.jar"/>
<... path="C:/brt-2_1_1/RE/lib/dataadapterapi.jar"/>
<... path="C:/brt-2_1_1/RE/lib/dteapi.jar"/>
<... path="C:/brt-2_1_1/RE/lib/engineapi.jar"/>
<... path="C:/brt-2_1_1/RE/lib/flute.jar"/>
<... path="C:/brt-2_1_1/RE/lib/itext-1.3.jar"/>
<... path="C:/brt-2_1_1/RE/lib/js.jar"/>
<... path="C:/brt-2_1_1/RE/lib/modelapi.jar"/>
<... path="C:/brt-2_1_1/RE/lib/sac.jar"/>
<... path="C:/brt-2_1_1/RE/lib/scriptapi.jar"/>
<... path="C:/brt-2_1_1/RE/lib/Tidy.jar"/>
<...
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.report.data.oda.jdb c_2.1.1.v20060922-1058/drivers/postgresql-8.0-310.jdbc3.jar "/>
<...
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.report.data.oda.jdb c_2.1.1.v20060922-1058/drivers/ojdbc14.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.birt.data.oda_2.1.1.v2 0060922-1058/oda.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity _0.9.1.20060831/connectivity.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity .ui_0.9.1.200608251/connectivityui.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity .ui.dse_0.9.1.200608251/dse.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity .oda.design.ui_3.0.2.200609201.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity .oda.design_3.0.2.200608301.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity .oda.designer.finfo_0.9.1.200609191.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity .oda.finfo_0.9.1.200609191.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity .oda.flatfile.ui_3.0.2.200608301.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity .oda.profile_3.0.2.200608301.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.apache.derby.core_10.1.2.1/der by.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.apache.xerces_2.8.0.v200606131 651/resolver.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.apache.xerces_2.8.0.v200606131 651/xercesImpl.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.apache.xerces_2.8.0.v200606131 651/xml-apis.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.core.runtime.compatibi lity.registry_3.2.0.v20060602/runtime_registry_compatibility .jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.birt.data.oda.adapter. dtp_2.1.1.v20060922-1058.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.birt.report.data.oda.j dbc.ui_2.1.1.v20060922-1058.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.birt.report.data.oda.x ml.ui_2.1.1.v20060922-1058.jar "/>
<...
path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.birt.report.data.adapt er_2.1.1.v20060922-1058.jar "/>
<... path="C:/PgmFile/Ecp3.2/plugins/org.junit_3.8.1/junit.jar"/ >
<...
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.data_2.1.1.v2006092 2-1058.jar "/>
<...
path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.report.data.oda.jdb c_2.1.1.v20060922-1058/oda-jdbc.jar "/>
Re: same report but not the same result [message #215302 is a reply to message #214964] Tue, 30 January 2007 16:25 Go to previous message
Eclipse UserFriend
Now it is somewhat clear to me :>
If you are building it this way, you need to add the libs in the Runtime
download( ReportEngine/lib) and set a BIRT home to the report engine
directory.
The RCP example assumes all the BIRT plugins are installed in your
application. If you just want to use the engine download the runtime, unzip
and
set appropriate values. ie
http://wiki.eclipse.org/index.php/Simple_Execute

Jason

"Alilou" <alice.mange@gmail.com> wrote in message
news:c7dcdd66138e92caf45b9472c98c4818$1@www.eclipse.org...
> Hi Jason,
> I think you didn't understand my problem (or i didn't understand your
> answer lol).
> Because if i open a report with the example
> org.eclipse.birt.examples.rcpengine, my report have no problem, no error
> with dataSource.
> But If I want to open my report with my java application I have the error
> I explain you... In my java application I didn't use a Plug-in
> dependencies, I add library in my classPath :
> here is an extract of my classPath :
>
> <classpathentry kind="lib"
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.report.model_2.1.1. v20060926-0959.jar "/>
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.core_2.1.1.v2006092 6-0959.jar "/>
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.report.data.oda.xml _2.1.1.v20060926-0959.jar "/>
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.report.engine.emitt er.html_2.1.1.v20060926-0959.jar "/>
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.report.engine.emitt er.pdf_2.1.1.v20060926-0959.jar "/>
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.report.engine_2.1.1 .v20060926-0959.jar "/>
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.core.contenttype_3.2.0.v 20060601a.jar "/>
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.core.jobs_3.2.0.v2006060 1a.jar "/>
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.core.runtime.compatibili ty_3.1.100.v20060601a.jar "/>
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.core.runtime_3.2.0.v2006 0601b.jar "/>
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.datatools.connectivity.o da.consumer_3.0.2.200608301.jar "/>
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.datatools.connectivity.o da.flatfile_3.0.2.200608311.jar "/>
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.datatools.connectivity.o da_3.0.2.200608301.jar "/>
> <... path=" C:/brt-2_1_1/RE/plugins/org.eclipse.osgi_3.2.0.v20060601.jar "/>
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.apache.batik.pdf/lib/pdf-transco der.jar "/>
> <... path="C:/brt-2_1_1/RE/lib/com.ibm.icu_3.4.4.1.jar"/>
> <... path="C:/brt-2_1_1/RE/lib/commons-cli-1.0.jar"/>
> <... path="C:/brt-2_1_1/RE/lib/commons-codec-1.3.jar"/>
> <... path="C:/brt-2_1_1/RE/lib/coreapi.jar"/>
> <... path="C:/brt-2_1_1/RE/lib/dataadapterapi.jar"/>
> <... path="C:/brt-2_1_1/RE/lib/dteapi.jar"/>
> <... path="C:/brt-2_1_1/RE/lib/engineapi.jar"/>
> <... path="C:/brt-2_1_1/RE/lib/flute.jar"/>
> <... path="C:/brt-2_1_1/RE/lib/itext-1.3.jar"/>
> <... path="C:/brt-2_1_1/RE/lib/js.jar"/>
> <... path="C:/brt-2_1_1/RE/lib/modelapi.jar"/>
> <... path="C:/brt-2_1_1/RE/lib/sac.jar"/>
> <... path="C:/brt-2_1_1/RE/lib/scriptapi.jar"/>
> <... path="C:/brt-2_1_1/RE/lib/Tidy.jar"/>
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.report.data.oda.jdb c_2.1.1.v20060922-1058/drivers/postgresql-8.0-310.jdbc3.jar "/>
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.report.data.oda.jdb c_2.1.1.v20060922-1058/drivers/ojdbc14.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.birt.data.oda_2.1.1.v2 0060922-1058/oda.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity _0.9.1.20060831/connectivity.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity .ui_0.9.1.200608251/connectivityui.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity .ui.dse_0.9.1.200608251/dse.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity .oda.design.ui_3.0.2.200609201.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity .oda.design_3.0.2.200608301.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity .oda.designer.finfo_0.9.1.200609191.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity .oda.finfo_0.9.1.200609191.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity .oda.flatfile.ui_3.0.2.200608301.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.datatools.connectivity .oda.profile_3.0.2.200608301.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.apache.derby.core_10.1.2.1/der by.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.apache.xerces_2.8.0.v200606131 651/resolver.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.apache.xerces_2.8.0.v200606131 651/xercesImpl.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.apache.xerces_2.8.0.v200606131 651/xml-apis.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.core.runtime.compatibi lity.registry_3.2.0.v20060602/runtime_registry_compatibility .jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.birt.data.oda.adapter. dtp_2.1.1.v20060922-1058.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.birt.report.data.oda.j dbc.ui_2.1.1.v20060922-1058.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.birt.report.data.oda.x ml.ui_2.1.1.v20060922-1058.jar "/>
> <...
> path=" C:/PgmFile/Ecp3.2/plugins/org.eclipse.birt.report.data.adapt er_2.1.1.v20060922-1058.jar "/>
> <... path="C:/PgmFile/Ecp3.2/plugins/org.junit_3.8.1/junit.jar"/ >
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.data_2.1.1.v2006092 2-1058.jar "/>
> <...
> path=" C:/brt-2_1_1/RE/plugins/org.eclipse.birt.report.data.oda.jdb c_2.1.1.v20060922-1058/oda-jdbc.jar "/>
>
>
>
>
Previous Topic:Parent_Last class loading scheme in WAS
Next Topic:Integrating Birt Web Viewer
Goto Forum:
  


Current Time: Tue Jul 15 12:11:30 EDT 2025

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

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

Back to the top