diff --git a/org.adempiere.base/.classpath b/org.adempiere.base/.classpath index ab9d04fe70..61dc5adb27 100644 --- a/org.adempiere.base/.classpath +++ b/org.adempiere.base/.classpath @@ -1,6 +1,6 @@ - + diff --git a/org.adempiere.base/META-INF/MANIFEST.MF b/org.adempiere.base/META-INF/MANIFEST.MF index d6a1dda267..cf58fe955a 100644 --- a/org.adempiere.base/META-INF/MANIFEST.MF +++ b/org.adempiere.base/META-INF/MANIFEST.MF @@ -15,7 +15,7 @@ Bundle-ClassPath: base.jar, jcommon-1.0.16.jar, jfreechart-1.0.13.jar, jnlp.jar, - groovy.jar + groovy-all-1.7.5.jar Export-Package: bsh, bsh.classpath, bsh.collection, @@ -48,11 +48,13 @@ Export-Package: bsh, com.lowagie.text.xml.simpleparser, com.lowagie.text.xml.xmp, com.lowagie.tools, + groovy.beans, + groovy.grape, groovy.inspect, groovy.inspect.swingui, groovy.io, + groovy.jmx.builder, groovy.lang, - groovy.mock, groovy.mock.interceptor, groovy.model, groovy.security, @@ -64,6 +66,7 @@ Export-Package: bsh, groovy.swing.impl, groovy.text, groovy.time, + groovy.transform, groovy.ui, groovy.ui.text, groovy.ui.view, @@ -85,6 +88,7 @@ Export-Package: bsh, groovyjarjarantlr.debug.misc, groovyjarjarantlr.preprocessor, groovyjarjarasm.asm, + groovyjarjarasm.asm.commons, groovyjarjarasm.asm.signature, groovyjarjarasm.asm.tree, groovyjarjarcommonscli, @@ -120,6 +124,7 @@ Export-Package: bsh, 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, @@ -129,22 +134,34 @@ Export-Package: bsh, 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.FA, org.compiere.acct, diff --git a/org.adempiere.base/build.properties b/org.adempiere.base/build.properties index d549f9243f..dd780d26d4 100644 --- a/org.adempiere.base/build.properties +++ b/org.adempiere.base/build.properties @@ -13,7 +13,7 @@ bin.includes = META-INF/,\ jfreechart-1.0.13.jar,\ jnlp.jar,\ OSGI-INF/,\ - groovy.jar + groovy-all-1.7.5.jar output.base.jar = build/ source.base.jar = src/ src.includes = schema/ diff --git a/org.adempiere.report.jasper.library/.classpath b/org.adempiere.report.jasper.library/.classpath index ef856733d9..1b183c2a50 100644 --- a/org.adempiere.report.jasper.library/.classpath +++ b/org.adempiere.report.jasper.library/.classpath @@ -1,12 +1,11 @@ - + + + + + - - - - - diff --git a/org.adempiere.report.jasper.library/META-INF/MANIFEST.MF b/org.adempiere.report.jasper.library/META-INF/MANIFEST.MF index f0b635431e..cfd368e5c5 100644 --- a/org.adempiere.report.jasper.library/META-INF/MANIFEST.MF +++ b/org.adempiere.report.jasper.library/META-INF/MANIFEST.MF @@ -3,97 +3,12 @@ Bundle-ManifestVersion: 2 Bundle-Name: JasperReports Dependency Bundle-SymbolicName: org.adempiere.report.jasper.library Bundle-Version: 1.0.0.qualifier -Bundle-ClassPath: lib/commons-beanutils-1.7.jar, - lib/commons-digester-1.7.jar, - lib/iReport.jar, - lib/jasperreports-3.7.3.jar, - lib/jfreechart-1.0.13.jar, - lib/ecj-3.7.2.jar +Bundle-ClassPath: lib/commons-beanutils-1.8.0.jar, + lib/commons-digester-2.1.jar, + lib/jasperreports-4.6.0.jar, + lib/jdt-compiler-3.1.1.jar, + lib/jasperreports-fonts-4.6.0.jar Export-Package: ., - be.savat.components, - it.businesslogic.ireport, - it.businesslogic.ireport.barcode, - it.businesslogic.ireport.chart, - it.businesslogic.ireport.chart.gui, - it.businesslogic.ireport.compiler, - it.businesslogic.ireport.compiler.xml, - it.businesslogic.ireport.connection, - it.businesslogic.ireport.connection.gui, - it.businesslogic.ireport.crosstab, - it.businesslogic.ireport.crosstab.gui, - it.businesslogic.ireport.data, - it.businesslogic.ireport.data.ejbql, - it.businesslogic.ireport.data.hibernate, - it.businesslogic.ireport.data.olap, - it.businesslogic.ireport.data.xml, - it.businesslogic.ireport.dtds, - it.businesslogic.ireport.examples, - it.businesslogic.ireport.examples.beans, - it.businesslogic.ireport.examples.chart, - it.businesslogic.ireport.examples.queryexecuter, - it.businesslogic.ireport.export, - it.businesslogic.ireport.gui, - it.businesslogic.ireport.gui.actions, - it.businesslogic.ireport.gui.box, - it.businesslogic.ireport.gui.command, - it.businesslogic.ireport.gui.dnd, - it.businesslogic.ireport.gui.docking, - it.businesslogic.ireport.gui.documentstructure, - it.businesslogic.ireport.gui.event, - it.businesslogic.ireport.gui.expbuilder, - it.businesslogic.ireport.gui.export, - it.businesslogic.ireport.gui.fonts, - it.businesslogic.ireport.gui.library, - it.businesslogic.ireport.gui.library.objects, - it.businesslogic.ireport.gui.listview, - it.businesslogic.ireport.gui.locale, - it.businesslogic.ireport.gui.logpane, - it.businesslogic.ireport.gui.prompt, - it.businesslogic.ireport.gui.queryexecuters, - it.businesslogic.ireport.gui.sheet, - it.businesslogic.ireport.gui.style, - it.businesslogic.ireport.gui.subdataset, - it.businesslogic.ireport.gui.syntax, - it.businesslogic.ireport.gui.table, - it.businesslogic.ireport.gui.wizard, - it.businesslogic.ireport.icons, - it.businesslogic.ireport.icons.charts, - it.businesslogic.ireport.icons.crosstab, - it.businesslogic.ireport.icons.datasource, - it.businesslogic.ireport.icons.docking, - it.businesslogic.ireport.icons.layout, - it.businesslogic.ireport.icons.library, - it.businesslogic.ireport.icons.log, - it.businesslogic.ireport.icons.menu, - it.businesslogic.ireport.icons.newtoolbar, - it.businesslogic.ireport.icons.olap, - it.businesslogic.ireport.icons.palette, - it.businesslogic.ireport.icons.problems, - it.businesslogic.ireport.icons.sheet, - it.businesslogic.ireport.icons.styles, - it.businesslogic.ireport.icons.toolbars, - it.businesslogic.ireport.icons.toolbars.format, - it.businesslogic.ireport.icons.toolbars.text, - it.businesslogic.ireport.icons.tree, - it.businesslogic.ireport.icons.tree.editor, - it.businesslogic.ireport.icons.tree.elements, - it.businesslogic.ireport.icons.tree.javabean, - it.businesslogic.ireport.icons.xml, - it.businesslogic.ireport.locale, - it.businesslogic.ireport.plugin, - it.businesslogic.ireport.plugin.checkupdate, - it.businesslogic.ireport.plugin.examples, - it.businesslogic.ireport.plugin.jforg, - it.businesslogic.ireport.plugin.jrx, - it.businesslogic.ireport.plugin.locale, - it.businesslogic.ireport.plugin.massivecompiler, - it.businesslogic.ireport.plugin.oracle, - it.businesslogic.ireport.plugin.textwizard, - it.businesslogic.ireport.refactoring, - it.businesslogic.ireport.res, - it.businesslogic.ireport.rmi, - it.businesslogic.ireport.undo, - it.businesslogic.ireport.util, net.sf.jasperreports.ant, net.sf.jasperreports.charts, net.sf.jasperreports.charts.base, @@ -106,9 +21,18 @@ Export-Package: ., net.sf.jasperreports.components, net.sf.jasperreports.components.barbecue, net.sf.jasperreports.components.barcode4j, + net.sf.jasperreports.components.charts, + net.sf.jasperreports.components.headertoolbar, + net.sf.jasperreports.components.headertoolbar.actions, net.sf.jasperreports.components.list, + net.sf.jasperreports.components.map, + net.sf.jasperreports.components.sort, + net.sf.jasperreports.components.sort.actions, + net.sf.jasperreports.components.spiderchart, + net.sf.jasperreports.components.spiderchart.type, net.sf.jasperreports.components.table, net.sf.jasperreports.components.table.fill, + net.sf.jasperreports.components.table.util, net.sf.jasperreports.crosstabs, net.sf.jasperreports.crosstabs.base, net.sf.jasperreports.crosstabs.design, @@ -116,6 +40,25 @@ Export-Package: ., net.sf.jasperreports.crosstabs.fill.calculation, net.sf.jasperreports.crosstabs.type, net.sf.jasperreports.crosstabs.xml, + net.sf.jasperreports.data, + net.sf.jasperreports.data.bean, + net.sf.jasperreports.data.cache, + net.sf.jasperreports.data.csv, + net.sf.jasperreports.data.ds, + net.sf.jasperreports.data.ejbql, + net.sf.jasperreports.data.empty, + net.sf.jasperreports.data.hibernate, + net.sf.jasperreports.data.hibernate.spring, + net.sf.jasperreports.data.jdbc, + net.sf.jasperreports.data.jndi, + net.sf.jasperreports.data.json, + net.sf.jasperreports.data.mondrian, + net.sf.jasperreports.data.provider, + net.sf.jasperreports.data.qe, + net.sf.jasperreports.data.xls, + net.sf.jasperreports.data.xlsx, + net.sf.jasperreports.data.xml, + net.sf.jasperreports.data.xmla, net.sf.jasperreports.engine, net.sf.jasperreports.engine.base, net.sf.jasperreports.engine.component, @@ -130,7 +73,7 @@ Export-Package: ., net.sf.jasperreports.engine.export.legacy, net.sf.jasperreports.engine.export.oasis, net.sf.jasperreports.engine.export.ooxml, - net.sf.jasperreports.engine.export.xmlss, + net.sf.jasperreports.engine.export.ooxml.type, net.sf.jasperreports.engine.export.zip, net.sf.jasperreports.engine.fill, net.sf.jasperreports.engine.fonts, @@ -151,10 +94,18 @@ Export-Package: ., net.sf.jasperreports.olap.result, net.sf.jasperreports.olap.xmla, net.sf.jasperreports.renderers, + net.sf.jasperreports.repo, net.sf.jasperreports.swing, + net.sf.jasperreports.util, net.sf.jasperreports.view, net.sf.jasperreports.view.images, net.sf.jasperreports.view.save, + net.sf.jasperreports.web, + net.sf.jasperreports.web.actions, + net.sf.jasperreports.web.commands, + net.sf.jasperreports.web.listeners, + net.sf.jasperreports.web.servlets, + net.sf.jasperreports.web.util, org.apache.commons.beanutils, org.apache.commons.beanutils.converters, org.apache.commons.beanutils.locale, @@ -166,42 +117,21 @@ Export-Package: ., org.apache.commons.digester.plugins.strategies, org.apache.commons.digester.substitution, org.apache.commons.digester.xmlrules, - org.jfree.chart, - org.jfree.chart.annotations, - org.jfree.chart.axis, - org.jfree.chart.block, - org.jfree.chart.demo, - org.jfree.chart.editor, - org.jfree.chart.encoders, - org.jfree.chart.entity, - org.jfree.chart.event, - org.jfree.chart.imagemap, - org.jfree.chart.labels, - org.jfree.chart.needle, - org.jfree.chart.plot, - org.jfree.chart.renderer, - org.jfree.chart.renderer.category, - org.jfree.chart.renderer.xy, - org.jfree.chart.resources, - org.jfree.chart.servlet, - org.jfree.chart.title, - org.jfree.chart.urls, - org.jfree.chart.util, - org.jfree.data, - org.jfree.data.category, - org.jfree.data.contour, - org.jfree.data.function, - org.jfree.data.gantt, - org.jfree.data.general, - org.jfree.data.io, - org.jfree.data.jdbc, - org.jfree.data.resources, - org.jfree.data.statistics, - org.jfree.data.time, - org.jfree.data.xml, - org.jfree.data.xy, - org.syntax.jedit, - org.syntax.jedit.tokenmarker, + org.eclipse.jdt.core.compiler, + org.eclipse.jdt.internal.compiler, + org.eclipse.jdt.internal.compiler.ast, + org.eclipse.jdt.internal.compiler.batch, + org.eclipse.jdt.internal.compiler.classfmt, + org.eclipse.jdt.internal.compiler.codegen, + org.eclipse.jdt.internal.compiler.env, + org.eclipse.jdt.internal.compiler.flow, + org.eclipse.jdt.internal.compiler.impl, + org.eclipse.jdt.internal.compiler.lookup, + org.eclipse.jdt.internal.compiler.parser, + org.eclipse.jdt.internal.compiler.parser.diagnose, + org.eclipse.jdt.internal.compiler.problem, + org.eclipse.jdt.internal.compiler.util, + org.eclipse.jdt.internal.core.util, org.w3c.tools.codec Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Import-Package: com.lowagie.text, @@ -210,7 +140,6 @@ Import-Package: com.lowagie.text, groovy.inspect.swingui, groovy.io, groovy.lang, - groovy.mock, groovy.mock.interceptor, groovy.model, groovy.security, @@ -287,5 +216,6 @@ Import-Package: com.lowagie.text, org.codehaus.groovy.vmplugin, org.codehaus.groovy.vmplugin.v4, org.codehaus.groovy.vmplugin.v5 -Eclipse-BuddyPolicy: registered +DynamicImport-Package: * + diff --git a/org.adempiere.report.jasper.library/build.properties b/org.adempiere.report.jasper.library/build.properties index b454ba298b..4b983e516a 100644 --- a/org.adempiere.report.jasper.library/build.properties +++ b/org.adempiere.report.jasper.library/build.properties @@ -1,7 +1,6 @@ bin.includes = META-INF/,\ - lib/commons-beanutils-1.7.jar,\ - lib/commons-digester-1.7.jar,\ - lib/iReport.jar,\ - lib/jasperreports-3.7.3.jar,\ - lib/jfreechart-1.0.13.jar,\ - lib/ecj-3.7.2.jar + lib/commons-beanutils-1.8.0.jar,\ + lib/commons-digester-2.1.jar,\ + lib/jasperreports-4.6.0.jar,\ + lib/jdt-compiler-3.1.1.jar,\ + lib/jasperreports-fonts-4.6.0.jar diff --git a/org.adempiere.report.jasper.library/resource/test/14001.jpg b/org.adempiere.report.jasper.library/resource/test/14001.jpg new file mode 100644 index 0000000000..684bf76ad6 Binary files /dev/null and b/org.adempiere.report.jasper.library/resource/test/14001.jpg differ diff --git a/org.adempiere.report.jasper.library/resource/test/18001.jpg b/org.adempiere.report.jasper.library/resource/test/18001.jpg new file mode 100644 index 0000000000..4261d9e2a8 Binary files /dev/null and b/org.adempiere.report.jasper.library/resource/test/18001.jpg differ diff --git a/org.adempiere.report.jasper.library/resource/test/2200.jpg b/org.adempiere.report.jasper.library/resource/test/2200.jpg new file mode 100644 index 0000000000..fe8ffab851 Binary files /dev/null and b/org.adempiere.report.jasper.library/resource/test/2200.jpg differ diff --git a/org.adempiere.report.jasper.library/resource/test/9001.jpg b/org.adempiere.report.jasper.library/resource/test/9001.jpg new file mode 100644 index 0000000000..d58f3c1b9d Binary files /dev/null and b/org.adempiere.report.jasper.library/resource/test/9001.jpg differ diff --git a/org.adempiere.report.jasper.library/resource/test/OrderFormat.jrxml b/org.adempiere.report.jasper.library/resource/test/OrderFormat.jrxml new file mode 100644 index 0000000000..1adbafd85f --- /dev/null +++ b/org.adempiere.report.jasper.library/resource/test/OrderFormat.jrxml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + +