In an Ant zip task, how can I include a zipfileset conditionally?
I have tried this:
<zip destfile="/path/bar.zip">
<zipfileset src="foo.zip" if="include.foo.zip">
</zipfileset>
...
</zip>
But zipfileset does not support if.
In an Ant zip task, how can I include a zipfileset conditionally?
I have tried this:
<zip destfile="/path/bar.zip">
<zipfileset src="foo.zip" if="include.foo.zip">
</zipfileset>
...
</zip>
But zipfileset does not support if.
Copyright © 2021 Jogjafile Inc.
You should include ant-contrib jar in Ant classpath and use the task def