Commit Graph

12410 Commits

Author SHA1 Message Date
Nicolas Micoud 1b88546a84 IDEMPIERE-3767 WReportCustomization / Tabs 1 and 5 are not scrollable 2018-11-11 18:34:41 -02:00
Nicolas Micoud 5e0a824d04 IDEMPIERE-3814 Toolbar doesn't respect restriction when window is opened on a sub tab 2018-11-11 18:31:51 -02:00
Carlos Ruiz e98698cd89 IDEMPIERE-2771 implement semaphore in internal 2packs to avoid multiple servers applying same 2pack / Fixes for semaphore implementation 2018-11-10 23:21:17 -02:00
Carlos Ruiz bc99a2669c IDEMPIERE-3816 Deadlock in 2Pack after creating a foreign key constraint with AD_Sequence 2018-11-10 23:19:17 -02: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
Carlos Ruiz dd530a71f4 IDEMPIERE-3815 03_update_sequences.sql doesn't work when no sequence in oracle 2018-11-09 21:28:12 -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 56d065cfac IDEMPIERE-3812 2Pack creating inactive columns in database 2018-11-08 09:29:01 -02:00
Carlos Ruiz 30311f6b0a IDEMPIERE-3810 New IDs display type (AD_Reference) created via 2pack are created as String 2018-11-07 17:44:23 -02: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 0cf7b3b04f IDEMPIERE-3795 Oracle user System is 'fixed' on the code / Implement JVM variable -DADEMPIERE_DB_SYSTEM_USER to indicate a different user than system(oracle) or postgres(postgresql) - useful for AWS / fix problem with oracle stopping installation even if the database exists if the system password is not provided 2018-11-07 11:05:39 -02:00
Carlos Ruiz d3ddf88d83 IDEMPIERE-2771 Improve 2pack tracing for errors - fix problem reported by Andrea Bellotto
https://groups.google.com/d/msg/idempiere/8RwwI6duAAs/idONU539CAAJ
2018-11-05 21:48:12 -02:00
Carlos Ruiz 894945a441 starting maintenance branch for release-6.1 2018-11-04 21:59:46 -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 e6a6271355 Prepare folder for 6.1 scripts mainteinance 2018-11-04 15:12:03 -02:00
Carlos Ruiz 1e1b9b8bce Generate model for version 6.1 2018-11-04 15:09:32 -02:00
Carlos Ruiz ee4303d453 set version to 6.1 2018-11-04 14:47:53 -02:00
Carlos Ruiz b97c1c6d1a Migration script for GardenWorld periods year 2019 2018-11-03 18:34:48 +01:00
Carlos Ruiz 5a88fd1b49 IDEMPIERE-3760 Implement Virtual UI Column / fix oracle script 2018-11-01 01:23:39 +01:00
Carlos Ruiz f65f6f5d19 IDEMPIERE-3798 Fix launchers 2018-10-31 21:58:21 +01:00
Carlos Ruiz a78bb93284 Merged idempiere/idempiere-experimental/default into default 2018-10-31 15:27:30 +01:00
Carlos Ruiz 0c9838f464 IDEMPIERE-941 soapUI tests not working / fix 2pack for last version 2018-10-31 15:19:47 +01:00
hieplq e8b409ae2a IDEMPIERE-3560:update.sh fail(new dependency by update equinox) 2018-10-31 19:36:55 +07:00
hieplq 479deb9b27 Merge 2018-10-31 17:31:38 +07: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 59dbbf1d7f IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (web service/tycho ok, eclipse conflic)
back to online mode/new service configuration file, get from spring osgi bundle
2018-10-31 10:37:28 +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 783827e94a IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (web service)
use osgi version
2018-10-29 08:22:06 +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 7426cd54d1 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (tycho access restriction on classpath entry of jaxws-api)
jaxws-api look same javax.xml.ws but when build with tycho it said about access restriction on package javax.xml.ws,..
(i guess jaxws-api is new and it follow jdk mudule)
javax.xml.ws is special package, it's marked for remove on next jdk release.

it can't resolve ever i use <arg>-warn:+discouraged,forbidden</arg>
2018-10-27 16:04:38 +07:00
Carlos Ruiz eba4ceca7f hg merge release-5.1 (merge release5.1 into default) 2018-10-26 15:36:31 +02:00
hieplq 69c91e1111 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (build by tycho issue)
https://bugs.eclipse.org/bugs/show_bug.cgi
https://bugs.eclipse.org/bugs/show_bug.cgi?id=537016

1. use latest jdt for support jdk10

2. tycho resolve dependency to javax.activation, javax.xml.bind from jdk, but jdk don't public it.
eclipse resolve by get highest version from com.sun.activation.javax.activation, jaxb-api
so need use Require-Bundle to force tycho choose com.sun.activation.javax.activation

2.1 if keep both import javax.activation and Require-Bundle com.sun.activation.javax.activation with get bellow exception on tycho but org.adempiere.base don't have this issue
[ERROR] /home/hieplq/1Dev/project/native/idempiere-dev-11/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/factory/DefaultFeedbackService.java:[16]
[ERROR] 	import javax.activation.DataSource;
[ERROR] 	       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Access restriction: The type 'DataSource' is not API (restriction on classpath entry '/home/hieplq/.m2/repository/p2/osgi/bundle/com.sun.activation.javax.activation/1.2.0/com.sun.activation.javax.activation-1.2.0.jar')

3. pass --add-exports for org.adempiere.base, install, server and swing
2018-10-25 23:59:10 +07:00
hieplq 5488ef3928 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (correct bundle version of jaxws-api) 2018-10-25 21:40:24 +07:00
hieplq a0f7e977fe IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (update maven project/build/poi)
run auto update maven projec (side effect from 15ccf00c09f5)
also help resolve build maven by jdk 10:
        https://bugs.eclipse.org/bugs/show_bug.cgi
        https://bugs.eclipse.org/bugs/show_bug.cgi?id=537016

now targetplatform have two version of poi but eclipse bind to lower version, so add package dependency to force it
2018-10-25 06:59:03 +07:00
hieplq e90e469943 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (sync launch) 2018-10-24 15:52:57 +07:00
hieplq 19dd05c037 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (CLogMgt ConfigurationListener)
https://bugs.openjdk.java.net/browse/JDK-8029805
2018-10-24 15:51:33 +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 f874979908 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (finalize warning) 2018-10-24 12:40:08 +07:00
hieplq 9d77b3d665 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (IDEMPIERE-3531) 2018-10-24 12:39:44 +07:00
hieplq 932e6fe6d0 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (hamless warrning) 2018-10-24 12:38:27 +07:00
hieplq ef57afb335 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constance of BigDecimal move to RoundingMode
2018-10-24 12:11:33 +07:00
hieplq bf3561fc0d IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (clazz.getDeclaredConstructor().newInstance()) 2018-10-24 12:10:32 +07:00
hieplq af75e7911f IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (deprecated constant of swing) 2018-10-24 11:21:10 +07:00
hieplq 61a5fd1c21 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constance of BigDecimal move to RoundingMode
2018-10-24 09:48:52 +07:00