Commit Graph

58 Commits

Author SHA1 Message Date
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
hieplq 296154af6e IDEMPIERE-4183:Web services is loading spring schema resources from spring web site (after update spring to osgi) 2020-02-19 21:06:32 +01:00
Carlos Ruiz 64eadf1822 release 7.1 process - set version in configuration files 2019-11-21 23:28:48 +01:00
Heng Sin Low 8f3b199b1f IDEMPIERE-4052 Move to Eclipse 2019-09 and ECJ 3.19.0 2019-09-19 19:57:52 +08: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 fb1ebefdf2 IDEMPIERE-3909:update webservice library to jdk-11 2019-03-02 20:22:16 +07:00
Nicolas Micoud 1205178ef0 IDEMPIERE-3904 Harmonize list of component in MANIFEST.MF 2019-02-27 12:51:25 +01:00
Carlos Ruiz e1ce7e9ec9 Backed out changeset c14bc0ce677c - IDEMPIERE-3808 - works fine in 2018-12 but not yet in 2018-09 2019-01-10 15:39:41 +01:00
Carlos Ruiz f79dc728a3 IDEMPIERE-3808:collect info to move idempiere to jdk-11. Fix jdk target environment. As advised by Heng Sin 2019-01-10 15:21:19 +01:00
Carlos Ruiz 090a34eb88 IDEMPIERE-3808:collect info to move idempiere to jdk-11. Fix jdk target environment. / eclipse still doesn't fully support - avoid annoying warning on launcher 2019-01-07 17:58:10 +01:00
Carlos Ruiz d14338729b IDEMPIERE-3808:collect info to move idempiere to jdk-11. Fix jdk target environment. 2019-01-07 13:22:58 +01:00
Carlos Ruiz 9487335169 Preparing release 6.2 - upgrade versions 2019-01-05 23:56:28 +01: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
Carlos Ruiz ee4303d453 set version to 6.1 2018-11-04 14:47:53 -02:00
hieplq 79613e7a07 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (rest/launcher) 2018-10-31 15:09:16 +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 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 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 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 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 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
hieplq fe0f36668b IDEMPIERE-3531: add manifest for java 9 warning 2018-09-11 09:04:49 +07:00
Carlos Ruiz 6144a1b8ff IDEMPIERE-3712 Webservices broken in 5.1z 2018-08-24 12:12:29 +02:00
hieplq 50271ce883 IDEMPIERE-3531:standard maven repository url 2018-02-03 10:50:12 +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
Carlos Ruiz d63062d0d0 New version 2017-10-31 23:12:29 +01:00
hieplq c8c2f1592a IDEMPIERE-2544: on equinox osgi, bundle have service should be active 2017-04-26 10:06:46 +07:00
Carlos Ruiz f474ad12f6 1006079 Ease edit of OnLine Context Help. / IDEMPIERE-3438 (integrating contribution from hengsin) 2016-07-05 23:07:48 +08:00
Carlos Ruiz 3d985bd0ed change references to new version 2016-10-30 20:30:07 +01:00
hieplq 54bca51007 IDEMPIERE-3136:all stuff relate library of idempiere
remove version of dependency bundle
2016-07-07 12:51:24 +07:00
hieplq 116cde1e96 IDEMPIERE-3136:all stuff relate library of idempiere
set runtime of all project to 1.8
2016-07-07 10:59:31 +07:00
Carlos Ruiz 6a8183effa Update product version to 3.1.0 2015-10-30 21:18:07 -05:00
longnan 05c145002e IDEMPIERE-2505 one error in org.idempiere.webservices MANIFEST.MF 2015-03-08 09:56:59 -05:00
Heng Sin Low 0b2fbe27ae IDEMPIERE-2245 Platform Upgrade for r3. 2014-10-13 11:05:19 +08:00
Carlos Ruiz 011aa28d01 Merge development (8eba0f14d231) into zk7 branch 2014-06-20 20:09:46 -05:00
Thomas Bayen 42a3f4f9f3 IDEMPIERE-1698 LEt the user choose a different JasperReports class 2014-06-18 14:06:59 +02:00
Heng Sin Low fa6541ff10 Merge development ( 10289 ) into zk7 ( 10252 ) branch 2014-04-03 09:17:58 +08:00
Heng Sin Low 9e5826b772 IDEMPIERE-1635 Upgrade to zk7. Update platform to Gemini Web 2.2.2, Tomcat 7.0.35 and Eclipse 4.3 ( Kepler ). 2014-04-03 01:31:20 +08:00
Carlos Ruiz ed0eee0faf IDEMPIERE-1784 SQL injection via ModelADService is possible / committing this patch until a better approach is implemented as suggested in meetings 2014-03-26 10:52:24 -05:00
Heng Sin Low bb6607d553 IDEMPIERE-1561 Update product version to 2.0.0. 2013-11-21 14:32:17 +08:00
Heng Sin Low 43dbfd7feb IDEMPIERE-1277 Exporting cxf package from web service to reuse same in SFAndroide. Accept patch from Deepak. 2013-08-16 18:33:24 +08:00