Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Getting started with Ecore ODA Driver
Getting started with Ecore ODA Driver [message #43477] Tue, 01 April 2008 13:15 Go to next message
Hajo Eichler is currently offline Hajo EichlerFriend
Messages: 25
Registered: July 2009
Junior Member
Hi,

I checked out
org.eclipse.datatools.enablement.oda.ecore &
org.eclipse.datatools.enablement.oda.ecore.ui

and after some update of EMF Transaction, Query and Search I got them compiled and
could put the two plug-ins into my birt-report-designer-all-in-one-2_2_2.

After adding all depended plug-ins there, I finally get a new Data Source Type:
"Ecore ODA Data Source". Heureka ;-)

Now, I am somehow lost, since the data source asks me for 3 properties:
1) The ecore file: Here I put "platform:/resource/simpleTest/mindmap.ecore" Ok?
2) "Connection Profile Name" ... foobar should do it?
3) "Connection Profile Store URL" - can some explain the secrets behind?
Here I tried several thing: file, http and platform URL/Is.

But anytime I want to create a new Data Set, I get the attached exception.
So, it seems that I have some URI/URL Problem.

Can anyone help me out here?

When I got successfully through it, I would help to extend the current wiki page
(http://wiki.eclipse.org/Ecore_ODA_Driver-Proposal) with a small HowTo summarizing
my experience.

Thanks & Cheers,
Hajo


java.lang.NullPointerException
at org.eclipse.emf.common.util.URI.createURIWithCache(URI.java: 658)
at org.eclipse.emf.common.util.URI.createURI(URI.java:536)
at
org.eclipse.datatools.enablement.oda.ecore.impl.Connection.g etModel(Connection.java:67)
at
org.eclipse.datatools.enablement.oda.ecore.impl.Connection.o pen(Connection.java:55)
at
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaCo nnection.open(OdaConnection.java:235)
at
org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:145)
at
org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:134)
at org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:121)
at
org.eclipse.birt.data.engine.impl.DataSourceRuntime.openOdiD ataSource(DataSourceRuntime.java:214)
at
org.eclipse.birt.data.engine.impl.QueryExecutor.openDataSour ce(QueryExecutor.java:265)
at
org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:210)
at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:500)
at
org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:161)
at
org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:142)
at
org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:141)
at
org.eclipse.birt.report.data.adapter.impl.QueryExecutionHelp er.executeQuery(QueryExecutionHelper.java:113)
at
org.eclipse.birt.report.data.adapter.impl.QueryExecutionHelp er.executeQuery(QueryExecutionHelper.java:92)
at
org.eclipse.birt.report.data.adapter.impl.DataSetMetaDataHel per.getRealMetaData(DataSetMetaDataHelper.java:147)
at
org.eclipse.birt.report.data.adapter.impl.DataSetMetaDataHel per.getDataSetMetaData(DataSetMetaDataHelper.java:101)
at
org.eclipse.birt.report.data.adapter.impl.DataRequestSession Impl.getDataSetMetaData(DataRequestSessionImpl.java:168)
at
org.eclipse.birt.report.designer.data.ui.util.DataSetProvide r.populateAllOutputColumns(DataSetProvider.java:186)
at
org.eclipse.birt.report.designer.data.ui.util.DataSetProvide r.getCachedDataSetItemModel(DataSetProvider.java:793)
at
org.eclipse.birt.report.designer.data.ui.dataset.DataSetEdit or$ItemModelManager.start(DataSetEditor.java:879)
at
org.eclipse.birt.report.designer.data.ui.dataset.DataSetEdit or. <init>(DataSetEditor.java:224)
at
org.eclipse.birt.report.designer.ui.actions.NewDataSetAction .editDataSet(NewDataSetAction.java:221)
at
org.eclipse.birt.report.designer.ui.actions.NewDataSetAction .createNewDataSet(NewDataSetAction.java:161)
at
org.eclipse.birt.report.designer.ui.actions.NewDataSetAction .run(NewDataSetAction.java:142)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:546)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Re: Getting started with Ecore ODA Driver [message #43509 is a reply to message #43477] Wed, 02 April 2008 00:45 Go to previous messageGo to next message
Jeff Ramsdale is currently offline Jeff RamsdaleFriend
Messages: 122
Registered: July 2009
Senior Member
Hi Hajo,

Glad you were able to get as far as you did! Unfortunately, though,
there's not much further to go. We've been working on getting code into
CVS and proposing the contribution to the new DTP Incubator--all this in
the hopes of being ready for Ganymede. This may or may not happen but it
forced us to offer the code before it was functional. The UI hasn't
quite caught up to the driver.

As it turns out you found the wiki page only the day after I created it.
I added a Getting Started section, though, to capture some of the
information you offered--thanks!

We're continuing to work on this--meanwhile the formal contribution
proposal hasn't been made yet so we aren't able to commit changes. It'll
probably be a couple of weeks (at the earliest) before we'll be able to
offer you more... (But feel free to ask questions in the meantime!)

-jeff

Hajo Eichler wrote:
> Hi,
>
> I checked out
> org.eclipse.datatools.enablement.oda.ecore &
> org.eclipse.datatools.enablement.oda.ecore.ui
>
> and after some update of EMF Transaction, Query and Search I got them
> compiled and could put the two plug-ins into my
> birt-report-designer-all-in-one-2_2_2.
>
> After adding all depended plug-ins there, I finally get a new Data
> Source Type: "Ecore ODA Data Source". Heureka ;-)
>
> Now, I am somehow lost, since the data source asks me for 3 properties:
> 1) The ecore file: Here I put
> "platform:/resource/simpleTest/mindmap.ecore" Ok?
> 2) "Connection Profile Name" ... foobar should do it?
> 3) "Connection Profile Store URL" - can some explain the secrets behind?
> Here I tried several thing: file, http and platform URL/Is.
>
> But anytime I want to create a new Data Set, I get the attached exception.
> So, it seems that I have some URI/URL Problem.
>
> Can anyone help me out here?
>
> When I got successfully through it, I would help to extend the current
> wiki page (http://wiki.eclipse.org/Ecore_ODA_Driver-Proposal) with a
> small HowTo summarizing my experience.
>
> Thanks & Cheers,
> Hajo
>
>
> java.lang.NullPointerException
> at org.eclipse.emf.common.util.URI.createURIWithCache(URI.java: 658)
> at org.eclipse.emf.common.util.URI.createURI(URI.java:536)
> at
> org.eclipse.datatools.enablement.oda.ecore.impl.Connection.g etModel(Connection.java:67)
>
> at
> org.eclipse.datatools.enablement.oda.ecore.impl.Connection.o pen(Connection.java:55)
>
> at
> org.eclipse.datatools.connectivity.oda.consumer.helper.OdaCo nnection.open(OdaConnection.java:235)
>
> at
> org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:145)
>
> at
> org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:134)
>
> at
> org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:121)
> at
> org.eclipse.birt.data.engine.impl.DataSourceRuntime.openOdiD ataSource(DataSourceRuntime.java:214)
>
> at
> org.eclipse.birt.data.engine.impl.QueryExecutor.openDataSour ce(QueryExecutor.java:265)
>
> at
> org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:210)
>
> at
> org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:500)
>
> at
> org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:161)
>
> at
> org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:142)
>
> at
> org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:141)
>
> at
> org.eclipse.birt.report.data.adapter.impl.QueryExecutionHelp er.executeQuery(QueryExecutionHelper.java:113)
>
> at
> org.eclipse.birt.report.data.adapter.impl.QueryExecutionHelp er.executeQuery(QueryExecutionHelper.java:92)
>
> at
> org.eclipse.birt.report.data.adapter.impl.DataSetMetaDataHel per.getRealMetaData(DataSetMetaDataHelper.java:147)
>
> at
> org.eclipse.birt.report.data.adapter.impl.DataSetMetaDataHel per.getDataSetMetaData(DataSetMetaDataHelper.java:101)
>
> at
> org.eclipse.birt.report.data.adapter.impl.DataRequestSession Impl.getDataSetMetaData(DataRequestSessionImpl.java:168)
>
> at
> org.eclipse.birt.report.designer.data.ui.util.DataSetProvide r.populateAllOutputColumns(DataSetProvider.java:186)
>
> at
> org.eclipse.birt.report.designer.data.ui.util.DataSetProvide r.getCachedDataSetItemModel(DataSetProvider.java:793)
>
> at
> org.eclipse.birt.report.designer.data.ui.dataset.DataSetEdit or$ItemModelManager.start(DataSetEditor.java:879)
>
> at
> org.eclipse.birt.report.designer.data.ui.dataset.DataSetEdit or. <init>(DataSetEditor.java:224)
>
> at
> org.eclipse.birt.report.designer.ui.actions.NewDataSetAction .editDataSet(NewDataSetAction.java:221)
>
> at
> org.eclipse.birt.report.designer.ui.actions.NewDataSetAction .createNewDataSet(NewDataSetAction.java:161)
>
> at
> org.eclipse.birt.report.designer.ui.actions.NewDataSetAction .run(NewDataSetAction.java:142)
>
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:546)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>
Re: Getting started with Ecore ODA Driver [message #43541 is a reply to message #43509] Wed, 02 April 2008 11:37 Go to previous messageGo to next message
Hajo Eichler is currently offline Hajo EichlerFriend
Messages: 25
Registered: July 2009
Junior Member
Hi Jeff,

thanks for the information on the project. Good to know... and bad to know that we
can not go on currently. Hope this issue is solved soon.

After some changes in the code (there is a big with constants and externalized
strings), I managed to see tables of string typed EAttributes of one meta class
from my model in a nice report.

Of course, string attributes is not all. My next step would be to use the
CrossTable of BIRT to see related elements in one table. E.g. using the
extLibrary.ecore example from EMF, I want to list all author names in the first
column, whereas the second column contains all books for each author.

For now, I realized that the DataTypes class supports only strings. Did you
already planned to supported this kind of nesting or EReference evaluation?

Cheers,
Hajo


Jeff Ramsdale schrieb:
> Hi Hajo,
>
> Glad you were able to get as far as you did! Unfortunately, though,
> there's not much further to go. We've been working on getting code into
> CVS and proposing the contribution to the new DTP Incubator--all this in
> the hopes of being ready for Ganymede. This may or may not happen but it
> forced us to offer the code before it was functional. The UI hasn't
> quite caught up to the driver.
>
> As it turns out you found the wiki page only the day after I created it.
> I added a Getting Started section, though, to capture some of the
> information you offered--thanks!
>
> We're continuing to work on this--meanwhile the formal contribution
> proposal hasn't been made yet so we aren't able to commit changes. It'll
> probably be a couple of weeks (at the earliest) before we'll be able to
> offer you more... (But feel free to ask questions in the meantime!)
>
> -jeff
>
> Hajo Eichler wrote:
>> Hi,
>>
>> I checked out
>> org.eclipse.datatools.enablement.oda.ecore &
>> org.eclipse.datatools.enablement.oda.ecore.ui
>>
>> and after some update of EMF Transaction, Query and Search I got them
>> compiled and could put the two plug-ins into my
>> birt-report-designer-all-in-one-2_2_2.
>>
>> After adding all depended plug-ins there, I finally get a new Data
>> Source Type: "Ecore ODA Data Source". Heureka ;-)
>>
>> Now, I am somehow lost, since the data source asks me for 3 properties:
>> 1) The ecore file: Here I put
>> "platform:/resource/simpleTest/mindmap.ecore" Ok?
>> 2) "Connection Profile Name" ... foobar should do it?
>> 3) "Connection Profile Store URL" - can some explain the secrets behind?
>> Here I tried several thing: file, http and platform URL/Is.
>>
>> But anytime I want to create a new Data Set, I get the attached
>> exception.
>> So, it seems that I have some URI/URL Problem.
>>
>> Can anyone help me out here?
>>
>> When I got successfully through it, I would help to extend the current
>> wiki page (http://wiki.eclipse.org/Ecore_ODA_Driver-Proposal) with a
>> small HowTo summarizing my experience.
>>
>> Thanks & Cheers,
>> Hajo
>>
>>
>> java.lang.NullPointerException
>> at org.eclipse.emf.common.util.URI.createURIWithCache(URI.java: 658)
>> at org.eclipse.emf.common.util.URI.createURI(URI.java:536)
>> at
>> org.eclipse.datatools.enablement.oda.ecore.impl.Connection.g etModel(Connection.java:67)
>>
>> at
>> org.eclipse.datatools.enablement.oda.ecore.impl.Connection.o pen(Connection.java:55)
>>
>> at
>> org.eclipse.datatools.connectivity.oda.consumer.helper.OdaCo nnection.open(OdaConnection.java:235)
>>
>> at
>> org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:145)
>>
>> at
>> org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:134)
>>
>> at
>> org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:121)
>>
>> at
>> org.eclipse.birt.data.engine.impl.DataSourceRuntime.openOdiD ataSource(DataSourceRuntime.java:214)
>>
>> at
>> org.eclipse.birt.data.engine.impl.QueryExecutor.openDataSour ce(QueryExecutor.java:265)
>>
>> at
>> org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:210)
>>
>> at
>> org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:500)
>>
>> at
>> org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:161)
>>
>> at
>> org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:142)
>>
>> at
>> org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:141)
>>
>> at
>> org.eclipse.birt.report.data.adapter.impl.QueryExecutionHelp er.executeQuery(QueryExecutionHelper.java:113)
>>
>> at
>> org.eclipse.birt.report.data.adapter.impl.QueryExecutionHelp er.executeQuery(QueryExecutionHelper.java:92)
>>
>> at
>> org.eclipse.birt.report.data.adapter.impl.DataSetMetaDataHel per.getRealMetaData(DataSetMetaDataHelper.java:147)
>>
>> at
>> org.eclipse.birt.report.data.adapter.impl.DataSetMetaDataHel per.getDataSetMetaData(DataSetMetaDataHelper.java:101)
>>
>> at
>> org.eclipse.birt.report.data.adapter.impl.DataRequestSession Impl.getDataSetMetaData(DataRequestSessionImpl.java:168)
>>
>> at
>> org.eclipse.birt.report.designer.data.ui.util.DataSetProvide r.populateAllOutputColumns(DataSetProvider.java:186)
>>
>> at
>> org.eclipse.birt.report.designer.data.ui.util.DataSetProvide r.getCachedDataSetItemModel(DataSetProvider.java:793)
>>
>> at
>> org.eclipse.birt.report.designer.data.ui.dataset.DataSetEdit or$ItemModelManager.start(DataSetEditor.java:879)
>>
>> at
>> org.eclipse.birt.report.designer.data.ui.dataset.DataSetEdit or. <init>(DataSetEditor.java:224)
>>
>> at
>> org.eclipse.birt.report.designer.ui.actions.NewDataSetAction .editDataSet(NewDataSetAction.java:221)
>>
>> at
>> org.eclipse.birt.report.designer.ui.actions.NewDataSetAction .createNewDataSet(NewDataSetAction.java:161)
>>
>> at
>> org.eclipse.birt.report.designer.ui.actions.NewDataSetAction .run(NewDataSetAction.java:142)
>>
>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
>> at
>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:546)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
>>
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>> at
>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
>> at
>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
>> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
>>
>> at
>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
>>
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>>
Re: Getting started with Ecore ODA Driver [message #43603 is a reply to message #43541] Fri, 04 April 2008 15:33 Go to previous messageGo to next message
Jeff Ramsdale is currently offline Jeff RamsdaleFriend
Messages: 122
Registered: July 2009
Senior Member
Hi Hajo,

That's great that you got some results! We were able to spend some time
today working on improvements which we'll hope to get in there soon. If
you'd like, send us a description of the bug you found or provide a
patch to the Bugzilla entry at
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=132958>. One way or
another we'll get it in.

We definitely hope to add new features. Our initial goal was a
functional release. I think we'll pretty quickly see it turn into an
even more useful tool. Thanks for your interest and do stay in
touch--sounds like you've got some experience that could be helpful.

-jeff

Hajo Eichler wrote:
> Hi Jeff,
>
> thanks for the information on the project. Good to know... and bad to
> know that we can not go on currently. Hope this issue is solved soon.
>
> After some changes in the code (there is a big with constants and
> externalized strings), I managed to see tables of string typed
> EAttributes of one meta class from my model in a nice report.
>
> Of course, string attributes is not all. My next step would be to use
> the CrossTable of BIRT to see related elements in one table. E.g. using
> the extLibrary.ecore example from EMF, I want to list all author names
> in the first column, whereas the second column contains all books for
> each author.
>
> For now, I realized that the DataTypes class supports only strings. Did
> you already planned to supported this kind of nesting or EReference
> evaluation?
>
> Cheers,
> Hajo
Re: Getting started with Ecore ODA Driver [message #43795 is a reply to message #43541] Mon, 07 April 2008 23:17 Go to previous messageGo to next message
Jeff Ramsdale is currently offline Jeff RamsdaleFriend
Messages: 122
Registered: July 2009
Senior Member
Hello Hajo,

Just wanted to let you know we've submitted a new patch that fixes many
issues with the Ecore ODA Driver, making it at least minimally useful
now. You can get it at
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=132958>. Hopefully Linda
will get a chance to look it over and commit soon, but meanwhile I
believe you've already checked the code out from CVS so the patch should
apply easily.

The patch fixes the persistence of values entered in the wizard and now
correctly provides a BIRT report data source and data set.

Let us know if you run into any issues. Enhancement ideas are also
welcomed--we've been creating a little backlog...

-jeff

Hajo Eichler wrote:
> Hi Jeff,
>
> thanks for the information on the project. Good to know... and bad to
> know that we can not go on currently. Hope this issue is solved soon.
>
> After some changes in the code (there is a big with constants and
> externalized strings), I managed to see tables of string typed
> EAttributes of one meta class from my model in a nice report.
>
> Of course, string attributes is not all. My next step would be to use
> the CrossTable of BIRT to see related elements in one table. E.g. using
> the extLibrary.ecore example from EMF, I want to list all author names
> in the first column, whereas the second column contains all books for
> each author.
>
> For now, I realized that the DataTypes class supports only strings. Did
> you already planned to supported this kind of nesting or EReference
> evaluation?
>
> Cheers,
> Hajo
Re: Getting started with Ecore ODA Driver [message #43857 is a reply to message #43795] Tue, 08 April 2008 23:20 Go to previous messageGo to next message
Linda ChanFriend
Messages: 845
Registered: July 2009
Senior Member
I have committed the Ecore ODA Patch 1 (95129).
See comments in https://bugs.eclipse.org/bugs/show_bug.cgi?id=132958#c14 .

Linda


"Jeff Ramsdale" <jeff.ramsdale@gmail.com> wrote in message
news:ftea30$psv$1@build.eclipse.org...
> Hello Hajo,
>
> Just wanted to let you know we've submitted a new patch that fixes many
> issues with the Ecore ODA Driver, making it at least minimally useful now.
> You can get it at <https://bugs.eclipse.org/bugs/show_bug.cgi?id=132958>.
> Hopefully Linda will get a chance to look it over and commit soon, but
> meanwhile I believe you've already checked the code out from CVS so the
> patch should apply easily.
>
> The patch fixes the persistence of values entered in the wizard and now
> correctly provides a BIRT report data source and data set.
>
> Let us know if you run into any issues. Enhancement ideas are also
> welcomed--we've been creating a little backlog...
>
> -jeff
Re: Getting started with Ecore ODA Driver [message #43885 is a reply to message #43857] Tue, 08 April 2008 23:42 Go to previous message
Jeff Ramsdale is currently offline Jeff RamsdaleFriend
Messages: 122
Registered: July 2009
Senior Member
Thanks, Linda!

-j

Linda Chan wrote:
> I have committed the Ecore ODA Patch 1 (95129).
> See comments in https://bugs.eclipse.org/bugs/show_bug.cgi?id=132958#c14 .
>
> Linda
>
>
> "Jeff Ramsdale" <jeff.ramsdale@gmail.com> wrote in message
> news:ftea30$psv$1@build.eclipse.org...
>> Hello Hajo,
>>
>> Just wanted to let you know we've submitted a new patch that fixes many
>> issues with the Ecore ODA Driver, making it at least minimally useful now.
>> You can get it at <https://bugs.eclipse.org/bugs/show_bug.cgi?id=132958>.
>> Hopefully Linda will get a chance to look it over and commit soon, but
>> meanwhile I believe you've already checked the code out from CVS so the
>> patch should apply easily.
>>
>> The patch fixes the persistence of values entered in the wizard and now
>> correctly provides a BIRT report data source and data set.
>>
>> Let us know if you run into any issues. Enhancement ideas are also
>> welcomed--we've been creating a little backlog...
>>
>> -jeff
>
>
Re: Getting started with Ecore ODA Driver [message #590715 is a reply to message #43477] Wed, 02 April 2008 00:45 Go to previous message
Jeff Ramsdale is currently offline Jeff RamsdaleFriend
Messages: 122
Registered: July 2009
Senior Member
Hi Hajo,

Glad you were able to get as far as you did! Unfortunately, though,
there's not much further to go. We've been working on getting code into
CVS and proposing the contribution to the new DTP Incubator--all this in
the hopes of being ready for Ganymede. This may or may not happen but it
forced us to offer the code before it was functional. The UI hasn't
quite caught up to the driver.

As it turns out you found the wiki page only the day after I created it.
I added a Getting Started section, though, to capture some of the
information you offered--thanks!

We're continuing to work on this--meanwhile the formal contribution
proposal hasn't been made yet so we aren't able to commit changes. It'll
probably be a couple of weeks (at the earliest) before we'll be able to
offer you more... (But feel free to ask questions in the meantime!)

-jeff

Hajo Eichler wrote:
> Hi,
>
> I checked out
> org.eclipse.datatools.enablement.oda.ecore &
> org.eclipse.datatools.enablement.oda.ecore.ui
>
> and after some update of EMF Transaction, Query and Search I got them
> compiled and could put the two plug-ins into my
> birt-report-designer-all-in-one-2_2_2.
>
> After adding all depended plug-ins there, I finally get a new Data
> Source Type: "Ecore ODA Data Source". Heureka ;-)
>
> Now, I am somehow lost, since the data source asks me for 3 properties:
> 1) The ecore file: Here I put
> "platform:/resource/simpleTest/mindmap.ecore" Ok?
> 2) "Connection Profile Name" ... foobar should do it?
> 3) "Connection Profile Store URL" - can some explain the secrets behind?
> Here I tried several thing: file, http and platform URL/Is.
>
> But anytime I want to create a new Data Set, I get the attached exception.
> So, it seems that I have some URI/URL Problem.
>
> Can anyone help me out here?
>
> When I got successfully through it, I would help to extend the current
> wiki page (http://wiki.eclipse.org/Ecore_ODA_Driver-Proposal) with a
> small HowTo summarizing my experience.
>
> Thanks & Cheers,
> Hajo
>
>
> java.lang.NullPointerException
> at org.eclipse.emf.common.util.URI.createURIWithCache(URI.java: 658)
> at org.eclipse.emf.common.util.URI.createURI(URI.java:536)
> at
> org.eclipse.datatools.enablement.oda.ecore.impl.Connection.g etModel(Connection.java:67)
>
> at
> org.eclipse.datatools.enablement.oda.ecore.impl.Connection.o pen(Connection.java:55)
>
> at
> org.eclipse.datatools.connectivity.oda.consumer.helper.OdaCo nnection.open(OdaConnection.java:235)
>
> at
> org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:145)
>
> at
> org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:134)
>
> at
> org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:121)
> at
> org.eclipse.birt.data.engine.impl.DataSourceRuntime.openOdiD ataSource(DataSourceRuntime.java:214)
>
> at
> org.eclipse.birt.data.engine.impl.QueryExecutor.openDataSour ce(QueryExecutor.java:265)
>
> at
> org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:210)
>
> at
> org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:500)
>
> at
> org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:161)
>
> at
> org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:142)
>
> at
> org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:141)
>
> at
> org.eclipse.birt.report.data.adapter.impl.QueryExecutionHelp er.executeQuery(QueryExecutionHelper.java:113)
>
> at
> org.eclipse.birt.report.data.adapter.impl.QueryExecutionHelp er.executeQuery(QueryExecutionHelper.java:92)
>
> at
> org.eclipse.birt.report.data.adapter.impl.DataSetMetaDataHel per.getRealMetaData(DataSetMetaDataHelper.java:147)
>
> at
> org.eclipse.birt.report.data.adapter.impl.DataSetMetaDataHel per.getDataSetMetaData(DataSetMetaDataHelper.java:101)
>
> at
> org.eclipse.birt.report.data.adapter.impl.DataRequestSession Impl.getDataSetMetaData(DataRequestSessionImpl.java:168)
>
> at
> org.eclipse.birt.report.designer.data.ui.util.DataSetProvide r.populateAllOutputColumns(DataSetProvider.java:186)
>
> at
> org.eclipse.birt.report.designer.data.ui.util.DataSetProvide r.getCachedDataSetItemModel(DataSetProvider.java:793)
>
> at
> org.eclipse.birt.report.designer.data.ui.dataset.DataSetEdit or$ItemModelManager.start(DataSetEditor.java:879)
>
> at
> org.eclipse.birt.report.designer.data.ui.dataset.DataSetEdit or. <init>(DataSetEditor.java:224)
>
> at
> org.eclipse.birt.report.designer.ui.actions.NewDataSetAction .editDataSet(NewDataSetAction.java:221)
>
> at
> org.eclipse.birt.report.designer.ui.actions.NewDataSetAction .createNewDataSet(NewDataSetAction.java:161)
>
> at
> org.eclipse.birt.report.designer.ui.actions.NewDataSetAction .run(NewDataSetAction.java:142)
>
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:546)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>
Re: Getting started with Ecore ODA Driver [message #590722 is a reply to message #43509] Wed, 02 April 2008 11:37 Go to previous message
Hajo Eichler is currently offline Hajo EichlerFriend
Messages: 25
Registered: July 2009
Junior Member
Hi Jeff,

thanks for the information on the project. Good to know... and bad to know that we
can not go on currently. Hope this issue is solved soon.

After some changes in the code (there is a big with constants and externalized
strings), I managed to see tables of string typed EAttributes of one meta class
from my model in a nice report.

Of course, string attributes is not all. My next step would be to use the
CrossTable of BIRT to see related elements in one table. E.g. using the
extLibrary.ecore example from EMF, I want to list all author names in the first
column, whereas the second column contains all books for each author.

For now, I realized that the DataTypes class supports only strings. Did you
already planned to supported this kind of nesting or EReference evaluation?

Cheers,
Hajo


Jeff Ramsdale schrieb:
> Hi Hajo,
>
> Glad you were able to get as far as you did! Unfortunately, though,
> there's not much further to go. We've been working on getting code into
> CVS and proposing the contribution to the new DTP Incubator--all this in
> the hopes of being ready for Ganymede. This may or may not happen but it
> forced us to offer the code before it was functional. The UI hasn't
> quite caught up to the driver.
>
> As it turns out you found the wiki page only the day after I created it.
> I added a Getting Started section, though, to capture some of the
> information you offered--thanks!
>
> We're continuing to work on this--meanwhile the formal contribution
> proposal hasn't been made yet so we aren't able to commit changes. It'll
> probably be a couple of weeks (at the earliest) before we'll be able to
> offer you more... (But feel free to ask questions in the meantime!)
>
> -jeff
>
> Hajo Eichler wrote:
>> Hi,
>>
>> I checked out
>> org.eclipse.datatools.enablement.oda.ecore &
>> org.eclipse.datatools.enablement.oda.ecore.ui
>>
>> and after some update of EMF Transaction, Query and Search I got them
>> compiled and could put the two plug-ins into my
>> birt-report-designer-all-in-one-2_2_2.
>>
>> After adding all depended plug-ins there, I finally get a new Data
>> Source Type: "Ecore ODA Data Source". Heureka ;-)
>>
>> Now, I am somehow lost, since the data source asks me for 3 properties:
>> 1) The ecore file: Here I put
>> "platform:/resource/simpleTest/mindmap.ecore" Ok?
>> 2) "Connection Profile Name" ... foobar should do it?
>> 3) "Connection Profile Store URL" - can some explain the secrets behind?
>> Here I tried several thing: file, http and platform URL/Is.
>>
>> But anytime I want to create a new Data Set, I get the attached
>> exception.
>> So, it seems that I have some URI/URL Problem.
>>
>> Can anyone help me out here?
>>
>> When I got successfully through it, I would help to extend the current
>> wiki page (http://wiki.eclipse.org/Ecore_ODA_Driver-Proposal) with a
>> small HowTo summarizing my experience.
>>
>> Thanks & Cheers,
>> Hajo
>>
>>
>> java.lang.NullPointerException
>> at org.eclipse.emf.common.util.URI.createURIWithCache(URI.java: 658)
>> at org.eclipse.emf.common.util.URI.createURI(URI.java:536)
>> at
>> org.eclipse.datatools.enablement.oda.ecore.impl.Connection.g etModel(Connection.java:67)
>>
>> at
>> org.eclipse.datatools.enablement.oda.ecore.impl.Connection.o pen(Connection.java:55)
>>
>> at
>> org.eclipse.datatools.connectivity.oda.consumer.helper.OdaCo nnection.open(OdaConnection.java:235)
>>
>> at
>> org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:145)
>>
>> at
>> org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:134)
>>
>> at
>> org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:121)
>>
>> at
>> org.eclipse.birt.data.engine.impl.DataSourceRuntime.openOdiD ataSource(DataSourceRuntime.java:214)
>>
>> at
>> org.eclipse.birt.data.engine.impl.QueryExecutor.openDataSour ce(QueryExecutor.java:265)
>>
>> at
>> org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:210)
>>
>> at
>> org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:500)
>>
>> at
>> org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:161)
>>
>> at
>> org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:142)
>>
>> at
>> org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:141)
>>
>> at
>> org.eclipse.birt.report.data.adapter.impl.QueryExecutionHelp er.executeQuery(QueryExecutionHelper.java:113)
>>
>> at
>> org.eclipse.birt.report.data.adapter.impl.QueryExecutionHelp er.executeQuery(QueryExecutionHelper.java:92)
>>
>> at
>> org.eclipse.birt.report.data.adapter.impl.DataSetMetaDataHel per.getRealMetaData(DataSetMetaDataHelper.java:147)
>>
>> at
>> org.eclipse.birt.report.data.adapter.impl.DataSetMetaDataHel per.getDataSetMetaData(DataSetMetaDataHelper.java:101)
>>
>> at
>> org.eclipse.birt.report.data.adapter.impl.DataRequestSession Impl.getDataSetMetaData(DataRequestSessionImpl.java:168)
>>
>> at
>> org.eclipse.birt.report.designer.data.ui.util.DataSetProvide r.populateAllOutputColumns(DataSetProvider.java:186)
>>
>> at
>> org.eclipse.birt.report.designer.data.ui.util.DataSetProvide r.getCachedDataSetItemModel(DataSetProvider.java:793)
>>
>> at
>> org.eclipse.birt.report.designer.data.ui.dataset.DataSetEdit or$ItemModelManager.start(DataSetEditor.java:879)
>>
>> at
>> org.eclipse.birt.report.designer.data.ui.dataset.DataSetEdit or. <init>(DataSetEditor.java:224)
>>
>> at
>> org.eclipse.birt.report.designer.ui.actions.NewDataSetAction .editDataSet(NewDataSetAction.java:221)
>>
>> at
>> org.eclipse.birt.report.designer.ui.actions.NewDataSetAction .createNewDataSet(NewDataSetAction.java:161)
>>
>> at
>> org.eclipse.birt.report.designer.ui.actions.NewDataSetAction .run(NewDataSetAction.java:142)
>>
>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
>> at
>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:546)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
>>
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>> at
>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
>> at
>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
>> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
>>
>> at
>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
>>
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>>
Re: Getting started with Ecore ODA Driver [message #590744 is a reply to message #43541] Fri, 04 April 2008 15:33 Go to previous message
Jeff Ramsdale is currently offline Jeff RamsdaleFriend
Messages: 122
Registered: July 2009
Senior Member
Hi Hajo,

That's great that you got some results! We were able to spend some time
today working on improvements which we'll hope to get in there soon. If
you'd like, send us a description of the bug you found or provide a
patch to the Bugzilla entry at
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=132958>. One way or
another we'll get it in.

We definitely hope to add new features. Our initial goal was a
functional release. I think we'll pretty quickly see it turn into an
even more useful tool. Thanks for your interest and do stay in
touch--sounds like you've got some experience that could be helpful.

-jeff

Hajo Eichler wrote:
> Hi Jeff,
>
> thanks for the information on the project. Good to know... and bad to
> know that we can not go on currently. Hope this issue is solved soon.
>
> After some changes in the code (there is a big with constants and
> externalized strings), I managed to see tables of string typed
> EAttributes of one meta class from my model in a nice report.
>
> Of course, string attributes is not all. My next step would be to use
> the CrossTable of BIRT to see related elements in one table. E.g. using
> the extLibrary.ecore example from EMF, I want to list all author names
> in the first column, whereas the second column contains all books for
> each author.
>
> For now, I realized that the DataTypes class supports only strings. Did
> you already planned to supported this kind of nesting or EReference
> evaluation?
>
> Cheers,
> Hajo
Re: Getting started with Ecore ODA Driver [message #590869 is a reply to message #43541] Mon, 07 April 2008 23:17 Go to previous message
Jeff Ramsdale is currently offline Jeff RamsdaleFriend
Messages: 122
Registered: July 2009
Senior Member
Hello Hajo,

Just wanted to let you know we've submitted a new patch that fixes many
issues with the Ecore ODA Driver, making it at least minimally useful
now. You can get it at
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=132958>. Hopefully Linda
will get a chance to look it over and commit soon, but meanwhile I
believe you've already checked the code out from CVS so the patch should
apply easily.

The patch fixes the persistence of values entered in the wizard and now
correctly provides a BIRT report data source and data set.

Let us know if you run into any issues. Enhancement ideas are also
welcomed--we've been creating a little backlog...

-jeff

Hajo Eichler wrote:
> Hi Jeff,
>
> thanks for the information on the project. Good to know... and bad to
> know that we can not go on currently. Hope this issue is solved soon.
>
> After some changes in the code (there is a big with constants and
> externalized strings), I managed to see tables of string typed
> EAttributes of one meta class from my model in a nice report.
>
> Of course, string attributes is not all. My next step would be to use
> the CrossTable of BIRT to see related elements in one table. E.g. using
> the extLibrary.ecore example from EMF, I want to list all author names
> in the first column, whereas the second column contains all books for
> each author.
>
> For now, I realized that the DataTypes class supports only strings. Did
> you already planned to supported this kind of nesting or EReference
> evaluation?
>
> Cheers,
> Hajo
Re: Getting started with Ecore ODA Driver [message #590892 is a reply to message #43795] Tue, 08 April 2008 23:20 Go to previous message
Linda ChanFriend
Messages: 845
Registered: July 2009
Senior Member
I have committed the Ecore ODA Patch 1 (95129).
See comments in https://bugs.eclipse.org/bugs/show_bug.cgi?id=132958#c14 .

Linda


"Jeff Ramsdale" <jeff.ramsdale@gmail.com> wrote in message
news:ftea30$psv$1@build.eclipse.org...
> Hello Hajo,
>
> Just wanted to let you know we've submitted a new patch that fixes many
> issues with the Ecore ODA Driver, making it at least minimally useful now.
> You can get it at <https://bugs.eclipse.org/bugs/show_bug.cgi?id=132958>.
> Hopefully Linda will get a chance to look it over and commit soon, but
> meanwhile I believe you've already checked the code out from CVS so the
> patch should apply easily.
>
> The patch fixes the persistence of values entered in the wizard and now
> correctly provides a BIRT report data source and data set.
>
> Let us know if you run into any issues. Enhancement ideas are also
> welcomed--we've been creating a little backlog...
>
> -jeff
Re: Getting started with Ecore ODA Driver [message #590903 is a reply to message #43857] Tue, 08 April 2008 23:42 Go to previous message
Jeff Ramsdale is currently offline Jeff RamsdaleFriend
Messages: 122
Registered: July 2009
Senior Member
Thanks, Linda!

-j

Linda Chan wrote:
> I have committed the Ecore ODA Patch 1 (95129).
> See comments in https://bugs.eclipse.org/bugs/show_bug.cgi?id=132958#c14 .
>
> Linda
>
>
> "Jeff Ramsdale" <jeff.ramsdale@gmail.com> wrote in message
> news:ftea30$psv$1@build.eclipse.org...
>> Hello Hajo,
>>
>> Just wanted to let you know we've submitted a new patch that fixes many
>> issues with the Ecore ODA Driver, making it at least minimally useful now.
>> You can get it at <https://bugs.eclipse.org/bugs/show_bug.cgi?id=132958>.
>> Hopefully Linda will get a chance to look it over and commit soon, but
>> meanwhile I believe you've already checked the code out from CVS so the
>> patch should apply easily.
>>
>> The patch fixes the persistence of values entered in the wizard and now
>> correctly provides a BIRT report data source and data set.
>>
>> Let us know if you run into any issues. Enhancement ideas are also
>> welcomed--we've been creating a little backlog...
>>
>> -jeff
>
>
Previous Topic:Edit more then 50 Entries in a table
Next Topic:NullpointerExceptions on Connect, disappear with eclipse -clean
Goto Forum:
  


Current Time: Fri Mar 29 13:49:44 GMT 2024

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

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

Back to the top