This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/trunk by this push:
new b1e48ee Improved: makes ScreenFopViewHandler::render debug area also usable on Windows
b1e48ee is described below
commit b1e48eef3758615fde107b6cfae80f917c2e164f
Author: Jacques Le Roux <
[hidden email]>
AuthorDate: Mon Jun 29 11:47:23 2020 +0200
Improved: makes ScreenFopViewHandler::render debug area also usable on Windows
---
.../java/org/apache/ofbiz/widget/renderer/fo/ScreenFopViewHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/widget/src/main/java/org/apache/ofbiz/widget/renderer/fo/ScreenFopViewHandler.java b/framework/widget/src/main/java/org/apache/ofbiz/widget/renderer/fo/ScreenFopViewHandler.java
index d1036a8..77b8370 100644
--- a/framework/widget/src/main/java/org/apache/ofbiz/widget/renderer/fo/ScreenFopViewHandler.java
+++ b/framework/widget/src/main/java/org/apache/ofbiz/widget/renderer/fo/ScreenFopViewHandler.java
@@ -155,7 +155,7 @@ public class ScreenFopViewHandler extends AbstractViewHandler {
ByteArrayOutputStream out = new ByteArrayOutputStream();
/* Debug area, uncomment this to view the xml file generate before analyse by fop
try {
- java.io.FileWriter fw = new java.io.FileWriter(new java.io.File("/tmp/temp.xsl.fo"));
+ java.io.FileWriter fw = new java.io.FileWriter(new java.io.File(System.getProperty("ofbiz.home")+"/runtime/tempfiles/temp.xsl.fo"));
fw.write(screenOutString);
fw.close();
} catch (IOException e) {