Publishing Engine looking for tools.jar

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

Publishing Engine looking for tools.jar

Post by ms2art2 » Mon Nov 16, 2020 11:16 pm

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: 7315
Joined: Fri Jul 09, 2004 5:18 pm

Re: Publishing Engine looking for tools.jar

Post by Radu » Tue Nov 17, 2020 8:00 am

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: 14
Joined: Tue Jan 14, 2020 6:44 pm

Re: Publishing Engine looking for tools.jar

Post by ms2art2 » Wed Nov 18, 2020 9:55 pm

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

Mike

Post Reply