Hi,

I try to use configuration file introduce by issue OFBIZ-4793 <https://issues.apache.org/jira/browse/OFBIZ-4793> and new build target "start" introduce by Jacopo. After load my configuration on framework/start/src/org/ofbiz/base/start/start.properties, when I run "ant start" my configuration has been ignored.

I set admin socket port to 10555 and :
start:
[java] Start.java using configuration file org/ofbiz/base/start/start.properties
     [java] Set OFBIZ_HOME to - /usr/local/workspace/OFBiz.12.04/4-ofbiz
     [java] Admin socket configured on - /127.0.0.1:10523


To force the configuration load, I change this :
svn diff framework/start/src/org/ofbiz/base/start/Config.java
Index: framework/start/src/org/ofbiz/base/start/Config.java
===================================================================
--- framework/start/src/org/ofbiz/base/start/Config.java (révision 1362842)
+++ framework/start/src/org/ofbiz/base/start/Config.java (copie de travail)
@@ -48,14 +48,17 @@
         } else if (command.equalsIgnoreCase("status")) {
             command = "start";
         }
-        return "org/ofbiz/base/start/" + command + ".properties";
+ return "framework/start/src/org/ofbiz/base/start/" + command + ".properties";
     }

Questions :
1. framework/start/src/org/ofbiz/base/start/start.properties is the good configuration file by default ?
 2. Other operating system have the same problem or not ?

thanks,
Nicolas

--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/

Reply via email to