Adrian Crum wrote:
I did an SVN update from the trunk this morning, then ran ant clean and build. OFBiz starts, gets to

UtilXml.java:241:INFO ] XML Read 0.015s: file:/C:/ofbiz/framework/base/config/component-load.xml

then shuts down. Debug.log and ofbiz.log both show first few lines of startup messages, and nothing else. error.log is empty.

I did a fresh checkout, ran ant run-install - it stops at the same place. I confirmed I'm running Java 1.5.

Any ideas?

Try the attached patch; I don't develop on windows, so haven't tested it yet. My windows machine is currently rebooting, after installing tortiose, and then I can test this myself.
=== framework/base/src/base/org/ofbiz/base/util/FileUtil.java
==================================================================
--- framework/base/src/base/org/ofbiz/base/util/FileUtil.java	(revision 5704)
+++ framework/base/src/base/org/ofbiz/base/util/FileUtil.java	(local)
@@ -47,11 +47,11 @@
     public static final String module = FileUtil.class.getName();
 
     public static File getFile(String path) {
-        return new File(path.replaceAll("/+|\\\\+", File.separator));
+        return new File(path.replaceAll("/|\\\\", File.separator));
     }
 
     public static File getFile(File root, String path) {
-        return new File(root, path.replaceAll("/+|\\\\+", File.separator));
+        return new File(root, path.replaceAll("/+|\\\\", File.separator));
     }
 
     public static void writeString(String fileName, String s) throws IOException {

Reply via email to