On 01/17/2019 09:10 PM, Robert Bentall wrote:

Thank you for your swift response, that's just what I needed. It now
works as I expect.

In this
document http://www.xmlmind.com/xmleditor/_distrib/doc/xxetool/xxetool.pdf
there is a note that "The xxetool command-line tool will not run on a
headless server".

What does that mean in practice? If I can run it via a command line, I'd
expect to be able to create (eg) a jenkins build running on a VM to
create my documentation.


The xxetool command-line utility is a special (special, NOT stripped down) variant of the XMLmind XML Editor desktop application.

Hence its code contains *thousands* of invocations of graphical libraries (java.awt, javax.swing, javafx, etc) which are likely to raise "java.awt.HeadlessException" exceptions when XMLmind XML Editor is run on a headless server.

A "java.awt.HeadlessException" is defined as follows: "Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse."

Please give xxetool a try on VM+Jenkins. If it does not work (java.awt.HeadlessException) then I'll suggest to ask the Jenkins support forum for a workaround (Xvfb? https://en.wikipedia.org/wiki/Xvfb; Xdummy?), because this should be a common issue.

We would be grateful if you could share the results of your investigations with this mailing list.






--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to