Commit Graph

12372 Commits

Author SHA1 Message Date
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
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
hieplq cfa2705b25 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:29:49 +07:00
hieplq 0e5becb6c8 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:28:04 +07:00
hieplq 52a4a836c8 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:26:40 +07:00
hieplq 155810c3f1 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:25:50 +07:00
hieplq bb6005c5c2 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:23:59 +07:00
hieplq 733ad1c89f IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:17:22 +07:00
hieplq 1b05e022d0 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:15:07 +07:00
hieplq 9957ffa06c IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:09:51 +07:00
hieplq b7aada7a1b IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with static value
2018-10-24 09:02:12 +07:00
hieplq 0a010a526d IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (update maven project)
run auto update maven projec (side effect from 15ccf00c09f5).
2018-10-24 08:56:57 +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 1c5a89128b IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (Bundle-RequiredExecutionEnvironment)
eclipse don't reconize Bundle-RequiredExecutionEnvironment 10
2018-10-23 17:29:35 +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
hieplq d17e9db662 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (keystore/check java version) 2018-10-17 08:30:01 +07:00
hieplq 7c98168706 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (swing api change) 2018-10-17 00:23:06 +07:00
hieplq 5a03eeb696 IDEMPIERE-3798:comment out for compile fisrt (https://bugs.openjdk.java.net/browse/JDK-8029805) 2018-10-17 00:20:31 +07:00
hieplq 568904b961 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (inaccessible Internal APIs compiler time) 2018-10-16 12:57:03 +07:00
hieplq f4931abda5 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (Enumeration cast up) 2018-10-16 12:55:11 +07:00
hieplq 952d9f93d7 IDEMPIERE-3798:Duplicate keyword
Move iDempiere default branch to openjdk 10
2018-10-16 12:24:38 +07:00
hieplq 82c8c5b31d IDEMPIERE-3798:Move iDempiere default branch to openjdk 10
change targetPlatform and classpath to JavaSE-10
2018-10-16 07:08:34 +07:00
Carlos Ruiz 2a60d4b405 IDEMPIERE-2793 Extendability improvements / integrate patch from logilite (Deepak) - Changed private access modifier of members to 'Protected' 2018-10-12 12:30:48 +02:00
Carlos Ruiz e72c735f52 IDEMPIERE-2754 remove wrong test data. 2018-10-12 12:02:17 +02:00
Carlos Ruiz aacf45495f IDEMPIERE-3799 Avoid users re-running a process that is already being processed / Peer review 2018-10-06 20:25:26 +02:00
Diego Ruiz 0619c3d452 IDEMPIERE-3799 Avoid users re-running a process that is already being processed 2018-10-05 17:32:24 +02:00
Carlos Ruiz 9c88349bb7 IDEMPIERE-2816/IDEMPIERE-2351 Force background/foreground based on parameters / Peer review 2018-10-06 18:11:21 +02:00
Diego Ruiz c32fa14dfb IDEMPIERE-2816/IDEMPIERE-2351 Force background/foreground based on parameters 2018-10-05 16:58:38 +02:00