Expand my Community achievements bar.

CUSTOM DITA-OT package deployed to cloud instance is missing the bin folder containing ant and dita commands

Avatar

Level 2

CUSTOM DITA-OT.zip file deployed to /apps/fmdita/dita_resources on a cloud instance through cloud deployment pipeline is missing the bin folder containing ant and dita commands; but the same is working fine in a local cloud emulator 

as a result of this missing ant and dita commands, output generation is failing with PathNotFoundException (ant)

i am assembling the DITA-OT.zip file with custom DTD documents, and a custom plugin using maven, and embedding the generated zip file in the project-all module to be put at /apps/fmdita/dita-resources. the build and deployment is executed through cloud deploiyment pipeline.

are there are any validation rules in aem cloud that are stripping off the executable files from DITA-OT.zip file, either during the build or while installing the package? 

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Employee

@Samba_Kolusu for others to refer as we discussed offline and looking at the git repo you shared we observed following gaps:

And as you confirmed the issue was largely due to the missing /lib and /bin directory in source repo

 

    <id>${project.version}</id>
    <includeBaseDirectory>false</includeBaseDirectory>
    <formats>
        <format>zip</format>
    </formats>
    <fileSets>
        <fileSet>
            <directory>${project.basedir}/src/main/DITA-OT</directory>
            <outputDirectory>${file.separator}DITA-OT</outputDirectory>
        </fileSet>
    </fileSets>