Why the property set in ant build xml is lost
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 35
- Joined: Thu Aug 15, 2019 5:31 pm
Why the property set in ant build xml is lost
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.
![Image]()
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>
QQ截图20190827215230.png
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.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9437
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Why the property set in ant build xml is lost
Hi,
Oxygen will not use the values set for parameters in the build files as defaults for transformation parameters. But the publishing process should use the values you set in the ANT build file.
Regards,
Radu
Oxygen will not use the values set for parameters in the build files as defaults for transformation parameters. But the publishing process should use the values you set in the ANT build file.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9437
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Why the property set in ant build xml is lost
Hi,
Yes, sometimes I refer to transformation from DITA to various output formats as "publishing". But it's the same.
Regards,
Radu
Yes, sometimes I refer to transformation from DITA to various output formats as "publishing". But it's the same.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service