Using SAXON EE License in ANT Transformation
Posted: Thu Jan 05, 2017 8:10 pm
Hi all,
I have an ANT with multiple target. I'm running the ANT transformation in oXygen (18.0) using an ANT Transformation Scenario.
The ANT file contains the following Java task to start an XSL transformation with Saxon EE:
The {oxyFolder} variable points to the oXygen installation directory.
The XSL transformation works, but I get the following notification: [java] No license file found - running with licensable features disabled.
I know that the Saxon EE license from oXygen is not available, when I run the ANT file outside oXygen. But can I use the Saxon EE license when I run an ANT transformation scenario in oXygen?
Best regards,
Jonas
I have an ANT with multiple target. I'm running the ANT transformation in oXygen (18.0) using an ANT Transformation Scenario.
The ANT file contains the following Java task to start an XSL transformation with Saxon EE:
Code: Select all
<java classname="net.sf.saxon.Transform" classpath="${oxyFolder}\lib\saxon9ee.jar; ${oxyFolder}\lib\resolver.jar" clonevm="true">
<arg value="-r:org.apache.xml.resolver.tools.CatalogResolver"/>
<arg value="-x:org.apache.xml.resolver.tools.ResolvingXMLReader"/>
<arg value="-y:org.apache.xml.resolver.tools.ResolvingXMLReader"/>
<arg value="-it:createFile"/>
<arg value="-xsl:xslt${file.separator}collectElementIDs.xsl"/>
<arg value="-t"/>
<arg value="-val:lax"/>
<arg value="TOPICLIST=${TopicFiles}"/>
<arg value="OUTFOLDER=${outFolder}"/>
</java>
The XSL transformation works, but I get the following notification: [java] No license file found - running with licensable features disabled.
I know that the Saxon EE license from oXygen is not available, when I run the ANT file outside oXygen. But can I use the Saxon EE license when I run an ANT transformation scenario in oXygen?
Best regards,
Jonas