Commit Graph

103 Commits

Author SHA1 Message Date
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
hieplq c75b678db5 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (sync launch/check jvm version) 2018-10-27 23:02:52 +07:00
hieplq 671bc4ed9c IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (sync launch)
move temp folder inside workspace_loc to avoid conflict when hava some dev environment
dev/idempiere_home1
dev/idempiere_home2
2018-10-24 13:58:02 +07:00
hieplq 2d6d70ef06 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (update lib)
spring to osgi, deduce install configuration
2018-10-24 08:48:02 +07:00
hieplq 6bc86a754c IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (update lib)
spring, service, xml http://openjdk.java.net/jeps/320
2018-10-23 22:27:06 +07:00
hieplq b2fa99b192 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (update lib)
update jetty to 12
update almost library to latest version
change org.eclipse.jdt.core.compiler.batch to org.eclipse.jdt.core
change javax.management.j2ee-api to org.apache.geronimo.specs.geronimo-j2ee-management_1.1_spec, reduce dependency and correct dependency of activeMQ
javax.activation to com.sun.activation.javax.activation
lib for service will take from library instea of jdk
groovy to date
2018-10-23 09:36:53 +07:00
hieplq 2ac37db0ad IDEMPIERE-3531:export to excel get error "java.lang.NoSuchMethodError: org.apache.poi.hssf.util.HSSFColor.getTripletHash()Ljava/util/Map" 2018-09-28 00:28:46 +07:00
hieplq 92067ca883 IDEMPIERE-3531:update to phatom 201809 2018-09-25 15:43:56 +07:00
hieplq 5c3e738dab IDEMPIERE-2610:kill warning:Class path contains multiple SLF4J bindings. 2018-09-12 17:01:04 +07:00
Deepak Pansheriya 9a0b9fb317 IDEMPIERE-2319: Adding date value type support in Attribute set and adding transaction support on Attribute dialog 2014-11-19 20:36:20 +05:30
hieplq 6a238cada7 IDEMPIERE-3607:Invoice Report problem when using QR barcode
add fragment org.w3c.dom.svg.patch_1.1.0 from jasper studio to resolve issue
remove unuse lib xml-apis-ext
2018-08-29 15:02:55 +07:00
Carlos Ruiz 6088b89211 Integrate patch suggested by Ricardo Alexsander Santana https://groups.google.com/d/msg/idempiere/ur7Wx1DlXt8/TL2xL_2uBAAJ
A couple of additional fixes
2018-07-26 11:04:18 +02:00
hieplq 667aba2de6 IDEMPIERE-3531:convert osgi dependency on maven to p2 repository to support targerplatform
correct version of commons-digester
add jetty.conscrypt.openjdk.uber to support IDEMPIERE-3687
2018-04-23 14:05:08 +07:00
hieplq 33def47039 IDEMPIERE-3687:active alpn
by change from 9.4.8, alpn need a ALPNProcessors
use Conscrypt so faster and don't need maintain alpn-boot.jar on classpath
section ALPN Support: https://webtide.com/getting-started-with-jetty-and-jdk-9/
2018-04-16 11:00:49 +07:00
hieplq 88cf4f7a3f IDEMPIERE-3687:active alpn
by change from 9.4.8, alpn need a ALPNProcessors,
this patch use a default Processor so need alpn-boot.jar on classpath -Xbootclasspath/p:alpn-boot.jar
https://github.com/eclipse/jetty.project/issues/1894
2018-04-16 10:15:31 +07:00
hieplq 6bdede763b IDEMPIERE-3688:update jetty to 9.4.9 (test for maven build only) 2018-04-15 16:50:51 +07:00
hieplq 91e1082397 IDEMPIERE-3687:remove setting of alpn/http2 out of core 2018-04-14 12:05:53 +07:00
hieplq 04840239dc IDEMPIERE-3531: update url of orbit for neon 3
update orbit url to R20180330011457
filter out jetty (now newer version include on eclipse repository) for eclipse
2018-04-10 22:49:16 +07:00
hieplq 335672de4f IDEMPIERE-3531: update url of orbit for neon 3
eclipse incorrect reconize latest version of asm bundle
update launch because have multi version of com.ibm.icu
2018-04-08 21:12:57 +02:00
hieplq 561ee74fc7 IDEMPIERE-3531:setup target file to use both place, maven build and eclipse development
online and offline taget platform with parameter
wire org.apache.lucene.core to 3.5.0.v20120725-1805 (match with current org.apache.lucene.analysis)
target file become simple because don't neeed filter out bundle
2018-02-27 13:44:40 +07:00
hieplq 9b33710a19 IDEMPIERE-3531:adapt with buckminster method
maven have beta version of groovy-all, so fix version of groovy-all to help buckminster materialize
new version of org.apache.commons.configuration request org.apache.commons.lang3
correct source bundle of zk and https://github.com/jetty-project/jasper-jsp/issues/5
update launch
2018-02-26 03:11:03 +07:00
Carlos Ruiz c922644b6f IDEMPIERE-3597 org/krysalis/barcode4j/output/CanvasProvider 2018-01-05 13:58:21 +01:00
hieplq ed5f3b33d9 IDEMPIERE-3551:1008086 - External (non-plugin) 2Pack automation
break 2pack
2017-11-16 00:29:29 +07:00
Carlos Ruiz 9a77d05f89 fix java reference in some projects pointing to old versions 2017-10-31 23:25:12 +01:00
hieplq ffdc57cbe8 IDEMPIERE-3353:sync development profile (eclipse) and package profile
1. on buckminster_linux_gtk_x86.properties
  add product.id=org.eclipse.equinox.p2.director so when uninstall in update process,
  it will keep material (plugins) for org.eclipse.equinox.p2.director

