You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2002/02/12 15:32:03 UTC
DO NOT REPLY [Bug 6395] New: -
FOP stalls when it is executed by java application
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6395>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6395
FOP stalls when it is executed by java application
Summary: FOP stalls when it is executed by java application
Product: Fop
Version: 0.20.1
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Blocker
Priority: Other
Component: general
AssignedTo: fop-dev@xml.apache.org
ReportedBy: a.jewall@web.de
hello, i have been working on this project and wanted to execute FOP from my
java application and it stalls when it is executed.
it only works when i...
1.)
execute it like this:
Runtime.getRuntime().exec("java -cp jars" +File.separator+ "fop.jar;jars"
+File.separator+ "batik.jar;jars" +File.separator+ "xalan.jar;jars"
+File.separator+ "xerces.jar org.apache.fop.apps.Fop temp"
+File.separator+ "make_pdf.fo " +target_file.getText());
and after having a piriode of time in between where it does nothing.
it takes up to ten times as long as when it is executed by the batchfile
and it works perfectly from a batchfile
2.)
execute it like this:
Runtime.getRuntime().exec("java -cp jars" +File.separator+ "fop.jar;jars"
+File.separator+ "batik.jar;jars" +File.separator+ "xalan.jar;jars"
+File.separator+ "xerces.jar org.apache.fop.apps.Fop temp"
+File.separator+ "make_pdf.fo " +target_file.getText()).waitFor();
and i close the window and with it the main programm and then all of a sudden
it finishes and i get the pdf
either one is not very fine.
i need waitFor() with it and i cannot close the programm
i doubt that it lies within my programm because it is just one of many runtimes
and it is the only one that doesn't work
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org