Author: hansbak
Date: Tue Jul 5 10:21:57 2011
New Revision: 1142967
URL:
http://svn.apache.org/viewvc?rev=1142967&view=revLog:
correction on commit 1139866 which caused demo data also loaded when only ./ant run-install-seed was requested
Modified:
ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Start.java
Modified: ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Start.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Start.java?rev=1142967&r1=1142966&r2=1142967&view=diff==============================================================================
--- ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Start.java (original)
+++ ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Start.java Tue Jul 5 10:21:57 2011
@@ -159,6 +159,10 @@ public class Start {
}
}
this.config = Config.getInstance(args);
+ // parse the startup arguments
+ if (args.length > 1) {
+ this.loaderArgs.addAll(Arrays.asList(args).subList(1, args.length));
+ }
if (!fullInit) {
return;