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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.