Commit Graph

148 Commits

Author SHA1 Message Date
hengsin a79be8aad8
IDEMPIERE-4749 Allow to use OAuth2 libraries on plugins (#668)
* IDEMPIERE-4749 Allow to use OAuth2 libraries on plugins

- move oauth libraries and dependency to target platform
- require Tycho 2.3.0+ and Eclipse 2021-03+

* IDEMPIERE-4749 Allow to use OAuth2 libraries on plugins

Fix launch configuration.
2021-04-28 14:59:50 +02:00
hengsin 3beccdf38e
IDEMPIERE-4722 Remove constraint that idempiere source folder must be… (#606)
* IDEMPIERE-4722 Remove constraint that idempiere source folder must be used as Eclipse workspace

use project_loc of org.adempiere.base instead of workspace_loc
integrate additional fix from Carlos
2021-03-02 20:51:20 +08:00
hengsin fadc540557
IDEMPIERE-4635 Model Generator launch configuration broken (#515)
* IDEMPIERE-4635 Model Generator launch configuration broken

* IDEMPIERE-4635 Model Generator launch configuration broken

fix other launch configuration
2021-01-08 16:56:21 +01:00
Carlos Ruiz 8103ab0732 IDEMPIERE-4604 Release 8.2
Change references to new version
Create new migration folder
2020-12-20 10:15:20 +01:00
hieplq 1558d4d6dc
IDEMPIERE-4537 java.lang.NoClassDefFoundError: org/apache/commons/math3/util/ArithmeticUtils - xls reporting (#406) 2020-11-24 11:58:57 +01:00
Carlos Ruiz d76f731571
IDEMPIERE-4531 WARN: oeja.AnnotationParser scanned from multiple loca… (#364)
* IDEMPIERE-4531 WARN: oeja.AnnotationParser scanned from multiple locations

* IDEMPIERE-4531 WARN: oeja.AnnotationParser scanned from multiple locations
2020-11-09 23:13:25 +08:00
Carlos Ruiz 6487fe9cdc IDEMPIERE-4521 Release 8.1 - RC
More reference changes
2020-11-03 21:59:12 +01:00
hieplq 6e96c43303
IDEMPIERE-4492 fix for rest api (#343)
* IDEMPIERE-4492 update jetty to 9.4.33.v20201020 update atmosphere to 2.5.15

* IDEMPIERE-4492 update jetty to 9.4.33.v20201020 (update configuration)

update to default jetty configuration
delete unused configuration (alpn, http2,..)

* IDEMPIERE-4492 update orbit eclipse repository to 4.17

* IDEMPIERE-4492 update orbit eclipse repository to 4.17 (on parent pom)

* IDEMPIERE-4492 update jasper to 6.15.0

* IDEMPIERE-4492 update jasper to 6.15.0 (IDEMPIERE-4504)

get rid of bundle "org.w3c.dom.events version 3.0.0" by use old version of org.w3c.dom.smil

note: on target platform a bundle has multi version then tycho can pickup correct version define on feature (tab included plugins, field version)
but on eclipse when sync launching from .product it don't respect that value, always set highest version to bundle
workaround: on target platform manual un-select bundle org.w3c.dom.smil 1.0.1

* IDEMPIERE-4492 update atmosphere to 2.6.4

* IDEMPIERE-4492 refine target platform

use targetplatform-dsl to generate target platform https://github.com/eclipse-cbi/targetplatform-dsl
   + don't need to care update bundle version when update repository
   + at moment org.idempiere.eclipse.platform-feature include some feature form eclipse repository
     so target has to include that feature so target platform will include all bundler request by feature and bundle request by plugins of that feature and so on (ever optional
     so it make target content has more plugins than what we use on project
     next step will convert include feature to include plugins to define only what we used

* IDEMPIERE-4492 refine target platform (continue)

don't include framework feature, use include plugins to void load transitive dependency so minimize target flatform
remove some unused feature from idempiere product

* IDEMPIERE-4492 update c3p0 and database jdbc (patch from Carlos)

* IDEMPIERE-4492 improve target platform (continue)

provide test bundle require to repository for use on offline
remove some unused bundle
also fix for IDEMPIERE-4475

* IDEMPIERE-4492 improve target platform (continue IDEMPIERE-4475)

add launch for unittest
add more require bundle for unit test

* IDEMPIERE-4492 fix for rest api

refer:https://github.com/eclipse-ee4j/jersey/issues/3588#issuecomment-720033467

* IDEMPIERE-4492 fix for rest api

refer:https://github.com/eclipse-ee4j/jersey/issues/3588#issuecomment-720033467
2020-11-01 13:22:11 +01:00
hieplq d2a2e3d19f
Idempiere 4492 improve target platform (continue) (#335)
* IDEMPIERE-4492 update jetty to 9.4.33.v20201020 update atmosphere to 2.5.15

* IDEMPIERE-4492 update jetty to 9.4.33.v20201020 (update configuration)

update to default jetty configuration
delete unused configuration (alpn, http2,..)

* IDEMPIERE-4492 update orbit eclipse repository to 4.17

* IDEMPIERE-4492 update orbit eclipse repository to 4.17 (on parent pom)

* IDEMPIERE-4492 update jasper to 6.15.0

* IDEMPIERE-4492 update jasper to 6.15.0 (IDEMPIERE-4504)

get rid of bundle "org.w3c.dom.events version 3.0.0" by use old version of org.w3c.dom.smil

note: on target platform a bundle has multi version then tycho can pickup correct version define on feature (tab included plugins, field version)
but on eclipse when sync launching from .product it don't respect that value, always set highest version to bundle
workaround: on target platform manual un-select bundle org.w3c.dom.smil 1.0.1

* IDEMPIERE-4492 update atmosphere to 2.6.4

* IDEMPIERE-4492 refine target platform

use targetplatform-dsl to generate target platform https://github.com/eclipse-cbi/targetplatform-dsl
   + don't need to care update bundle version when update repository
   + at moment org.idempiere.eclipse.platform-feature include some feature form eclipse repository
     so target has to include that feature so target platform will include all bundler request by feature and bundle request by plugins of that feature and so on (ever optional
     so it make target content has more plugins than what we use on project
     next step will convert include feature to include plugins to define only what we used

* IDEMPIERE-4492 refine target platform (continue)

don't include framework feature, use include plugins to void load transitive dependency so minimize target flatform
remove some unused feature from idempiere product

* IDEMPIERE-4492 update c3p0 and database jdbc (patch from Carlos)

* IDEMPIERE-4492 improve target platform (continue)

provide test bundle require to repository for use on offline
remove some unused bundle
also fix for IDEMPIERE-4475

* IDEMPIERE-4492 improve target platform (continue IDEMPIERE-4475)

add launch for unittest
add more require bundle for unit test
2020-10-31 13:48:16 +01:00
hieplq 58258ad506
Idempiere-4492 update library (eclipse-4.17, jasper 6-15, jetty-9.4.33, atmosphere-2.6.4) (#331)
* IDEMPIERE-4492 update jetty to 9.4.33.v20201020 update atmosphere to 2.5.15

* IDEMPIERE-4492 update jetty to 9.4.33.v20201020 (update configuration)

update to default jetty configuration
delete unused configuration (alpn, http2,..)

* IDEMPIERE-4492 update orbit eclipse repository to 4.17

* IDEMPIERE-4492 update orbit eclipse repository to 4.17 (on parent pom)

* IDEMPIERE-4492 update jasper to 6.15.0

* IDEMPIERE-4492 update jasper to 6.15.0 (IDEMPIERE-4504)

get rid of bundle "org.w3c.dom.events version 3.0.0" by use old version of org.w3c.dom.smil

note: on target platform a bundle has multi version then tycho can pickup correct version define on feature (tab included plugins, field version)
but on eclipse when sync launching from .product it don't respect that value, always set highest version to bundle
workaround: on target platform manual un-select bundle org.w3c.dom.smil 1.0.1

* IDEMPIERE-4492 update atmosphere to 2.6.4

* IDEMPIERE-4492 refine target platform

use targetplatform-dsl to generate target platform https://github.com/eclipse-cbi/targetplatform-dsl
   + don't need to care update bundle version when update repository
   + at moment org.idempiere.eclipse.platform-feature include some feature form eclipse repository
     so target has to include that feature so target platform will include all bundler request by feature and bundle request by plugins of that feature and so on (ever optional
     so it make target content has more plugins than what we use on project
     next step will convert include feature to include plugins to define only what we used

* IDEMPIERE-4492 refine target platform (continue)

don't include framework feature, use include plugins to void load transitive dependency so minimize target flatform
remove some unused feature from idempiere product

* IDEMPIERE-4492 update c3p0 and database jdbc (patch from Carlos)
2020-10-31 06:53:36 +08:00
hieplq 595e0df99c
Idempiere-4298:support update jdk (jdk 12 13 14) (#69)
* IDEMPIERE-4298: remove Bundle-RequiredExecutionEnvironment

when build by tycho value of Bundle-RequiredExecutionEnvironment and jdt need to compatibility
in case we use Bundle-RequiredExecutionEnvironment = 11 then can't build by jdk != 11
so stick on fix value isn't good

eclipse now also support Require-Capability, so don't need Bundle-RequiredExecutionEnvironment anymore

* IDEMPIERE-4298:support update jdk (jdk 12 13 14)

default environment still jdk-11 but you can build for any jdk by below command

export JAVA_HOME=path to jdk
mvn verify -Djdk.version=11

in case on JAVA_HOME is jdk 14 then can set jdk.version for 11, 12, 13, 14 and same for other jdk

at moment java 14 just support on eclipse 2020-03 with install plugin
Java 14 Support for Eclipse 2020-03 (4.15)
2020-05-20 11:18:31 +08:00
hengsin 9d937aa328
IDEMPIERE-4267 Remove org.adempiere.report.jasper.webapp (#33)
* IDEMPIERE-4267 Remove org.adempiere.report.jasper.webapp

Remove org.adempiere.report.jasper.webapp project.
Use reportfilename.md5 to get remote md5 hash.
Use hex instead of base64 for md5 hash.
Copy standalone.jrxml to org.adempiere.report.jasper/test folder.

* IDEMPIERE-4267 Remove org.adempiere.report.jasper.webapp

Remove org.adempiere.report.jasper.fragment.test project
Added space checking for the default hash created by the md5sum command
line tool.
2020-05-06 13:08:58 +02:00
hengsin c3cad0d1e2
IDEMPIERE-4249 Platform Refresh for 7.1z (#19)
Upgrade to Tycho 1.7.0, Eclipse 2020-03, Zk 9.0.1 and Jetty 9.4.28
2020-04-30 16:01:19 +02:00
hengsin 0b3d1415b5 IDEMPIERE-4199 Clean up org.adempiere.extend 2020-04-02 19:27:07 +08:00
hengsin b8cc9cf2b4 IDEMPIERE-4168 Move Webstore out of core 2020-02-07 11:01:05 +08:00
hengsin 3cc17d25fd IDEMPIERE-4158 Move Swing Client out of core. Drop restlet dependency, drop webstart and applet stuffs and some minor dependency adjustments. 2020-01-29 08:00:36 +08:00
Carlos Ruiz cf379fca3c IDEMPIERE-4136 Upgrading Jasper report
Fix launchers with the new versions of bundles, and changes to the new
eclipse 2019-12 format
2019-12-29 14:01:41 +01:00
Deepak Pansheriya f13bcd6de9 IDEMPIERE-4136: Upgrading Jasper report to version 6.11.0 2019-12-25 20:28:37 +05:30
Carlos Ruiz 9eda617e8d Rename and configure .gitignore / fix problem with server.product.launch 2019-12-06 19:08:14 +01:00
Heng Sin Low da38704be3 IDEMPIERE-4120 Refactor org.adempiere.eclipse.equinox.http.servlet 2019-11-29 17:13:51 +08:00
Carlos Ruiz b69ac7b6f8 IDEMPIERE-4013 iDempiere should not require Conscrypt - fix server.product launcher 2019-10-22 14:18:08 +02:00
Dirk Niemeyer 12cde3af20 IDEMPIERE-4013 iDempiere should not require Conscrypt 2019-10-22 13:18:17 +02:00
Murilo Habermann Torquato 042740a2dc IDEMPIERE-3946 - cxf version on webservices and dependencies on target platform 2019-04-30 17:52:38 -03:00
Heng Sin Low bf2b531267 IDEMPIERE-3946 Upgrade to Tycho 1.4.0 2019-04-11 20:22:24 +08:00
hieplq d0ca3eb7be IDEMPIERE-3908:webservice client example
fix conflict of javax.xml.soap from axis
https://idempiere.atlassian.net/browse/IDEMPIERE-3908?focusedCommentId=43048&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-43048
2019-03-05 11:33:04 +07:00
hieplq 735ffd81d4 IDEMPIERE-3908:webservice client example
finally
2019-03-04 17:55:08 +07:00
hieplq 32d4d189f9 IDEMPIERE-3908:webservice client example
fix to can build with maven
2019-03-04 04:46:08 +07:00
hieplq 9d5e5212e7 IDEMPIERE-3908:webservice client example
add feature to load library use on webservice client
2019-03-03 23:42:44 +07:00
hieplq fb1ebefdf2 IDEMPIERE-3909:update webservice library to jdk-11 2019-03-02 20:22:16 +07:00
Carlos Ruiz e278db4d73 IDEMPIERE-3808 - remove environment variable J2D_UISCALE - breaking windows execution of swing 2019-01-31 19:01:01 +01:00
hieplq 272d212b1a IDEMPIERE-2003: patch for ZK-4198 by Carlos
Capturing wrong numbers with numeric keypad when decimal separator is not dot
2019-01-18 19:29:43 +07:00
Carlos Ruiz f7ede41169 IDEMPIERE-3835 - revert minor change on launcher 2019-01-01 14:12:34 +01:00
hieplq 547de8df76 IDEMPIERE-3808:collect info to move idempiere to jdk-11 (update repository)
not sure why jetty.jsp.version is 8.5.33, need to update to 8.5.33.1 for jetty-9.4.14
2018-12-29 12:37:01 +07:00
hieplq 902936fb34 IDEMPIERE-3835:remove org.idempiere.hazelcast.service.config 2018-12-29 10:45:20 +07:00
Carlos Ruiz bce0ae0611 IDEMPIERE-3808 - setup launchers with java 11 2018-12-28 23:14:02 +01:00
hieplq 6c76b7e4b8 IDEMPIERE-3808:collect info to move idempiere to jdk-11 (update lib j2ee take out from jdk)
this commit by auto adjust from eclipse (exclude server.product.launch)

== setup eclipse like bellow to get stable build ==
1. keep eclipse at Eclipse 2018-09 (https://www.eclipse.org/downloads/packages/release/2018-09/r)
2. install "java-11-support-eclipse" https://marketplace.eclipse.org/content/java-11-support-eclipse-2018-09-49
3. call update "help/check for update"
4. now that eclipse full support jdk-11 and build stable without any issue

ref:https://groups.google.com/d/msg/idempiere/At6xXFyEcGY/IJ1ETiohCwAJ
2018-12-28 15:11:11 +07:00
hieplq 49d0076c58 IDEMPIERE-3808:collect info to move idempiere to jdk-11 (update lib zk 8.6.0.1 )
https://issues.apache.org/jira/browse/ARIES-1859
https://tracker.zkoss.org/browse/ZK-4127
2018-12-23 12:26:44 +07:00
hieplq 45e54b5da0 IDEMPIERE-3808:collect info to move idempiere to jdk-11 (update lib j2ee take out from jdk)
https://github.com/eclipse-ee4j
some already release so update, some not yet release so wait

https://eclipse-ee4j.github.io/javamail/
https://eclipse-ee4j.github.io/jaf/
2018-12-23 11:08:13 +07:00
hieplq 942800418e IDEMPIERE-3808:collect info to move idempiere to jdk-11 (zk8.6.0.1, eclipse-1812, java11, tycho 1.3)
still use local repository for maven.to.p2 to continue update library
2018-12-22 15:49:50 +07:00
hieplq 8b18a199af IDEMPIERE-3808:collect info to move idempiere to jdk-11 (update restlet)
restlet: manifest of restlet 2.4.1 isn't yet complete so copy it from release 2.3.12
https://github.com/restlet/restlet-framework-java/issues/1321
2018-11-18 12:07:54 +07:00
hieplq bad19fda25 IDEMPIERE-3808:collect info to move idempiere to jdk-11 (update restlet)
correct httpclient get from maven it's httpclient-osgi
2018-11-17 19:33:01 +07:00
hieplq 17364a0210 IDEMPIERE-3808:collect info to move idempiere to jdk-11 (update restlet)
https://github.com/restlet/restlet-framework-java/blob/2.4/build/tmpl/text/changes.txt
2018-11-16 23:53:56 +07:00
hieplq 8fd73c7f1b IDEMPIERE-3808:collect info to move idempiere to jdk-11 (update jetty 9.4.14)
https://github.com/eclipse/jetty.project/releases/tag/jetty-9.4.14.v20181114
2018-11-16 15:25:56 +07:00
hieplq b6bd9c4a4a IDEMPIERE-3808:collect info to move idempiere to jdk-11 (update jetty 9.4.13.v20181111)
get jetty direct from maven so don't neet to wait p2 repository from jetty
get asm direct from maven, so don't need to wait update from orbit
2018-11-13 16:28:06 +07:00
hieplq ce85c72261 IDEMPIERE-3808:collect info to move idempiere to jdk-11 (zk8.6)
update zk to zk8.6
2018-11-13 12:01:10 +07:00
hieplq 9c5a53db6f IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (spi-fly)
from warning: No classloader found for java.util.ServiceLoader:load(interface org.eclipse.jetty.websocket.api.extensions.Extension)

reason:
spi-fly on idempiere use Dynamic Weaving to lookup service provide
it use Bundle.ACTIVE event to start lookup service provide (see org.apache.aries.spifly.BaseActivator and ProviderBundleTrackerCustomizer)
so service provide need to active before it's used

solution:
active and set start level to 3 for some bundle relate websocket to plan support websocket

remain some warning:
10:39:31.747-----------> BaseActivator.log: No classloader found for java.util.ServiceLoader:load(interface org.atmosphere.inject.Injectable)
don't fix because it still work well, in case active this bundle will encounter issue relase package "org.atmosphere.annotation" not yet export
https://github.com/Atmosphere/atmosphere/issues/1896

WARNING: No classloader found for java.util.ServiceLoader:load(interface org.eclipse.jetty.xml.ConfigurationProcessorFactory)
WARNING: No classloader found for java.util.ServiceLoader:load(interface org.eclipse.jetty.xml.ConfigurationProcessorFactory)
just find SpringConfigurationProcessorFactory and SpringConfigurationProcessorFactory implement that service, it look for spring so don't need resolve

refer:http://aries.apache.org/modules/spi-fly.html
2018-11-09 13:02:20 +07:00
Carlos Ruiz f65f6f5d19 IDEMPIERE-3798 Fix launchers 2018-10-31 21:58:21 +01:00
hieplq 79613e7a07 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (rest/launcher) 2018-10-31 15:09:16 +07:00
hieplq 7ddd9b9692 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (web service/tycho ok, eclipse conflic)
use javax.activation bundle from eclipse can resolve issue conflic between tycho buil/eclipse build/eclipse runtime
2018-10-31 10:25:17 +07:00
hieplq 8a04f3e303 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (web service/tycho ok, eclipse conflic)
1. new version of cxf need new version of spring so get osgi version from org.apache.servicemix but spring of cxf limit to 4.0 so take 4.3.19.RELEASE_1
http://cxf.apache.org/docs/30-migration-guide.html

2. eclipse auto add --add-modules=ALL-SYSTEM when run eclipse launcher, so when run idempiere server from eclipse encounter bellow condition
   javax.activity, javax.xml.ws is depricate package to remove on jdk11
   that why this module is exclusive from build class path (but by --add-modules=ALL-SYSTEM it appear at runtime)
   we use some replace jar for that package (com.sun.activation for javax.activation)
2018-10-31 04:03:57 +07:00