Skip to content

Commit

Permalink
Merge pull request #2681 from robander/feature/ditavaltweak
Browse files Browse the repository at this point in the history
Support override of args.filter
  • Loading branch information
jelovirt committed May 14, 2017
2 parents c530bdd + 2016151 commit 99fe7c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
6 changes: 0 additions & 6 deletions src/main/plugins/org.dita.base/build_init.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,6 @@ See the accompanying LICENSE file for applicable license.

<!-- begin to init required parameters -->

<condition property="skip.ditaval.preprocess" value="true">
<not>
<isset property="args.filter"/>
</not>
</condition>

<condition property="filter-stage" value="early">
<not>
<isset property="filter-stage"/>
Expand Down
8 changes: 4 additions & 4 deletions src/main/plugins/org.dita.base/build_preprocess_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Copyright 2006 IBM Corporation
See the accompanying LICENSE file for applicable license.
-->
<project xmlns:dita="http://dita-ot.sourceforge.net" name="ditaot-preprocess">
<project xmlns:dita="http://dita-ot.sourceforge.net" name="ditaot-preprocess" xmlns:if="ant:if">

<!-- Set to "true" if you get out-of-memory errors during preprocess
while processing very large (thousands of files) document sets. -->
Expand Down Expand Up @@ -69,13 +69,13 @@ See the accompanying LICENSE file for applicable license.
</delete>
</target>

<target name="ditaval-merge" unless="skip.ditaval.preprocess"
<target name="ditaval-merge"
dita:depends="{depend.preprocess.ditaval-merge.pre}"
dita:extension="depends org.dita.dost.platform.InsertDependsAction"
description="Merge DITAVAL files into temporary file">
<pipeline message="Preprocess and merge ditavals" taskname="ditaval-merge">
<pipeline message="Preprocess and merge ditavals" taskname="ditaval-merge" if:set="args.filter">
<module class="org.dita.dost.module.MergeDitavalModule">
<param name="ditaval" location="${args.filter}" if="args.filter"/>
<param name="ditaval" value="${args.filter}"/>
</module>
</pipeline>
</target>
Expand Down

0 comments on commit 99fe7c2

Please sign in to comment.