From baff1951be55e1bb7247a34c420e2e81c30a23c0 Mon Sep 17 00:00:00 2001 From: hieplq Date: Fri, 8 Jul 2016 10:20:19 +0700 Subject: [PATCH] IDEMPIERE-3136:all stuff relate library of idempiere remove duplicate jar (bsh-engine, groovy-engine) update, move groovy to osgi add common bundle (now focus to support jasper report) --- org.adempiere.base-feature/feature.xml | 64 +++++++++++++ org.adempiere.base/.classpath | 3 - org.adempiere.base/META-INF/MANIFEST.MF | 95 +------------------ org.adempiere.base/build.properties | 3 - org.adempiere.base/copyjars.xml | 3 - org.adempiere.sdk-feature/adempiere.rmap | 11 +++ .../materialize.properties | 1 + org.adempiere.ui.swing/META-INF/MANIFEST.MF | 3 +- 8 files changed, 80 insertions(+), 103 deletions(-) diff --git a/org.adempiere.base-feature/feature.xml b/org.adempiere.base-feature/feature.xml index 6d8c0db261..f7e22681ad 100644 --- a/org.adempiere.base-feature/feature.xml +++ b/org.adempiere.base-feature/feature.xml @@ -299,4 +299,68 @@ install-size="0" version="0.0.0" unpack="false"/> + + + + + + + + + + + + + + + + + + + diff --git a/org.adempiere.base/.classpath b/org.adempiere.base/.classpath index 9d1123c354..8fea4bc2c7 100644 --- a/org.adempiere.base/.classpath +++ b/org.adempiere.base/.classpath @@ -7,8 +7,6 @@ - - @@ -16,7 +14,6 @@ - diff --git a/org.adempiere.base/META-INF/MANIFEST.MF b/org.adempiere.base/META-INF/MANIFEST.MF index 8eb35eb5e1..bdfe9cba8f 100644 --- a/org.adempiere.base/META-INF/MANIFEST.MF +++ b/org.adempiere.base/META-INF/MANIFEST.MF @@ -4,8 +4,6 @@ Bundle-Name: iDempiere Core Bundle-SymbolicName: org.adempiere.base;singleton:=true Bundle-Version: 3.1.0.qualifier Bundle-ClassPath: base.jar, - bsh-engine.jar, - groovy-engine.jar, jython-engine.jar, jython.jar, cron4j-2.2.5.jar, @@ -13,7 +11,6 @@ Bundle-ClassPath: base.jar, jcommon-1.0.23.jar, jfreechart-1.0.19.jar, jnlp.jar, - groovy-all-1.7.5.jar, barcode4j-2.1.jar, bsh-2.0b6.jar Export-Package: bsh, @@ -26,50 +23,6 @@ Export-Package: bsh, bsh.servlet, bsh.util, com.akunagroup.uk.postcode, - groovy.beans, - groovy.grape, - groovy.inspect, - groovy.inspect.swingui, - groovy.io, - groovy.jmx.builder, - groovy.lang, - groovy.mock.interceptor, - groovy.model, - groovy.security, - groovy.servlet, - groovy.sql, - groovy.swing, - groovy.swing.binding, - groovy.swing.factory, - groovy.swing.impl, - groovy.text, - groovy.time, - groovy.transform, - groovy.ui, - groovy.ui.text, - groovy.ui.view, - groovy.util, - groovy.util.slurpersupport, - groovy.xml, - groovy.xml.dom, - groovy.xml.streamingmarkupsupport, - groovyjarjarantlr, - groovyjarjarantlr.ASdebug, - groovyjarjarantlr.actions.cpp, - groovyjarjarantlr.actions.csharp, - groovyjarjarantlr.actions.java, - groovyjarjarantlr.actions.python, - groovyjarjarantlr.build, - groovyjarjarantlr.collections, - groovyjarjarantlr.collections.impl, - groovyjarjarantlr.debug, - groovyjarjarantlr.debug.misc, - groovyjarjarantlr.preprocessor, - groovyjarjarasm.asm, - groovyjarjarasm.asm.commons, - groovyjarjarasm.asm.signature, - groovyjarjarasm.asm.tree, - groovyjarjarcommonscli, it.sauronsoftware.cron4j, javax.jnlp, net.sourceforge.barbecue, @@ -96,51 +49,6 @@ Export-Package: bsh, org.adempiere.print.export, org.adempiere.process, org.adempiere.util, - org.codehaus.groovy, - org.codehaus.groovy.ant, - org.codehaus.groovy.antlr, - org.codehaus.groovy.antlr.java, - org.codehaus.groovy.antlr.parser, - org.codehaus.groovy.antlr.treewalker, - org.codehaus.groovy.ast, - org.codehaus.groovy.ast.builder, - org.codehaus.groovy.ast.expr, - org.codehaus.groovy.ast.stmt, - org.codehaus.groovy.binding, - org.codehaus.groovy.bsf, - org.codehaus.groovy.classgen, - org.codehaus.groovy.control, - org.codehaus.groovy.control.io, - org.codehaus.groovy.control.messages, - org.codehaus.groovy.groovydoc, - org.codehaus.groovy.jsr223, - org.codehaus.groovy.reflection, - org.codehaus.groovy.reflection.stdclasses, - org.codehaus.groovy.runtime, - org.codehaus.groovy.runtime.callsite, - org.codehaus.groovy.runtime.dgmimpl, - org.codehaus.groovy.runtime.dgmimpl.arrays, - org.codehaus.groovy.runtime.metaclass, - org.codehaus.groovy.runtime.typehandling, - org.codehaus.groovy.runtime.wrappers, - org.codehaus.groovy.syntax, - org.codehaus.groovy.tools, - org.codehaus.groovy.tools.ast, - org.codehaus.groovy.tools.groovydoc, - org.codehaus.groovy.tools.groovydoc.gstringTemplates, - org.codehaus.groovy.tools.gse, - org.codehaus.groovy.tools.javac, - org.codehaus.groovy.tools.shell, - org.codehaus.groovy.tools.shell.commands, - org.codehaus.groovy.tools.shell.util, - org.codehaus.groovy.tools.xml, - org.codehaus.groovy.transform, - org.codehaus.groovy.transform.powerassert, - org.codehaus.groovy.util, - org.codehaus.groovy.vmplugin, - org.codehaus.groovy.vmplugin.v4, - org.codehaus.groovy.vmplugin.v5, - org.codehaus.groovy.vmplugin.v6, org.compiere, org.compiere.acct, org.compiere.cm, @@ -283,4 +191,5 @@ Require-Bundle: org.eclipse.equinox.app;bundle-version="0.0.0", org.cryptacular, com.itextpdf;bundle-version="0.0.0", net.sf.supercsv.super-csv;bundle-version="0.0.0", - bcprov;bundle-version="1.54.0" + bcprov;bundle-version="1.54.0", + groovy-all;bundle-version="2.4.7" diff --git a/org.adempiere.base/build.properties b/org.adempiere.base/build.properties index 3c019641d8..cfe1fab328 100644 --- a/org.adempiere.base/build.properties +++ b/org.adempiere.base/build.properties @@ -1,8 +1,6 @@ bin.includes = META-INF/,\ base.jar,\ plugin.xml,\ - bsh-engine.jar,\ - groovy-engine.jar,\ jython-engine.jar,\ jython.jar,\ cron4j-2.2.5.jar,\ @@ -11,7 +9,6 @@ bin.includes = META-INF/,\ jfreechart-1.0.19.jar,\ jnlp.jar,\ OSGI-INF/,\ - groovy-all-1.7.5.jar,\ OSGI-INF/dslocator.xml,\ OSGI-INF/serverbean.xml,\ OSGI-INF/statusbean.xml,\ diff --git a/org.adempiere.base/copyjars.xml b/org.adempiere.base/copyjars.xml index 7e41f38344..c4e0102188 100644 --- a/org.adempiere.base/copyjars.xml +++ b/org.adempiere.base/copyjars.xml @@ -6,15 +6,12 @@ --> - - - diff --git a/org.adempiere.sdk-feature/adempiere.rmap b/org.adempiere.sdk-feature/adempiere.rmap index 064b10c54e..962bad1c93 100644 --- a/org.adempiere.sdk-feature/adempiere.rmap +++ b/org.adempiere.sdk-feature/adempiere.rmap @@ -14,6 +14,9 @@ + + + @@ -94,6 +97,11 @@ + + + + + @@ -141,6 +149,9 @@ + + + diff --git a/org.adempiere.sdk-feature/materialize.properties b/org.adempiere.sdk-feature/materialize.properties index 07695a5190..f8742f20b0 100644 --- a/org.adempiere.sdk-feature/materialize.properties +++ b/org.adempiere.sdk-feature/materialize.properties @@ -21,6 +21,7 @@ url.maven.restlet=http://maven.restlet.org url.equinox=http://download.eclipse.org/eclipse/updates/4.4 url.jetty=http://download.eclipse.org/jetty/updates/jetty-bundles-9.x url.orbit=http://download.eclipse.org/tools/orbit/downloads/drops/R20150124073747/repository +url.orbit.neon=http://download.eclipse.org/tools/orbit/downloads/drops/R20160520211859/repository/ url.file.srv=http://downloads.sourceforge.net/project/idempiere/binary.file diff --git a/org.adempiere.ui.swing/META-INF/MANIFEST.MF b/org.adempiere.ui.swing/META-INF/MANIFEST.MF index cc955f6fad..6cef900449 100644 --- a/org.adempiere.ui.swing/META-INF/MANIFEST.MF +++ b/org.adempiere.ui.swing/META-INF/MANIFEST.MF @@ -71,7 +71,8 @@ Export-Package: com.jgoodies.looks, Require-Bundle: org.adempiere.base;bundle-version="0.0.0", org.adempiere.ui;bundle-version="0.0.0", org.restlet;bundle-version="0.0.0", - org.restlet.ext.servlet;bundle-version="0.0.0" + org.restlet.ext.servlet;bundle-version="0.0.0", + groovy-all;bundle-version="0.0.0" Eclipse-ExtensibleAPI: true Eclipse-RegisterBuddy: org.adempiere.base Bundle-RequiredExecutionEnvironment: JavaSE-1.8