The problem seems to be in the Ant version and the new Ant attribute indexMetaInf .
I have the same problem and think it’s worth explaining how I got it.
How to get the problem:
I am using NetBeans 6.8.
I recently installed NetBeans 7.0. Just for new features.
I agreed to use the old NB6.8 configuration when NB7.0 asked me when I first started.
It was a mistake!
So. I started NB7.0 and my good old NB6.8 projects were on the list of projects.
The problem is that NB7.0 not only imported my old projects into the list of its projects; but also changed the build-impl.xml these projects .
And when I opened my projects in NB6.8 and tried to compile them, an error occurred with "indexMetaInf".
The essence of the problem:
NB6.8 uses Ant 1.7.1 by default. And it seems that the attribute "indexMetaInf" is only supported by the latest versions of Ant ( possibly starting from 1.8.x ). This new version of Ant was installed with NB7.0 and is used only by NB7.0 . NB6.8 does not see it.
How to fix the problem:
I updated the build-impl.xml from the disruptive program and build-impl.xml problem. In my previous version of build-impl.xml there was no indexMetaInf .
source share