eerohele / dita-ot-gradle

A Gradle plugin for running DITA Open Toolkit
https://github.com/eerohele/dita-ot-gradle/
Apache License 2.0
13 stars 6 forks source link

DITA OT processing speed is not as per the expectation #27

Open Roopesh-Navath opened 1 year ago

Roopesh-Navath commented 1 year ago

This is not a bug/Issue, I do not see any contact details to send the feedback.

I have installed DITA OT Gradle and ran the DITA OT 3.5.4 plugins xhtml and pdf2 against a larger document. But I am not able to get the expected speed comparing to the local DITA OT processing speed.

image

Due to the parsing error I have removed some lines from the build.gradle file.

My build.gradle file plugins { id 'groovy' id 'codenarc' id 'java-gradle-plugin' id 'de.undercouch.download' version '4.1.1' id 'se.patrikerdes.use-latest-versions' version '0.2.15' id 'com.github.ben-manes.versions' version '0.36.0' id 'com.github.eerohele.dita-ot-gradle' version '0.7.1' }

sourceCompatibility = 1.8

defaultTasks 'check'

dependencies { implementation localGroovy() implementation 'commons-io:commons-io:2.8.0'

testImplementation('org.spockframework:spock-core:1.3-groovy-2.5') {
    exclude module: 'groovy-all'
}

testImplementation 'junit:junit:4.13.1'

}

codenarc { toolVersion = '1.0' configFile = file('config/codenarc/codenarc.groovy') } dita { ditaOt '../dita-ot-3.5.4' input '../input/jobtemp/doceng_temp_48758_ctp-bundles.ditamap' transtype 'xhtml'

}

group = 'com.github.eerohele' version = '0.7.1'

gradlePlugin { plugins { ditaOt { id = 'com.github.eerohele.dita-ot-gradle' displayName = 'DITA-OT Gradle Plugin' implementationClass = 'com.github.eerohele.DitaOtPlugin' description = 'A Gradle plugin for running DITA Open Toolkit' } } }

eerohele commented 1 year ago

Apologies for the late reply. I was on summer vacation.

This plugin will only be faster than invoking DITA-OT via the command line after the initial build.

I'm guessing the figures in the final column of that table are for the initial build?

That said, I have not used this plugin or kept up with DITA-OT or Gradle development in many years, so it's entirely possible something's changed.