Jandex deletes jars on when temp directory is on different filesysytem

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content