Commit Graph

363 Commits

Author SHA1 Message Date
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 f39116d95d IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (delete buckminster stuff) 2018-11-10 10:32:38 +07:00
Carlos Ruiz 679cffb72d IDEMPIERE-3655 Improve installer to include migration scripts and syncApplied / add optional folder parameter to process out of migration 2018-11-09 21:33:47 -02: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 faac96eb39 IDEMPIERE-3655 Improve installer to include migration scripts and syncApplied / Fix issue with oracle migration script 2018-11-07 11:18:38 -02:00
Carlos Ruiz 4aba73b917 Change sourceforge folder for seed database and jarfiles 2018-11-04 20:09:44 -02:00
Carlos Ruiz 7eeb4a8463 More versioning for 6.1 2018-11-04 18:32:21 -02:00
Carlos Ruiz ee4303d453 set version to 6.1 2018-11-04 14:47:53 -02: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 52aae41b94 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (web service/tycho ok, eclipse ok) 2018-10-31 11:04:23 +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 23530a00e2 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (web service)
use osgi version
2018-10-29 21:28:53 +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 5e5d79f614 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (add Vendor info to bundle) 2018-10-24 13:07:45 +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 d6d6b41054 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (tycho maven for jdk10)
still get issue Unrecognized option with fresh build (no problem after build by eclipse then maven tycho)
2018-10-23 10:38:44 +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
Carlos Ruiz 19b1e6e1f8 More on helper linux scripts to generate iDempiere seed 2018-11-21 10:13:35 -02:00
Carlos Ruiz 991b3d12b4 Fix oracle datapump scripts 2018-11-20 18:39:36 -02:00
Carlos Ruiz abd2b70243 Fix oracle datapump scripts 2018-11-20 17:26:55 -02:00
hieplq c0005f0246 IDEMPIERE-3833:Detected idempiere service running 2018-11-29 15:28:24 +07:00
hieplq 785acb06be IDEMPIERE-3833:Detected idempiere service running 2018-11-29 15:11:48 +07:00
Nicolas Micoud c24600a6d3 IDEMPIERE-3843 setup.ini should refer to the correct version of org.eclipse.equinox.launcher 2018-12-14 12:17:05 +01:00
Carlos Ruiz afb171b657 IDEMPIERE-3798 Move iDempiere default branch to openjdk 10 / fix problem sending email -> javax.activation.UnsupportedDataTypeException: text/plain; charset=UTF-8
as reported in forum https://groups.google.com/d/msg/idempiere/At6xXFyEcGY/0zz-xbtfBAAJ
2018-12-12 20:44:42 +01:00
Carlos Ruiz 21a89ab521 IDEMPIERE-3824 Implement apply packin from folder from command line 2018-11-19 12:58:57 -02:00
Carlos Ruiz 63472d7ca9 IDEMPIERE-3655 Improve installer to include migration scripts and syncApplied / safe error message when folder does not exist 2018-11-19 12:39:07 -02:00
Carlos Ruiz 28171cda7a IDEMPIERE-3821 Adapt RUN_ImportIdempiere.sh to allow amazon postgresql RDS 2018-11-16 14:36:07 -02:00
Carlos Ruiz 66d147281e Helper linux scripts to generate iDempiere seed 2018-11-15 09:16:53 -02:00
Carlos Ruiz 4ef7c629f4 Helper linux scripts to generate iDempiere seed - just useful for release, not for backup 2018-11-14 14:45:40 -02: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
hieplq 0a5d5a78ac IDEMPIERE-3531: update jasper report to 6.7.0
+ add more Osgi for jasper dependency
+ don't fix incompatibility issue for swing
+ use bootdelegation to resolve org.w3c.dom.events issue. let all use class from jdk
2018-09-12 00:10:22 +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
Carlos Ruiz 40bcba3ce2 hg merge release-5.1 (merge release5.1 into default) 2018-07-14 18:03:36 +02:00
Carlos Ruiz d527b6279f Detected that when the server crashes because of Out Of Memory the init.d scripts are not able to terminate it properly / fix to look for the server using org.adempiere.server.application instead of the IDEMPIERE_HOME 2018-06-18 11:36:40 +02:00
Carlos Ruiz cd298bf31f hg merge release-5.1 (merge release5.1 into default) 2018-05-29 13:52:46 +02:00
Carlos Ruiz 434a0b0780 IDEMPIERE-3722 Distributed cache kills performance 2018-05-29 11:27:13 +02:00
Carlos Ruiz 919b6f34db hg merge release-5.1 (merge release5.1 into default) 2018-05-17 21:59:23 +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
Carlos Ruiz 3182d8eec2 sync alpn-boot.jar with JDK 1.8.0u161 / 1.8.0u162 -> maven 2018-04-11 12:45:37 +02: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
Carlos Ruiz da53148c79 hg merge release-5.1 (merge release5.1 into default) 2018-04-08 21:06:13 +02:00
Heng Sin Low 3fc53dfb66 IDEMPIERE-3672 Setup fail due to OSGi framework version changed 2018-04-01 11:06:17 +08:00
hieplq d777e2982c Merge with default 2018-03-19 19:50:01 +07:00
Carlos Ruiz 0962dd0783 IDEMPIERE-3653 Hazelcast improvements / include some missing entries on template for aws discovery - change System.out to use logger 2018-03-16 09:25:36 -03:00
Carlos Ruiz 490adbe45d IDEMPIERE-3655 Improve installer to include migration scripts and syncApplied / make script silent if no SQL files in folder 2018-03-16 09:23:48 -03:00
Carlos Ruiz b8f0aa4bd8 IDEMPIERE-3655 Improve installer to include migration scripts and syncApplied 2018-03-14 18:13:08 -03:00
Carlos Ruiz 81066b1498 IDEMPIERE-3653 Hazelcast improvements / fix template version - add example of new recommended aws discovery strategy 2018-03-13 16:32:34 -03: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
hieplq 31ad04d7ef IDEMPIERE-3531:auto update by eclipse when import project to new workspace by choose import exists maven project 2018-02-18 23:41:09 +07:00
hieplq 9482f02dec IDEMPIERE-3531:add maven tycho configuration 2018-02-10 16:42:06 +07:00
hieplq 34741c7d87 IDEMPIERE-3531:standard maven repository url
find out origin reposiroty for almost library
maven url include maven2 part
2018-02-03 16:38:23 +07:00
hieplq b6d9886732 IDEMPIERE-3531:standard lib folder
on all project, put library into lib folder, so easy apply parametrize
remove some unuse (don't see reference) library
2018-02-02 13:47:07 +07:00
hieplq 7ceadfafed IDEMPIERE-3531:avoid dupplicate of bundle id
correct relative files
2018-01-30 14:42:03 +07:00
hieplq 073d0a7ddf IDEMPIERE-3531:avoid dupplicate of bundle id
at the moment, idempiere have feature and plugin same id make tycho error
2018-01-25 16:00:18 +07:00
Carlos Ruiz c922644b6f IDEMPIERE-3597 org/krysalis/barcode4j/output/CanvasProvider 2018-01-05 13:58:21 +01:00
Carlos Ruiz d6f2de3d7d IDEMPIERE-3451 IDEMPIERE_JAVA_OPTIONS property not work - improvement suggested by Silvano (freepath) 2017-12-06 16:22:05 +01:00
hieplq ed5f3b33d9 IDEMPIERE-3551:1008086 - External (non-plugin) 2Pack automation
break 2pack
2017-11-16 00:29:29 +07:00
Carlos Ruiz af3d52045f Point copyjars to new release 2017-11-01 01:14:36 +01:00
Carlos Ruiz 9a77d05f89 fix java reference in some projects pointing to old versions 2017-10-31 23:25:12 +01:00
Carlos Ruiz d63062d0d0 New version 2017-10-31 23:12:29 +01:00
Carlos Ruiz d6908fc065 Point to version 5.1 2017-10-31 23:03:48 +01:00
Carlos Ruiz af9c3d8ddd add win64 for jenkins daily build compilation 2017-10-25 11:08:57 +02:00
Carlos Ruiz 2ab22ddd87 Deprecate postgresql 8.4 - postgresql 10 was released and 8 is not supported since some time ago 2017-10-24 20:06:57 +02: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 321c9ed710 IDEMPIERE-3136:update equinox to 4.7.x (OXYGEN)
update to 4.7.1a
2017-10-18 11:47:21 +07:00
hieplq 929be757a2 Merge with development 2017-10-18 01:47:05 +07:00
Carlos Ruiz ea5192578b hg merge release-4.1 (merge release4.1 into development) 2017-10-13 16:41:48 +02:00
Diego Ruiz be3e157e6a IDEMPIERE-2761 Server does not work well with a different theme 2017-10-13 13:40:22 +02:00
Carlos Ruiz 601d9b6d85 IDEMPIERE-3440 on centos (and like centos) tmp is managed by OS, sometime it corrupt jetty 2017-10-11 15:46:16 +02:00
hieplq 432aeeb675 IDEMPIERE-3136:update jetty 9.4.7/eclipse oxygen 1 2017-09-28 20:05:25 +07:00
Carlos Ruiz 84b9538c14 hg merge release-4.1 (merge release4.1 into development) 2017-09-08 16:05:42 +02: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
Carlos Ruiz 0312ee82c0 IDEMPIERE-3440 on centos (and like centos) tmp is managed by OS, sometime it corrupt jetty / based on patch from Hiep Lq 2017-08-26 19:33:36 +02:00
Carlos Ruiz 58df7a7405 IDEMPIERE-3451 IDEMPIERE_JAVA_OPTIONS property not work - general changes in setup process
- enable back the ability to configure the IDEMPIERE_JAVA_OPTIONS in idempiereEnv.properties and preserve it between setups (as suggested in patch from Vinicius and Eduardo)
- fix a minor issue on Console Setup - not assuming correctly the default database type
- implement update-prd.sh - so other products can be updated (not just org.adempiere.server.product)
2017-08-26 19:21:17 +02:00
hieplq a6cc2fbd4f IDEMPIERE-3136:update equinox to 4.7.x (OXYGEN)
https://www.eclipse.org/eclipse/news/4.7/platform_isv.php#Equinox
2017-07-05 09:43:34 +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
Carlos Ruiz 01cd2b1ef2 IDEMPIERE-2490 java.lang.IllegalStateException: Form too large -> IDEMPIERE-3118 IDEMPIERE-669 2017-07-06 14:42:56 +02: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 29dac9e3fb IDEMPIERE-3136:update jasper report to use P2
update note install launch
2017-05-14 22:39:20 +07:00
hieplq eca11cce8f IDEMPIERE-3353:sync development profile (eclipse) and package profile 2017-04-27 18:40:22 +07:00
hieplq 6868d3eaf6 IDEMPIERE-3353:sync development profile (eclipse) and package profile
on content tab of server.product, if click add required it will add feature server.feature include.
but it let can't materialize by dupplicate reference.
this action only help to display plugin when add at configuration tab. don't effect to runtime, so it's save to remove
2017-04-27 11:50:09 +07:00
hieplq 21cbb35b1d IDEMPIERE-3354:refine feature group
org.idempiere.customize should only dependency by server feature, so don't disturb other product
it also should option, just import when exsits
2017-04-27 12:55:16 +07:00
hieplq 40c595c969 IDEMPIERE-3353:sync development profile (eclipse) and package profile 2017-04-27 00:24:44 +07:00