eerohele / saxon-gradle

A Gradle plugin for running XSLT transformations with Saxon
MIT License
16 stars 6 forks source link

Seems to ignore parameter output #9

Closed juangamnik closed 6 years ago

juangamnik commented 6 years ago

I tried to change the output directory, but it seems to have no effect (it always writes to $buildDir):

xslt {
    stylesheet "${projectDir}/src/main/resources/some-stylesheet.xsl"

    input fileTree(dir: "$buildDir/xmlinput", include: '*.xml')

    // Set Saxon configuration file
    config 'config/configuration.xml'

    output "$buildDir/transformed"
}

Am I doing something wrong?

eerohele commented 6 years ago

No, you're right, it doesn't seem to work correctly. I'll look into it.

eerohele commented 6 years ago

Version 0.4.1 of the plugin should fix the issue. Can you give it a try and let me know how it goes?

juangamnik commented 6 years ago

Works like a charm! Thx. You're lightning fast :)