Skip to content

Commit

Permalink
Add note on setting optional .properties
Browse files Browse the repository at this point in the history
Fixes #159

Signed-off-by: Roger Sheen <roger@infotexture.net>
  • Loading branch information
infotexture committed Oct 11, 2017
1 parent 269a740 commit 52d04e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions user-guide/migrating-ant-to-dita.dita
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
<p>This approach allows you to use Ant builds to perform additional tasks at build time while allowing the
<cmdname>dita</cmdname> command to set the classpath and ensure that all necessary JAR libraries are
available.</p>
<note>The attributes defined in the Ant macro are required and must be supplied each time the task is run. To set
optional parameters in one build (but not another), use different <filepath>.properties</filepath> files for
each build.</note>
<p>Sample build file: <filepath conref="../resources/conref-task.dita#ID/samples-dir"
/><filepath>/ant_sample/build-chm-pdf-hybrid.xml</filepath>
<codeblock><coderef href="../samples/ant_sample/build-chm-pdf-hybrid.xml"/></codeblock>
Expand Down

0 comments on commit 52d04e0

Please # to comment.