2
I’m trying to create a . JAR in Netbeans, but I get the messages :
C: Users Admin Desktop Project nbproject build-impl.xml:993: The following error occurred while executing this line:
C: Users Desktop Administrator Project nbproject build-impl.xml:837: copylibs doesn’t support the "excludeFromCopy" attribute
Netbeans does not generate . JAR because of these errors.
My specifications
OS version = Windows 7 64 Bits
Java version = 1.7.0_55
Netbeans Release = 7.0.1
according to the error message try to remove the attribute,
excludeFromCopy
of your xml.– Math
by the way, consider using Maven
– Math
How do I do it my friend ? Where do I find the file ? Thank you very much.
– Ramom Moura
From what I read and understood in this bug report from Netbeans itself this is a bug and to fix just upgrade to version 7.4 or more current.
– Math
That’s right my friend, just upgrade ! Really worth !
– Ramom Moura
As I was not sure that only the update would solve your problem I had written otherwise, as it resolved converted to answer ;)
– Math
just to explain to you, when there is an answer that solves the problem mark it as accepted, so it is clear that your doubt has been resolved, to do this just click on the tick (a V that is on the side of the answer) to make it green
– Math