Expand my Community achievements bar.

SOLVED

custom dita-ot pdf output generation failing

Avatar

Level 1

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
1 Accepted Solution

Avatar

Correct answer by
Employee

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

View solution in original post

4 Replies

Avatar

Correct answer by
Employee

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

Avatar

Level 1

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

Thank you

Avatar

Administrator

@aem10 We hope you found the AEM community valuable. We anticipate your return as either a learner or a contributor. The community benefits from SMEs like you. Please ask your AEM peers to join and contribute. Happy AEM learning!



Kautuk Sahni