custom dita-ot pdf output generation failing | Community
Skip to main content
July 12, 2023
Solved

custom dita-ot pdf output generation failing

  • July 12, 2023
  • 1 reply
  • 1415 views

I have created a plugin using same DITA-OT  that  came with  AEM guide (DITA-OT version = 3.3.2) and created a dita profile,  duplicating default profile.

I am able to generate pdf output  in AEM local(windows) but it fails in linux environment with following error -

 

BUILD FAILED /apps/author/crx-quickstart/profiles/ditaot--9842db1d-c803-24d6-63d6-4fb12ce75b01/DITA-OT/plugins/org.dita.base/build.xml:31: The following error occurred while executing this line: /apps/author/crx-quickstart/profiles/ditaot--9842db1d-c803-24d6-63d6-4fb12ce75b01/DITA-OT/plugins/org.dita.base/build_preprocess2.xml:71: Failed to run pipeline: [DOTJ078F][FATAL] Input file 'file:/apps/author/crx-quickstart/profiles/ditamaps/ditamap13892787852144256491/PI11/GUID-4073e645-e440-4ce0-85f5-5b2964d200ed.ditamap' could not be loaded. Ensure that grammar files for this document type are referenced and installed properly. Cannot load file: /apps/author/crx-quickstart/profiles/ditamaps/ditamap13892787852144256491/PI11/technicalContent/dtd/map.dtd (No such file or directory)

 

 
I am stuck, any insights will be quite helpful.
Thank You
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Vijendra1

@aem10 

 

This is basically permissions issue, you might have compiled the DITA-OT in windows and it's failing in linux with permissions.

 

Try to compile and validate the same before you upload to AEM by using git bash in local or linux shell. 

1 reply

Vijendra1
Adobe Employee
Vijendra1Adobe EmployeeAccepted solution
Adobe Employee
July 12, 2023

@aem10 

 

This is basically permissions issue, you might have compiled the DITA-OT in windows and it's failing in linux with permissions.

 

Try to compile and validate the same before you upload to AEM by using git bash in local or linux shell. 

FrankRalf
Level 2
July 12, 2023

Just for the record the detailed hints from @divrajsinghUsing a custom DITA-OT for publishing | Things to remember

 

 

aem10Author
July 12, 2023

Thank You for the replies. i ran dita install in linux environment and created zip file in the same environment. It worked.

Thank you