Flugtiger / birt

Eclipse BIRT™ The open source reporting and data visualization project.
http://www.eclipse.org/birt
Eclipse Public License 1.0
5 stars 4 forks source link

POI version #49

Open thomashoef opened 4 years ago

thomashoef commented 4 years ago

Hi!

Would it be easy to update POI to 3.17 - what would the steps be that are required?

Thanks Thomas

Flugtiger commented 4 years ago

Hi,

  1. there has to be a bundled version of POI 3.17
  2. the current version comes from Eclipse Orbit and there is currently no newer version available on Orbit so you would have to create one by yourself
  3. after you have created the bundle, either add it to the BIRT source or to Eclipse Orbit and update all emitters that depend on POI to the new version
  4. make sure everything works as expected and you're good to go 😃
Flugtiger commented 4 years ago

also this stackoverflow article could be useful: https://stackoverflow.com/questions/29825944/how-to-use-apache-poi-in-osgi

thomashoef commented 4 years ago

Hi Alexander,

Thanks a lot for your reply. Could you pls let me know where in the BIRT source I can place to bundle jar? I was planning on picking up the new POI bundle jar from here: https://jar-download.com/artifacts/org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi

Thanks! Thomas

Am 18.03.2020 um 15:09 schrieb Alexander Lehmann notifications@github.com<mailto:notifications@github.com>:

Hi,

  1. there has to be a bundled versionhttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FOSGi%23Bundles&data=02%7C01%7C%7Ca0ce1d06f33c41c9c8cb08d7cb45f629%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637201373641529416&sdata=VI62ijYzS2q29SaQzRHaDKNiuf9BtIomiYo45OMmxmI%3D&reserved=0 of POI 3.17
  2. the current version comes from Eclipse Orbit and there is currently no newer version available on Orbit so you would have to create one by yourself
  3. after you have created the bundle, either add it to the BIRT source or to Eclipse Orbit and update all emitters that depend on POI to the new version
  4. make sure everything works as expected and your good to go 😃

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FFlugtiger%2Fbirt%2Fissues%2F49%23issuecomment-600644354&data=02%7C01%7C%7Ca0ce1d06f33c41c9c8cb08d7cb45f629%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637201373641534407&sdata=ZOwMV5%2B5HESiYQ9jLeLal78%2FIWosvhVXvZM7CQYsuoU%3D&reserved=0, or unsubscribehttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAG2LZYTSNOGC2FHSL555Q33RIDIZHANCNFSM4LOQZRJA&data=02%7C01%7C%7Ca0ce1d06f33c41c9c8cb08d7cb45f629%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637201373641539400&sdata=%2FDA3potMuz6CbgkJ6fCNtTS1Ge%2FBLrcQwRtzDMcsGNE%3D&reserved=0.

Flugtiger commented 4 years ago

That's a good question. The bundle jar has to get into the target platform somehow. Maybe you find a way to do this in the documentation of tycho, which is used to build BIRT. Maybe tycho can even use a maven dependency to the jar as the source of the bundle.

Flugtiger commented 4 years ago

Btw, the bundle jar is available in maven central: https://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi