-
Notifications
You must be signed in to change notification settings - Fork 389
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
Improve org.eclipse.birt.engine.runtime content #1822
Conversation
merks
commented
Jul 25, 2024
- Remove SWT dependencies because only the win32 fragment has been available so this can't have worked across operating systems.
- Ensure the runtime is based on the latest orbit aggregation dependencies, except for derby.
- Specify org.apache.commons.commons-logging in DeploymentRuntime category.xml and in org.eclipse.birt.report.data.oda.excel.
- Improve the runtime_readme.txt to remove the out-dated dependency descriptions and to use current https URLs.
- Remove org.eclipse.birt.chart.device.swt from the org.eclipse.birt.chart.osgi.runtime feature.
- Remove org.eclipse.pde.ui from org.eclipse.birt.report.designer.ui.ide.
- Remove SWT dependencies because only the win32 fragment has been available so this can't have worked across operating systems. - Ensure the runtime is based on the latest orbit aggregation dependencies, except for derby. - Specify org.apache.commons.commons-logging in DeploymentRuntime category.xml and in org.eclipse.birt.report.data.oda.excel. - Improve the runtime_readme.txt to remove the out-dated dependency descriptions and to use current https URLs. - Remove org.eclipse.birt.chart.device.swt from the org.eclipse.birt.chart.osgi.runtime feature. - Remove org.eclipse.pde.ui from org.eclipse.birt.report.designer.ui.ide.
This reduces the runtime content to the following where only the derby dependency does not come from the current orbit aggregation. I really think removing the swt dependencies is the right thing to do... Any concerns? |
I think SWT is used for the charting component. |
Yes, it's used in the IDE to render charts and it's still in the charts feature and still installed in the IDE: In the runtime though I expect charts are rendered to SVG and/or PDF and not to SWT widgets. Moreover, it can't possibly have worked in the runtime in general in the past because there has never been linux or macos fragments included (and two of each for the two support architectures). Even if it those were included, in the non-OSGi runtime it's a flat classpath, so one cannot possibly include both or many and expect the correct one be chosen and to work correctly. So, as far as I can tell, it always will be and always has been completely bogus to include it in the runtimes. Of course the entire workbench was previously included in the runtime which also completely bogus. I expect no one complains about bogus junk but rather only note a problem if something is missing because something doesn't work. |
I'm fine to merge, but the runtime readme is explicit about it: |
Ok, let's merge and test some reports when the nightly is available. |
If you find more and more then we will get a BIRT-slim-version ;o) |
Guys, if I manage to create a new bundlized version of derby, how can I test/validate that it work corrects? Please assume that I"m really stupid and that nothing which might seem obvious to you will actually be obvious to me... |
In BIRT all-in-one? I have a getting started video here: |
You can perform at least a basic test if for example you create a new data source, choose the Classic Models Inc Sample DataSource, For the image, it is slightly more complicated, so I'm not going to explain here. The data is shown as hex values. But for the sake of testing basic Derby functionality, this should suffice IMHO. |
Thanks for the info guys. This is super helpful!! |
Drop this in a project and run it. Remove the txt extension. |
@merks I see another point at your screen where I not know if it is wanted or not. Do you know if it is "normal" / "wanted" with eclipse 2024-09? |
That's the "new improved modern styling" from the platform: |
Ahhh, ohhh, it's not a bug its a feature. |