Author: jaz
Date: Tue Aug 26 13:15:01 2008
New Revision: 689198
URL:
http://svn.apache.org/viewvc?rev=689198&view=revLog:
forced path changes due to problems with FTL and backslashes on non un*x environments
Modified:
ofbiz/trunk/framework/appserver/src/org/ofbiz/appservers/GenerateContainer.java
Modified: ofbiz/trunk/framework/appserver/src/org/ofbiz/appservers/GenerateContainer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/appserver/src/org/ofbiz/appservers/GenerateContainer.java?rev=689198&r1=689197&r2=689198&view=diff==============================================================================
--- ofbiz/trunk/framework/appserver/src/org/ofbiz/appservers/GenerateContainer.java (original)
+++ ofbiz/trunk/framework/appserver/src/org/ofbiz/appservers/GenerateContainer.java Tue Aug 26 13:15:01 2008
@@ -412,9 +412,11 @@
for (File f: elements) {
if (f.exists()) {
if (f.isDirectory()) {
- dir.add(f.getAbsolutePath());
+ String path = f.getAbsolutePath();
+ dir.add(path.replace('\\','/'));
} else {
- jar.add(f.getAbsolutePath());
+ String path = f.getAbsolutePath();
+ jar.add(path.replace('\\','/'));
}
}
}