Commit Graph

124 Commits

Author SHA1 Message Date
hieplq 58258ad506
Idempiere-4492 update library (eclipse-4.17, jasper 6-15, jetty-9.4.33, atmosphere-2.6.4) (#331)
* IDEMPIERE-4492 update jetty to 9.4.33.v20201020 update atmosphere to 2.5.15

* IDEMPIERE-4492 update jetty to 9.4.33.v20201020 (update configuration)

update to default jetty configuration
delete unused configuration (alpn, http2,..)

* IDEMPIERE-4492 update orbit eclipse repository to 4.17

* IDEMPIERE-4492 update orbit eclipse repository to 4.17 (on parent pom)

* IDEMPIERE-4492 update jasper to 6.15.0

* IDEMPIERE-4492 update jasper to 6.15.0 (IDEMPIERE-4504)

get rid of bundle "org.w3c.dom.events version 3.0.0" by use old version of org.w3c.dom.smil

note: on target platform a bundle has multi version then tycho can pickup correct version define on feature (tab included plugins, field version)
but on eclipse when sync launching from .product it don't respect that value, always set highest version to bundle
workaround: on target platform manual un-select bundle org.w3c.dom.smil 1.0.1

* IDEMPIERE-4492 update atmosphere to 2.6.4

* IDEMPIERE-4492 refine target platform

use targetplatform-dsl to generate target platform https://github.com/eclipse-cbi/targetplatform-dsl
   + don't need to care update bundle version when update repository
   + at moment org.idempiere.eclipse.platform-feature include some feature form eclipse repository
     so target has to include that feature so target platform will include all bundler request by feature and bundle request by plugins of that feature and so on (ever optional
     so it make target content has more plugins than what we use on project
     next step will convert include feature to include plugins to define only what we used

* IDEMPIERE-4492 refine target platform (continue)

don't include framework feature, use include plugins to void load transitive dependency so minimize target flatform
remove some unused feature from idempiere product

* IDEMPIERE-4492 update c3p0 and database jdbc (patch from Carlos)
2020-10-31 06:53:36 +08:00
hengsin 9162b60af7
IDEMPIERE-4498 Performance: add cache for osgi services factory (#321)
* IDEMPIERE-4498 Performance: add cache for osgi services factory

add cache for tableName -> IModelFactory

* IDEMPIERE-4498 Performance: add cache for osgi services factory

implement cache for the discovery of osgi services

* IDEMPIERE-4498 Performance: add cache for osgi services factory

added unit test
2020-10-26 18:53:10 +01:00
Carlos Ruiz 9075b6d84b
IDEMPIERE-4495 github code scanning alerts (#305)
* IDEMPIERE-4495 github code scanning alerts

Failure to use secure cookies

* Query built without neutralizing special characters
2020-10-17 14:11:12 +08:00
Carlos Ruiz d3c9804253
IDEMPIERE-4454 Implement filter for SQL debug - unify oracle and postgresql variable (#252) 2020-09-17 15:02:22 +02:00
Carlos Ruiz be525d178c
IDEMPIERE-4447 Add offset to Query (#243)
Add method Query.setRecordstoSkip
2020-09-04 21:42:14 +02:00
Carlos Ruiz a84adbad80
IDEMPIERE-4395 Cannot save valid strings in oracle - ORA-12899: value too large for column (#202) 2020-08-06 22:35:37 +08:00
hieplq 9a35f2054d
IDEMPIERE-4314:eclipse project setting independent JDK (#90) 2020-06-01 11:30:00 +08:00
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
hengsin c3cad0d1e2
IDEMPIERE-4249 Platform Refresh for 7.1z (#19)
Upgrade to Tycho 1.7.0, Eclipse 2020-03, Zk 9.0.1 and Jetty 9.4.28
2020-04-30 16:01:19 +02:00
hengsin 4a436c5157 IDEMPIERE-4180 Add DDL and Data Type methods to AdempiereDatabase interface 2020-03-03 17:27:53 +08:00
hengsin df5b0c2ea8 IDEMPIERE-4177 Replace SYSDATE with getDate() 2020-03-03 10:07:14 +08:00
Carlos Ruiz 2bb4a8ce11 IDEMPIERE-4136: Upgrading Jasper report to version 6.11.0 / PR 2019-12-26 13:22:39 +01:00
Carlos Ruiz 7bae19dbbc Merge branch 'IDEMPIERE-4136' of https://github.com/dpansheriya/idempiere 2019-12-26 13:20:24 +01:00
Carlos Ruiz 0caa446721 IDEMPIERE-1093 Database: added connection pool properties file support / avoid requirement for org.jfree.io 2019-12-25 19:18:27 +01:00
Deepak Pansheriya f13bcd6de9 IDEMPIERE-4136: Upgrading Jasper report to version 6.11.0 2019-12-25 20:28:37 +05:30
Carlos Ruiz 64eadf1822 release 7.1 process - set version in configuration files 2019-11-21 23:28:48 +01:00
Heng Sin Low f46b8afb5c IDEMPIERE-4098 CLogger usage pattern clean up 2019-11-12 20:49:55 +08: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
Heng Sin Low d00c07c2b9 IDEMPIERE-3413 Multi Select List and table reference 2019-06-24 18:23:41 +08:00
Nicolas Micoud 1205178ef0 IDEMPIERE-3904 Harmonize list of component in MANIFEST.MF 2019-02-27 12:51:25 +01:00
Carlos Ruiz 3ea6a2a17d IDEMPIERE-3887 Setup / Console-setup improvements 2019-02-09 14:26:45 +01:00
Carlos Ruiz 02009bc22d IDEMPIERE-3870 PackIn issue with transactions 2019-01-15 18:38:01 +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 6c76b7e4b8 IDEMPIERE-3808:collect info to move idempiere to jdk-11 (update lib j2ee take out from jdk)
this commit by auto adjust from eclipse (exclude server.product.launch)

== setup eclipse like bellow to get stable build ==
1. keep eclipse at Eclipse 2018-09 (https://www.eclipse.org/downloads/packages/release/2018-09/r)
2. install "java-11-support-eclipse" https://marketplace.eclipse.org/content/java-11-support-eclipse-2018-09-49
3. call update "help/check for update"
4. now that eclipse full support jdk-11 and build stable without any issue

ref:https://groups.google.com/d/msg/idempiere/At6xXFyEcGY/IJ1ETiohCwAJ
2018-12-28 15:11:11 +07:00
hieplq 942800418e IDEMPIERE-3808:collect info to move idempiere to jdk-11 (zk8.6.0.1, eclipse-1812, java11, tycho 1.3)
still use local repository for maven.to.p2 to continue update library
2018-12-22 15:49:50 +07:00
hieplq e00b022e12 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (move file server to github) 2018-12-21 19:08:06 +07:00
Carlos Ruiz 7c023a5ac3 IDEMPIERE-3842 Cannot run Synchronize Column on oracle CLOB columns 2018-12-04 15:25:43 +01:00
Carlos Ruiz ac14fcd294 IDEMPIERE-3830 c3p0 defaults are not exploiting the power of c3p0 reliability 2018-11-28 22:17:48 +01:00
Carlos Ruiz c4af5b6523 IDEMPIERE-3585 Oracle APPARENT DEADLOCK warnings / set default for StatementCacheNumDeferredCloseThreads to zero - avoid problem about ORA-01000: maximum open cursors exceeded 2018-11-23 17:55:52 -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 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 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
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 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 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 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 40bcba3ce2 hg merge release-5.1 (merge release5.1 into default) 2018-07-14 18:03:36 +02:00
Nicolas Micoud 6fbb57307d IDEMPIERE-3738 Reference Color broken 2018-07-04 16:16:19 +02: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 d7808da56a IDEMPIERE-3531:setting output build, jdk follow project convert from pure plugin to maven
a mavent project convert from plugin have flow default rule
   1. maven project prefer setting JRE to Execution environment, so .classpath is updated
   2. java class compliment to target/classes/, so build.propertie is updated
   3. JDK compliance configuration setting per project (only this option), so .settings/org.eclipse.jdt.core.prefs is created

extra setting about warning done manual to resolved
https://bugs.eclipse.org/bugs/show_bug.cgi?id=367431

   it happend on bundle use non-standard java package
      org.adempiere.base/.settings/org.eclipse.jdt.core.prefs
      org.adempiere.ui.swing/.settings/org.eclipse.jdt.core.prefs

   on org.adempiere.server, old method add accessrules to classpathentry don't work for maven build.
   so change to warning method make it consitent with other
      org.adempiere.server/.settings/org.eclipse.jdt.core.prefs
2018-02-03 01:39:47 +07:00