This can happen when a NetBeans 7.1 project opens a project with an older version of CopyLibs. The solution is;
- Tools->Libraries
- select the "Library location" that you want to fix (not the Global one)
- select the "CopyLibs Task"
- click the "Remove" button on the lower left corner
- click "Ok"
- In the project explorer right click on the "Libraries" virtual folder under
your project
- click "Add Library..."
- click the "Import" button
- select on "CopyLibs Task"
- click the "Import Library" button
- click the "Cancel" button
This can also happen the other way round i.e. when a version of NetBeans less than 7.1 opens a 7.1 project. The solution is;
- Open the file nbproject/build-impl.xml
- remove the rebase attribute and value from the line the error is coming from which is a <copylibs/> tag
Wednesday, 22 February 2012
copylibs doesn't support the "rebase" attribute
Subscribe to:
Post Comments (Atom)
Thanks, really works.
ReplyDeleteGood Job!!!. . My problem was fixed.
ReplyDeleteThanks.
Alfredo Lupe
I'm using netbeans 6.9 and I don't see those options mentioned when I right-click on Libraries virtual folder for the project.
ReplyDeleteSecondly, I'm having only the global libraries nothing else.
Well. mee too, can't see nothing but the global libraries
Deletebut if your problem is the one discussed here, you should try the second option, whics is:
Open the file nbproject/build-impl.xml
- remove the rebase attribute and value from the line the error is coming from which is a tag
works for me...
@Ryan: Thank you so much for the tip