0 votes
in Apache by
What is Converting Paths in Apache Ant , explain with example?

1 Answer

0 votes
by

Apache Ant allows to convert relative paths to absolute paths. The following example demonstrates that.

<!-- Location of a configuration -->
<property name="my.config" value="../my-config.xml"/>
<makeurl file="${my.config}" property="my.config.url"/>

This property can later be used for example as a parameter.

<param name="highlight.xslthl.config" expression="${my.config.url}"/>

Related questions

0 votes
asked Nov 11, 2023 in Apache by GeorgeBell
0 votes
asked Nov 15, 2023 in Apache by GeorgeBell
...