Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Change BIRT Source(How to Change BIRT Source and Repack jars again)
Change BIRT Source [message #901518] Mon, 13 August 2012 08:39 Go to next message
Ricardo Rodrigues is currently offline Ricardo Rodrigues
Messages: 15
Registered: July 2012
Location: Ireland
Junior Member
In order to solve a bug I need to change the addSliceLabel() method in BIRT's source.
I reported the bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=386399, but it is going slow and we need to fix it now.

There is some tutorial describing how to change the birt's source and generate the jars again?


Thank you
Re: Change BIRT Source [message #901634 is a reply to message #901518] Mon, 13 August 2012 17:15 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Ricardo


Take a look at this link:
http://wiki.eclipse.org/BIRT/FAQ/Birt_Project#Q:_How_do_I_build_BIRT.3F

Jason

On 8/13/2012 4:39 AM, Ricardo Rodrigues wrote:
> In order to solve a bug I need to change the addSliceLabel() method in
> BIRT's source.
> I reported the bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=386399,
> but it is going slow and we need to fix it now.
>
> There is some tutorial describing how to change the birt's source and
> generate the jars again?
>
>
> Thank you
Re: Change BIRT Source [message #902347 is a reply to message #901634] Fri, 17 August 2012 08:43 Go to previous messageGo to next message
Ricardo Rodrigues is currently offline Ricardo Rodrigues
Messages: 15
Registered: July 2012
Location: Ireland
Junior Member
Thank you Jason,
Just to share my solution.

I downloaded the BIRT sources from GIT through eclipse (all steps described in Jason's link). Had to Add to eclipse some aditional features through "Install new Sofware" option, for the project to compile.

Searched for the class that I wanted to update, PieRenderer.java located in the project "org.eclipse.birt.chart.engine.extension", did the code change and after built that project using Ant (BuildChartEngineExtension.xml)

Installed the generated jar in our maven repository.

Updated the pom.xml to include that jar, below:

(...)

<dependency>
<groupId>org.eclipse.birt</groupId>
<artifactId>org.eclipse.birt.runtime</artifactId>
<version>3.7.2.v20120214-1408</version>

<exclusions>
<exclusion>
<artifactId>org.eclipse.birt.chart.extension</artifactId>
<groupId>org.eclipse.birt.chart.extension.render</groupId>
</exclusion>
</exclusions>
</dependency>

(...)

<dependency>
<groupId>org.eclipse.birt.chart.engine</groupId>
<artifactId>org.eclipse.birt.chart.engine.extension</artifactId>
<version>4.2.0</version>
</dependency>
(...)


[Updated on: Fri, 17 August 2012 08:44]

Report message to a moderator

Re: Change BIRT Source [message #902422 is a reply to message #902347] Fri, 17 August 2012 14:24 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Thanks for the update.

Jason

On 8/17/2012 4:43 AM, Ricardo Rodrigues wrote:
>
> Thank you Jason,
> Just to share my solution.
>
> I downloaded the BIRT sources from GIT through eclipse (all steps
> described in Jason's link). Had to Add to eclipse some aditional
> features through "Install new Sofware" option, for the project to compile.
>
> Searched for the class that I wanted to update, PieRenderer.java located
> in the project "org.eclipse.birt.chart.engine.extension", did the code
> change and after ran that project using Ant (BuildChartEngineExtension.xml)
>
> Installed the generated jar in our maven repository.
>
> Updated the pom.xml to include that jar, below:
>
> (...)
> <dependency>
> <groupId>org.eclipse.birt</groupId>
> <artifactId>org.eclipse.birt.runtime</artifactId>
> <version>3.7.2.v20120214-1408</version>
> <exclusions>
> <exclusion>
>
> <artifactId>org.eclipse.birt.chart.extension</artifactId>
>
> <groupId>org.eclipse.birt.chart.extension.render</groupId>
> </exclusion>
> </exclusions>
> </dependency>
>
> (...)
>
> <dependency>
> <groupId>org.eclipse.birt.chart.engine</groupId>
>
> <artifactId>org.eclipse.birt.chart.engine.extension</artifactId>
> <version>4.2.0</version>
> </dependency>
> (...)
>
>
>
Previous Topic:Grid Display
Next Topic:BIRT CHART
Goto Forum:
  


Current Time: Sat Nov 01 02:47:37 GMT 2014

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

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