details: https://code.openbravo.com/erp/devel/pi/rev/337b0d3cd176 changeset: 31119:337b0d3cd176 user: Inigo Sanchez <inigo.sanchez <at> openbravo.com> date: Wed Jan 18 15:50:27 2017 +0100 summary: Fixed issue 34994: Limits of buildvalidations haven't defined properly.
Some of the execution limits of platform buildvalidations haven't defined properly. Now the problem have been resolved by updating the following buildvalidations: - CheckUpdateConnectionPoolMerge: Execution limit should be defined between [null, 3.0.27659]. - DatabaseDecimalNumberCheck: Should't have any execution limit because it should be executed allways. - DatabaseVersionCheck: Should't have any execution limit because it should be executed allways. - JdkVersionCheck: Should't have any execution limit because it should be executed allways. - RemoveCostingRuleProcessExecutions: Execution limit should be defined between [null, 3.0.25161]. diffstat: src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.class | 0 src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/DatabaseDecimalNumberCheck.class | 0 src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/DatabaseVersionCheck.class | 0 src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/JdkVersionCheck.class | 0 src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/RemoveCostingRuleProcessExecutions.class | 0 src-util/buildvalidation/src/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.java | 4 ++-- src-util/buildvalidation/src/org/openbravo/buildvalidation/DatabaseDecimalNumberCheck.java | 7 +------ src-util/buildvalidation/src/org/openbravo/buildvalidation/DatabaseVersionCheck.java | 7 +------ src-util/buildvalidation/src/org/openbravo/buildvalidation/JdkVersionCheck.java | 8 +------- src-util/buildvalidation/src/org/openbravo/buildvalidation/RemoveCostingRuleProcessExecutions.java | 4 ++-- 10 files changed, 7 insertions(+), 23 deletions(-) diffs (119 lines): diff -r 82d9f1cfdafd -r 337b0d3cd176 src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.class Binary file src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.class has changed diff -r 82d9f1cfdafd -r 337b0d3cd176 src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/DatabaseDecimalNumberCheck.class Binary file src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/DatabaseDecimalNumberCheck.class has changed diff -r 82d9f1cfdafd -r 337b0d3cd176 src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/DatabaseVersionCheck.class Binary file src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/DatabaseVersionCheck.class has changed diff -r 82d9f1cfdafd -r 337b0d3cd176 src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/JdkVersionCheck.class Binary file src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/JdkVersionCheck.class has changed diff -r 82d9f1cfdafd -r 337b0d3cd176 src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/RemoveCostingRuleProcessExecutions.class Binary file src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/RemoveCostingRuleProcessExecutions.class has changed diff -r 82d9f1cfdafd -r 337b0d3cd176 src-util/buildvalidation/src/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.java --- a/src-util/buildvalidation/src/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.java Tue Jan 17 11:57:35 2017 -0500 +++ b/src-util/buildvalidation/src/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.java Wed Jan 18 15:50:27 2017 +0100 @@ -11,7 +11,7 @@ * under the License. * The Original Code is Openbravo ERP. * The Initial Developer of the Original Code is Openbravo SLU - * All portions are Copyright (C) 2015-2016 Openbravo SLU + * All portions are Copyright (C) 2015-2017 Openbravo SLU * All Rights Reserved. * Contributor(s): ______________________________________. ************************************************************************ @@ -306,6 +306,6 @@ @Override protected ExecutionLimits getBuildValidationLimits() { - return new ExecutionLimits("0", null, new OpenbravoVersion(3, 0, 27319)); + return new ExecutionLimits("0", null, new OpenbravoVersion(3, 0, 27659)); } } diff -r 82d9f1cfdafd -r 337b0d3cd176 src-util/buildvalidation/src/org/openbravo/buildvalidation/DatabaseDecimalNumberCheck.java --- a/src-util/buildvalidation/src/org/openbravo/buildvalidation/DatabaseDecimalNumberCheck.java Tue Jan 17 11:57:35 2017 -0500 +++ b/src-util/buildvalidation/src/org/openbravo/buildvalidation/DatabaseDecimalNumberCheck.java Wed Jan 18 15:50:27 2017 +0100 @@ -11,7 +11,7 @@ * under the License. * The Original Code is Openbravo ERP. * The Initial Developer of the Original Code is Openbravo SLU - * All portions are Copyright (C) 2015-2016 Openbravo SLU + * All portions are Copyright (C) 2015-2017 Openbravo SLU * All Rights Reserved. * Contributor(s): ______________________________________. ************************************************************************ @@ -60,9 +60,4 @@ } return errors; } - - @Override - protected ExecutionLimits getBuildValidationLimits() { - return new ExecutionLimits("0", null, new OpenbravoVersion(3, 0, 29596)); - } } diff -r 82d9f1cfdafd -r 337b0d3cd176 src-util/buildvalidation/src/org/openbravo/buildvalidation/DatabaseVersionCheck.java --- a/src-util/buildvalidation/src/org/openbravo/buildvalidation/DatabaseVersionCheck.java Tue Jan 17 11:57:35 2017 -0500 +++ b/src-util/buildvalidation/src/org/openbravo/buildvalidation/DatabaseVersionCheck.java Wed Jan 18 15:50:27 2017 +0100 @@ -11,7 +11,7 @@ * under the License. * The Original Code is Openbravo ERP. * The Initial Developer of the Original Code is Openbravo SLU - * All portions are Copyright (C) 2015-2016 Openbravo SLU + * All portions are Copyright (C) 2015-2017 Openbravo SLU * All Rights Reserved. * Contributor(s): ************************************************************************* @@ -119,9 +119,4 @@ } return version; } - - @Override - protected ExecutionLimits getBuildValidationLimits() { - return new ExecutionLimits("0", null, new OpenbravoVersion(3, 0, 27370)); - } } diff -r 82d9f1cfdafd -r 337b0d3cd176 src-util/buildvalidation/src/org/openbravo/buildvalidation/JdkVersionCheck.java --- a/src-util/buildvalidation/src/org/openbravo/buildvalidation/JdkVersionCheck.java Tue Jan 17 11:57:35 2017 -0500 +++ b/src-util/buildvalidation/src/org/openbravo/buildvalidation/JdkVersionCheck.java Wed Jan 18 15:50:27 2017 +0100 @@ -11,7 +11,7 @@ * under the License. * The Original Code is Openbravo ERP. * The Initial Developer of the Original Code is Openbravo SLU - * All portions are Copyright (C) 2016 Openbravo SLU + * All portions are Copyright (C) 2016-2017 Openbravo SLU * All Rights Reserved. * Contributor(s): ______________________________________. ************************************************************************ @@ -28,12 +28,6 @@ private static final int JAVA7_MAJOR_VERSION = 51; @Override - protected ExecutionLimits getBuildValidationLimits() { - ExecutionLimits pr17Q1 = new ExecutionLimits("0", null, new OpenbravoVersion(3, 0, 30600)); - return pr17Q1; - } - - @Override public List<String> execute() { ArrayList<String> errors = new ArrayList<String>(); try { diff -r 82d9f1cfdafd -r 337b0d3cd176 src-util/buildvalidation/src/org/openbravo/buildvalidation/RemoveCostingRuleProcessExecutions.java --- a/src-util/buildvalidation/src/org/openbravo/buildvalidation/RemoveCostingRuleProcessExecutions.java Tue Jan 17 11:57:35 2017 -0500 +++ b/src-util/buildvalidation/src/org/openbravo/buildvalidation/RemoveCostingRuleProcessExecutions.java Wed Jan 18 15:50:27 2017 +0100 @@ -11,7 +11,7 @@ * under the License. * The Original Code is Openbravo ERP. * The Initial Developer of the Original Code is Openbravo SLU - * All portions are Copyright (C) 2015-2016 Openbravo SLU + * All portions are Copyright (C) 2015-2017 Openbravo SLU * All Rights Reserved. * Contributor(s): ______________________________________. ************************************************************************ @@ -69,6 +69,6 @@ @Override protected ExecutionLimits getBuildValidationLimits() { - return new ExecutionLimits("0", null, new OpenbravoVersion(3, 0, 26130)); + return new ExecutionLimits("0", null, new OpenbravoVersion(3, 0, 25161)); } } ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits