From 29dac9e3fb15db60fa6fa0364f79fd6a533cde73 Mon Sep 17 00:00:00 2001 From: hieplq Date: Sun, 14 May 2017 22:39:20 +0700 Subject: [PATCH] IDEMPIERE-3136:update jasper report to use P2 update note install launch --- org.adempiere.install/install.app.launch | 2 +- .../note_for_update_jr_library.readme | 10 ++++++++++ .../setup/configuration/config.ini | 4 ++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/org.adempiere.install/install.app.launch b/org.adempiere.install/install.app.launch index e6f0bd0ae1..71cf48bc72 100644 --- a/org.adempiere.install/install.app.launch +++ b/org.adempiere.install/install.app.launch @@ -21,7 +21,7 @@ - + diff --git a/org.adempiere.report.jasper.library/note_for_update_jr_library.readme b/org.adempiere.report.jasper.library/note_for_update_jr_library.readme index e2c0670cfc..a8c85bc356 100644 --- a/org.adempiere.report.jasper.library/note_for_update_jr_library.readme +++ b/org.adempiere.report.jasper.library/note_for_update_jr_library.readme @@ -37,3 +37,13 @@ note for p2 but after 1.50 bcprov change some package like org.bouncycastle.ocsp to org.bouncycastle.cert.ocsp success to run both version bcprov 1.50 and bcprov 1.56 but it make start progress take long time (about 2 minute) so better use Bundle-ClassPath for bcprov-jdk14-139 go with jasperreport + +5. TIBCOJaspersoftStudio-6.3.1.final/plugins also have osgi version of jasper report runtime, bundle name net.sf.jasperreports, file name net.sf.jasperreports_6.3.1.final +but it use bundle dependency, so have to use all bundle package by jasper ever it already have osgi version on idempiere +it ever force us to use a old version of beanshell (bsh-2.0b4) with a security issue + +so i like to create osgi version from jasperreports-6.3.1/dist/jasperreports-6.3.1.jar +manifest of jasperreports-6.3.1.jar already have osgi metadata and bundle name is net.sf.jasperreports.engine +so just change file name to net.sf.jasperreports.engine_6.3.1.jar and run ${ECLIPSE_FOLDER}/eclipse -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher + +note: net.sf.jasperreports.engine_6.3.1.jar use package dynamic import \ No newline at end of file diff --git a/org.adempiere.server-feature/setup/configuration/config.ini b/org.adempiere.server-feature/setup/configuration/config.ini index 2291ba4e26..2ca860ed57 100644 --- a/org.adempiere.server-feature/setup/configuration/config.ini +++ b/org.adempiere.server-feature/setup/configuration/config.ini @@ -49,6 +49,10 @@ osgi.bundles=org.eclipse.equinox.ds@1:start,\ org.cryptacular,\ net.sf.supercsv.super-csv,\ com.itextpdf,\ + com.jaspersoft.studio.bundles.barbecue,\ + org.jfree.chart-osgi,\ + org.jfree.jcommon-osgi,\ + org.krysalis.barcode4j,\ bcprov,\ bcpkix,\ org.eclipse.equinox.common,\