Home
Analytics
Where can I find the source code for the RCP designer
david-perez
I would like to get the source code for this plugin:
org.eclipse.birt.report.designer.ui.rcp_4.2.0.v20120611.jar
I have already downloaded birt-source-4_2_0.zip, and I haven't found it there.
I need it to debug from Eclipse a problem in the RCP designer, as I cannot place breakpoints.
Thanks in advance for any hint.
David
Find more posts tagged with
Comments
david-perez
Maybe I will have to resort to the GIT repositories.
CBR
Hi,
there is no dedicated code for the RCP designer available. It is using just the same codebase as the full blown Eclipse BIRT install. There should be a dedicated product configuration file in the codebase. The product configuration file is used to build the RCP designer.
If you debug the code in eclipse simply go to run product and select that product configuration file to debug the RCP designer.
david-perez
Thanks cbrell! <br />
<br />
You're right, the main problem is not getting the source code of the rcp plugin (I have found it here:<br />
<a class='bbc_url' href='
https://github.com/YongJiang/org.eclipse.birt.designer/downloads'>https://github.com/YongJiang/org.eclipse.birt.designer/downloads</a>
; )<br />
<br />
The problem is that I get an exception in this class:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
java.lang.NullPointerException
at org.eclipse.birt.data.engine.executor.DataSourceQuery.setInputParameterBinding(DataSourceQuery.java:1103)
at org.eclipse.birt.data.engine.executor.DataSourceQuery.addParameterDefns(DataSourceQuery.java:574)
</pre>
<br />
When I try to load this class, I receive this warning:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
Source not found for org.eclipse.birt.data.engine.executor.DataSourceQuery
</pre>
even though I have the source plugin org.eclipse.birt.data.source_4.2.0.v20120612.jar in my environment corresponding to this other plugin org.eclipse.birt.data_4.2.0.v20120612.jar<br />
<br />
I don't understand why Eclipse doesn't find my source code. :wacko:<br />
Maybe this is a bug with PDE.<br />
<br />
It's hard to debug the problem, without source code.<br />
<br />
David<br />
<br />
<blockquote class='ipsBlockquote' data-author="'cbrell'" data-cid="107093" data-time="1342001526" data-date="11 July 2012 - 03:12 AM"><p>
Hi,<br />
<br />
there is no dedicated code for the RCP designer available. It is using just the same codebase as the full blown Eclipse BIRT install. There should be a dedicated product configuration file in the codebase. The product configuration file is used to build the RCP designer.<br />
If you debug the code in eclipse simply go to run product and select that product configuration file to debug the RCP designer.<br /></p></blockquote>
david-perez
I have answered myself in this other thread of the PDE project:
http://www.eclipse.org/forums/index.php/m/895259/