Net.sf.jmoney.oda.ui

From JMoney

Jump to: navigation, search

If you want to design a BIRT report using the Report Designer or the RCP Report Designer then you must install this plug-in.

This plug-in depends on the net.sf.jmoney.oda plug-in and the net.sf.jmoney plug-in, so those must also be installed. Furthermore, you will want to be able to open a JMoney datastore (either from XML or from a JDBC database), so you must have at least one of net.sf.jmoney.serializeddatastore or net.sf.jmoney.jdbcdatastore installed.

There are a few ways of configuring these. One way would be to use RCP Report Designer. Copy deployable versions of the above mentioned JMoney plug-ins into the plugins directory in the directory stucture into which you had unzipped the RCP Report Designer. You should then see the JMoney menu items added to the RCP Report Designer and you should be able to use these to open a JMoney datastore. You will then be able to use the BIRT actions to create a datastore using the ODA driver provided by JMoney. Although this should work, no one has yet in fact got this to work. If you can get this to work, please update this wiki.

Another way which does work, and also that allows you to debug the JMoney plug-ins, is as follows. Debug JMoney in the usual way, but make two changes in the debug dialog. First, go to the plug-ins tab and select all the plug-ins. (Ok, you probably don't need all of them, but it is easier than selecting the ones you need). Secondly, go back to the first tab and select org.eclipse.platform.ide as the product. Now when you run, you will see JMoney merged with the IDE. Select the JMoney perspective and open a datastore. Then select the BIRT Report perspective and build a report.

When you right-click on 'Data Sources' in the 'Data Explorer' tab, ou will see a data source type called "JMoney 'Current Session' Data Source". This data source represents the currently open JMoney session so there are no connection parameters for this data source.

Personal tools