Why the property set in ant build xml is lost
Posted: Tue Aug 27, 2019 4:53 pm
Have tried the simple demo mentioned in this guide https://www.dita-ot.org/3.3/topics/html ... e-css.html. althoug we defined the property value such like "args.copycss" in build xml like below:
But when new one transformation scenario with this plugin, the default value of "args.copycss" is still false.
Could you please explain more about this? What should I do if I want to default value of some parameters pre-defined? Thanks a lot.
Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<project>
<target name="dita2html5-custom-css"
depends="dita2html5-custom-css.init,
dita2html5"/>
<target name="dita2html5-custom-css.init">
<property name="args.cssroot"
location="${dita.plugin.com.example.html5-custom-css.dir}/css"/>
<property name="args.css" value="custom.css"/>
<property name="args.copycss" value="yes"/>
<property name="args.csspath" value="css"/>
</target>
</project>
Could you please explain more about this? What should I do if I want to default value of some parameters pre-defined? Thanks a lot.