Page 1 of 1

Publishing Engine looking for tools.jar

Posted: Mon Nov 16, 2020 11:16 pm
by ms2art2
I'm trying to use the Publishing Engine with a DITA-OT project file, and I get this error:

dita --project=CNX7ProjectFile.xml
Unable to locate tools.jar. Expected to find it in C:\Program Files\Oxygen XML Author 22\lib\tools.jar
Error: Failed to read project file file:/C:/local1/cnxbuild/Documentation/CNX7ProjectFile.xml: Premature end of file.

I tried installing the Publishing Engine on a different machine, and got no error message.

Do you know why this is happening? I'm surprised that the Publishing Engine is even looking in the XML Author 22 folder; the Publishing Engine doesn't require XML Author, does it?

Thanks.

Re: Publishing Engine looking for tools.jar

Posted: Tue Nov 17, 2020 8:00 am
by Radu
Hi,

This warning:
Unable to locate tools.jar. Expected to find it in C:\Program Files\Oxygen XML Author 22\lib\tools.jar
is benign and should be ignored, it does not interfere with the publishing process.
The actual error is this one:
Error: Failed to read project file file:/C:/local1/cnxbuild/Documentation/CNX7ProjectFile.xml: Premature end of file.
Can you open the "CNX7ProjectFile.xml" file in Oxygen and validate it? Does Oxygen report any error for it?

Regards,
Radu

Re: Publishing Engine looking for tools.jar

Posted: Wed Nov 18, 2020 9:55 pm
by ms2art2
Thanks, Radu. Yes, I found the error in the XML file. Thanks for your help.

Mike