svn commit: r1761589 - in /ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start: Config.java StartupControlPanel.java load-data.properties rmi.properties start.properties test.properties

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1761589 - in /ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start: Config.java StartupControlPanel.java load-data.properties rmi.properties start.properties test.properties

jacopoc
Author: jacopoc
Date: Tue Sep 20 15:03:56 2016
New Revision: 1761589

URL: http://svn.apache.org/viewvc?rev=1761589&view=rev
Log:
Improved: removed the no more required property
ofbiz.start.classpath.addFilesFromPath.

Modified:
    ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/Config.java
    ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/StartupControlPanel.java
    ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/load-data.properties
    ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/rmi.properties
    ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/start.properties
    ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/test.properties

Modified: ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/Config.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/Config.java?rev=1761589&r1=1761588&r2=1761589&view=diff
==============================================================================
--- ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/Config.java (original)
+++ ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/Config.java Tue Sep 20 15:03:56 2016
@@ -53,7 +53,6 @@ public final class Config {
     public final boolean shutdownAfterLoad;
     public final boolean useShutdownHook;
     public final String classpathAddComponent;
-    public final String classpathAddFilesFromPath;
 
     Config(List<StartupCommand> ofbizCommands) throws StartupException {
 
@@ -78,7 +77,6 @@ public final class Config {
         shutdownAfterLoad = isShutdownAfterLoad(props);
         useShutdownHook = isUseShutdownHook(props);
         classpathAddComponent = props.getProperty("ofbiz.start.classpath.addComponent");
-        classpathAddFilesFromPath = props.getProperty("ofbiz.start.classpath.addFilesFromPath");
 
         System.out.println("Set OFBIZ_HOME to - " + ofbizHome);
 

Modified: ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/StartupControlPanel.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/StartupControlPanel.java?rev=1761589&r1=1761588&r2=1761589&view=diff
==============================================================================
--- ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/StartupControlPanel.java (original)
+++ ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/StartupControlPanel.java Tue Sep 20 15:03:56 2016
@@ -175,12 +175,6 @@ final class StartupControlPanel {
                     classPath.addComponent(ofbizHomeTmp.concat(component.trim()));
                 }
             }
-            if (config.classpathAddFilesFromPath != null) {
-                String[] paths = config.classpathAddFilesFromPath.split(",");
-                for (String path : paths) {
-                    classPath.addFilesFromPath(new File(ofbizHomeTmp.concat(path.trim())));
-                }
-            }
         } catch (IOException e) {
             throw new StartupException("Cannot create classpath", e);
         }

Modified: ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/load-data.properties
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/load-data.properties?rev=1761589&r1=1761588&r2=1761589&view=diff
==============================================================================
--- ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/load-data.properties (original)
+++ ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/load-data.properties Tue Sep 20 15:03:56 2016
@@ -22,7 +22,6 @@
 
 # --- Class paths needed to get StartupLoaders to work (see Start.createClassLoader()).
 ofbiz.start.classpath.addComponent=framework/base/config,framework/base/dtd
-ofbiz.start.classpath.addFilesFromPath=framework/base/lib
 
 # --- Default logs directory (relative to ofbiz.home)
 #ofbiz.log.dir=runtime/logs

Modified: ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/rmi.properties
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/rmi.properties?rev=1761589&r1=1761588&r2=1761589&view=diff
==============================================================================
--- ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/rmi.properties (original)
+++ ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/rmi.properties Tue Sep 20 15:03:56 2016
@@ -22,7 +22,6 @@
 
 # --- Class paths needed to get StartupLoaders to work (see Start.createClassLoader()).
 ofbiz.start.classpath.addComponent=framework/base/config,framework/base/dtd
-ofbiz.start.classpath.addFilesFromPath=framework/base/lib
 
 # --- Default logs directory (relative to ofbiz.home)
 #ofbiz.log.dir=runtime/logs

Modified: ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/start.properties
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/start.properties?rev=1761589&r1=1761588&r2=1761589&view=diff
==============================================================================
--- ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/start.properties (original)
+++ ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/start.properties Tue Sep 20 15:03:56 2016
@@ -25,7 +25,6 @@
 
 # --- Class paths needed to get StartupLoaders to work (see Start.createClassLoader()).
 ofbiz.start.classpath.addComponent=framework/base/config,framework/base/dtd
-ofbiz.start.classpath.addFilesFromPath=framework/base/lib
 
 # --- Set these for shutting down when running as background process
 ofbiz.admin.host=127.0.0.1

Modified: ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/test.properties
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/test.properties?rev=1761589&r1=1761588&r2=1761589&view=diff
==============================================================================
--- ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/test.properties (original)
+++ ofbiz/trunk/framework/start/src/main/java/org/apache/ofbiz/base/start/test.properties Tue Sep 20 15:03:56 2016
@@ -22,7 +22,6 @@
 
 # --- Class paths needed to get StartupLoaders to work (see Start.createClassLoader()).
 ofbiz.start.classpath.addComponent=framework/base/config,framework/base/dtd
-ofbiz.start.classpath.addFilesFromPath=framework/base/lib
 
 # --- Default logs directory (relative to ofbiz.home)
 #ofbiz.log.dir=runtime/logs