Jandex deletes jars on when temp directory is on different filesysytem
Issue
The following build snippet is deleting the 'jee-lib.jar' in the below on Linux and Solaris but not Windows:
<property name="jandex.jar"
location="${modules.base.dir}/org/jboss/jandex/main/jandex-1.0.3.Final-redhat-2.jar" />
<taskdef name="jandex" classname="org.jboss.jandex.JandexAntTask" classpath="${jandex.jar}" />
...
<jandex run="true" verbose="true" modify="true">
<fileset file="${jee-lib.jar}" />
</jandex>
...
Environment
JBoss Enterprise Application Platform (EAP) 6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.