Publishing Engine looking for tools.jar

Having trouble installing Oxygen? Got a bug to report? Post it all here.
ms2art2
Posts: 18
Joined: Tue Jan 14, 2020 6:44 pm

Publishing Engine looking for tools.jar

Post 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.
Radu
Posts: 9046
Joined: Fri Jul 09, 2004 5:18 pm

Re: Publishing Engine looking for tools.jar

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
ms2art2
Posts: 18
Joined: Tue Jan 14, 2020 6:44 pm

Re: Publishing Engine looking for tools.jar

Post by ms2art2 »

Thanks, Radu. Yes, I found the error in the XML file. Thanks for your help.

Mike
Post Reply