2. add org.idempiere.equinox.p2.director.feature to separate material (.sh)
  of org.adempiere.server.product and p2.director

3. change update-prd.sh to
  update org.idempiere.fitnesse.feature also

4. update director/configuration/config.ini folow update equinox to 4.7.x
2017-10-22 11:08:19 +07:00
hieplq d60cee554e IDEMPIERE-3136: sync launch 2017-10-18 11:47:57 +07:00
hieplq 8fa9a6cae7 IDEMPIERE-3136:all stuff relate library of idempiere
correct debug setting.
separate zk configuration on development environemnt and product environment
https://www.zkoss.org/wiki/ZK_Configuration_Reference/zk.xml/The_Library_Properties/org.zkoss.zk.config.path
2017-08-30 13:34:39 +07:00
hieplq 5b556121fb IDEMPIERE-3136:update equinox to 4.7.x (OXYGEN)
https://www.eclipse.org/eclipse/news/4.7/platform_isv.php#Equinox
2017-07-01 22:25:41 +07:00
hieplq a79255a9f5 IDEMPIERE-3136:update jetty to 9.4.x
error when build 2nd on jenkin: CSpec org.apache.httpcomponents.httpclient.source:osgi.bundle$4.3.6.v201511171540 has no  action, group, or local artifact named bundle.jar

orbit repository have 2 version of org.apache.httpcomponents.httpclient
1st do materialize, buckminster get correct verison org.apache.httpcomponents.httpclient and org.apache.httpcomponents.httpclient.source at version 4.3.6
2nd do materialize at without clear old one (like on jenkin) it will get new one version of source at 4.5.2
i guest issue by wrong process dependency on org.idempiere.eclipse.platform-feature
after 1st materialize, cspec of org.idempiere.eclipse.platform-feature have dependency to org.apache.httpcomponents.httpclient.source and it will get newest version.
don't know why it don't happen to org.apache.httpcomponents.httpclient
2017-05-21 23:52:34 +07:00
hieplq 768762d32a IDEMPIERE-3136:all stuff relate library of idempiere
sync/clean/test when merger to core
2017-05-21 00:29:38 +07:00
hieplq 40c595c969 IDEMPIERE-3353:sync development profile (eclipse) and package profile 2017-04-27 00:24:44 +07:00
hieplq 8d03ae6d79 IDEMPIERE-2868:correct wrong configuration file 2017-02-21 16:02:03 +07:00
Carlos Ruiz c62351bc7d IDEMPIERE-3136 - launcher complaining on dev about org.mortbay.jasper.apache-jsp 2017-07-16 12:19:19 +02:00
Nicolas Micoud d556cb2a2d IDEMPIERE-3312 MUserPreference.createUserPreferences should use transaction 2017-03-25 14:18:46 +01:00
Carlos Ruiz 4c663e8c22 IDEMPIERE-3136 - fix for org.mortbay.jasper.apache-jsp 2017-02-18 08:18:24 +01:00
hieplq 54a9b658dd IDEMPIERE-3136:all stuff relate library of idempiere
1. org.mortbay.jetty.alpn.boot depend to version of jdk http://www.eclipse.org/jetty/documentation/9.4.x/alpn-chapter.html#alpn-versions
2. sometime it materialize to org.mortbay.jetty.alpn.boot.source folder
3. update new version is hard
so just download it as separate jar file
2017-02-18 09:48:08 +07:00
Carlos Ruiz 3a813602ea fix issue with the launcher - not detecting java sources 2016-12-16 17:44:08 +01:00
Carlos Ruiz 2e4c0ce43f IDEMPIERE-3136 - fix for org.mortbay.jasper.apache-jsp 2016-11-08 08:46:49 +01:00
hieplq 35548c18e8 IDEMPIERE-3136:all stuff relate library of idempiere
update lauching, configuration for update library and 9.3.10 http2
2016-07-10 04:52:14 +07:00
hieplq a46d233f37 IDEMPIERE-3136:all stuff relate library of idempiere
update jetty to 9.3.10
work-around for:
https://github.com/eclipse/jetty.project/issues/262
https://github.com/eclipse/jetty.project/issues/704
2016-07-08 23:54:51 +07:00
hieplq 16bfc4f59b IDEMPIERE-3136:all stuff relate library of idempiere
update jetty to 9.3.10
2016-07-08 23:22:03 +07:00
hieplq 093c95874f IDEMPIERE-3136:all stuff relate library of idempiere
set runtime of all project to 1.8
2016-07-08 16:18:44 +07:00
hieplq 07ada50393 IDEMPIERE-3136:all stuff relate library of idempiere
replace bundle dependency by use import package for jasper report
2016-07-08 10:47:30 +07:00
hieplq 5c8e620ca8 IDEMPIERE-2969:update to use zk8-osgi library
update zk to 8.0.1
2016-01-20 13:50:13 +07:00
hieplq 3f0c230be9 IDEMPIERE-2969:update to use zk8-osgi library
add new zk osgi project
2015-12-10 20:58:11 +07:00
hieplq 4b9b980fb3 IDEMPIERE-2910:update.sh run with issue
remove version in plug-in, use cquery to control
remove this plugin because just use in eclipse launch:org.apache.felix.webconsole.plugins.memoryusage
remove this plub-in because useless:org.apache.felix.webconsole.plugins.packageadmin
2015-11-10 17:07:12 +07:00