Re: Suggestion to make XSL-FO Converter java invocations headless
Hussein Shafie <[email protected]> Fri, 07 Mar 2014 13:20:59 +0100
| Newsgroups | gmane.text.xml.xfc.general |
|---|---|
| Organization | XMLmind |
| Message-ID | <[email protected]> |
On 03/07/2014 12:39 PM, David Clunie wrote: > > When I set a long batch of conversions going in the background while > doing other things on the same machine, it is annoying that each > java JRE invocation brings the application to the foreground and > grabs the mouse and keyboard focus even though it doesn't have any GUI. > > The conventional way to stop this is just to add: > > -Djava.awt.headless=true > > to the command line, and that works fine; I have edited bin/fo2docx, etc., > to do that, e.g.: > > exec java -Djava.awt.headless=true com.xmlmind.fo.converter.Driver \ > -outputFormat=docx "$@" > > and perhaps you might want to do that in your next release. > Thank you for this suggestion. We'll certainly do that in the next release of XFC. -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support