You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2013/09/26 16:58:55 UTC

svn commit: r1526534 - /ofbiz/branches/release13.07/framework/start/src/org/ofbiz/base/start/Config.java

Author: jleroux
Date: Thu Sep 26 14:58:55 2013
New Revision: 1526534

URL: http://svn.apache.org/r1526534
Log:
Set different ports for testing in a CI environment (e.g. Jenkins) https://issues.apache.org/jira/browse/OFBIZ-4794

Complete previous work because of INFRA-6790

Modified:
    ofbiz/branches/release13.07/framework/start/src/org/ofbiz/base/start/Config.java

Modified: ofbiz/branches/release13.07/framework/start/src/org/ofbiz/base/start/Config.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/framework/start/src/org/ofbiz/base/start/Config.java?rev=1526534&r1=1526533&r2=1526534&view=diff
==============================================================================
--- ofbiz/branches/release13.07/framework/start/src/org/ofbiz/base/start/Config.java (original)
+++ ofbiz/branches/release13.07/framework/start/src/org/ofbiz/base/start/Config.java Thu Sep 26 14:58:55 2013
@@ -355,6 +355,7 @@ public class Config {
             if (args.length > 0) {
                 for (String arg : args) {
                     if (arg.toLowerCase().contains("portoffset=")) {
+                        adminPort = adminPort != 0 ? adminPort : 10523; // This is necessary because the ASF Buildbot machine/s doe/s not allow ports 1 to 3, see  INFRA-6790
                         adminPort += Integer.parseInt(arg.split("=")[1]);
                     }
                 }