Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans build-impl.xml error

Tags:

java

netbeans

I was developing a project on netbeans 6.8 and everything was fine, but a week ago, I installed netbeans 7.0 just for a try.

When i opened nb 7.0 my project was listed in 7.0 as well.

Now today, I am trying to compile my project on netbeans 6.8 and it gives me this error.

nbproject\build-impl.xml:517: copylibs doesn't support the "indexMetaInf" attribute

I guess netbeans 7.0 changed the file. How can i fix this problem?

like image 691
littlestewie Avatar asked Sep 04 '11 08:09

littlestewie


3 Answers

i found the solution myself,and wanted to share, create a new project with netbeans 6.8 and copy its build-impl.xml and replaced my project's build-impl.xml file.

it worked.

like image 160
littlestewie Avatar answered Sep 28 '22 10:09

littlestewie


An "easier" way to fix this problem is to set your project view to File - then go to the file build-impl.xml right click it and select clean.
Then shut down the compiler - restart it and clean and build the application. It sorted the problem out on my compiler.

like image 44
Jan Avatar answered Sep 28 '22 09:09

Jan


1. Right Mouse click On Libraries
2. Click On Properties
3. Checked Red Color Jar File List
4. Click ON Remove button
5. Exit NetBeans IDE
6. Restart NetBeans
Screenshot

enter image description here

like image 34
Ram Pukar Avatar answered Sep 28 '22 09:09

Ram Pukar