Skip to content

Commit

Permalink
Fixed issue with sub-directory handling
Browse files Browse the repository at this point in the history
  • Loading branch information
lmckenzi committed Jul 17, 2024
1 parent 6b64364 commit 28305b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/ant.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,29 +82,29 @@
<and>
<available type="dir" file="${basedir}/${folder.input}/images-source"/>
<resourcecount when="greater" count="0">
<fileset file="${basedir}/${folder.input}/images-source/**/*.plantuml"/>
<fileset file="${basedir}/${folder.input}/images-source/**.plantuml"/>
</resourcecount>
</and>
</condition>
<condition property="template.plantumlfiles.exist">
<and>
<available type="dir" file="${ig.template}/images-source"/>
<resourcecount when="greater" count="0">
<fileset file="${ig.template}/images-source/**/*.plantuml"/>
<fileset file="${ig.template}/images-source/**.plantuml"/>
</resourcecount>
</and>
</condition>
</target>
<target name="onGenerate.plantUml.ig" depends="check-plantumlfiles" if="ig.plantumlfiles.exist">
<java jar="${ig.scripts}/plantuml.jar" fork="true" failonerror="true">
<jvmarg line="-Dfile.encoding=UTF-8"/>
<arg line="-nometadata -failfast2 -tsvg -o &quot;${basedir}/${dir.temp.includes}&quot; &quot;${basedir}/${folder.input}/images-source/**/*.plantuml&quot;"/>
<arg line="-nometadata -failfast2 -tsvg -o &quot;${basedir}/${dir.temp.includes}&quot; &quot;${basedir}/${folder.input}/images-source/**.plantuml&quot;"/>
</java>
</target>
<target name="onGenerate.plantUml.template" depends="check-plantumlfiles" if="template.plantumlfiles.exist">
<java jar="${ig.scripts}/plantuml.jar" fork="true" failonerror="true">
<jvmarg line="-Dfile.encoding=UTF-8"/>
<arg line="-nometadata -failfast2 -tsvg -o &quot;${basedir}/${dir.temp.includes}&quot; &quot;${ig.template}/images-source/**/*.plantuml&quot;"/>
<arg line="-nometadata -failfast2 -tsvg -o &quot;${basedir}/${dir.temp.includes}&quot; &quot;${ig.template}/images-source/**.plantuml&quot;"/>
</java>
</target>
<target name="onGenerate.plantUml" depends="onGenerate.plantUml.ig,onGenerate.plantUml.template"/>
Expand Down

0 comments on commit 28305b9

Please sign in to comment.