Skip to main content
New Member
Jul 12, 2023 1:24 PM UTC
Solved

custom dita-ot pdf output generation failing

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.
Vijendra1
Vijendra1Accepted solution
Adobe Employee
Jul 12, 2023 1:43 PM UTC

@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. 

4 replies

Vijendra1
Adobe Employee
Vijendra1Adobe EmployeeAccepted solution
Adobe Employee
Jul 12, 2023 1:43 PM UTC

@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. 

Translate
FrankRalf
Level 2
Jul 12, 2023 1:49 PM UTC

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

 

 

Translate
aem10Author
New Member
Jul 12, 2023 5:06 PM UTC

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

Thank you

Translate