Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce org.eclipse.birt.engine.runtime content #1821

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

merks
Copy link
Contributor

@merks merks commented Jul 24, 2024

  • Remove org.eclipse.rcp to eliminate UI dependencies.
  • Add a minimized set of additional plugins.
  • Remove UI bundles from the org.eclipse.birt.chart.osgi.runtime feature.
  • Remove org.eclipse.core.resources from org.eclipse.birt.report.viewer.

- Remove org.eclipse.rcp to eliminate UI dependencies.
- Add a minimized set of additional plugins.
- Remove UI bundles from the org.eclipse.birt.chart.osgi.runtime
feature.
- Remove org.eclipse.core.resources from org.eclipse.birt.report.viewer.
@merks
Copy link
Contributor Author

merks commented Jul 24, 2024

@speckyspooky @wimjongman @hvbargen @SteveSchafer-Innovent

Guys, this significantly reduces the content of the two runtimes; about ~15-20% smaller in bytes. Both runtimes pass their basic tests.

The /ReportEngine/lib has 82 jars instead of 141. The /birt.war/WEB-INF/lib/ has 107 jars instead of 166.

Any concerns before I merge?


FYI, I'm still suspicious out the SWT dependencies. Only the win32 fragment is present so I'm doubtful this can work across different operating system and no one has complained about that.

@speckyspooky
Copy link
Contributor

It sounds very good to me to reduce the dependencies and shrink the runtimes.
After the merge we should test the runtimes integrated at application server to verify the working of our standard reports.

@speckyspooky speckyspooky added the Dependencies Pull requests that update a dependency file label Jul 24, 2024
@speckyspooky speckyspooky added this to the 4.17 milestone Jul 24, 2024
@wimjongman
Copy link
Contributor

Nice. Please merge.

@merks merks merged commit 35bade5 into eclipse-birt:master Jul 25, 2024
3 checks passed
@merks merks deleted the pr-minimize-runtime branch July 25, 2024 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants