This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When trying to "clean and build" project, in some cases, we get this message (on various computers, mostly for EclipseLink library but sometimes for other libs): D:\netbeans\workspace\Culture\Culture-ejb\nbproject\build-impl.xml:282: Warning: Could not find file D:\netbeans\workspace\Culture\Culture-ejb\${libs.EclipseLink.classpath.libfile.2} to copy. Removing and re-adding the lib from the project seems to (temporarily) fix it.
Not a javac problem. Reassigning to ejb project for evaluation.
For 6.5 this was resolved and properties libs.<name>.classpath.libfile.<index> are not used anymore. For 6.1 there can be several reasons for that. If you know more concrete scenario when does it happen I would be happy to check it and give an advice on how to avoid it. Sounds like you are sharing project between different computers? Are you using a Libraries Folder (project properties: libraries panel). Doing so should in general resolve the problem as all binary jars are stored in libraries folder. Are all members of your team using the same version of NB? Hypothetically if a library has different number of jars on classpath in different versions of NB that could result in issue you are describing.
Let me know if you need a help to resolve the problem in NB6.1.
Yes, it would be useful. I does happen on at least a project which isn't shared across computers. We don't put lib files in the project itself: there is a central libs repository, with sources and javadoc, shared by a lot of projects
ymajoros, as I said I'm happy to help but I need to get as concrete scenario/problem description as possible.
I can't reproduce it, sorry. It just happens sometimes, I can't say what the reason is. And it is on big projects with many dependencies, I don't know how to reduce it to a simple test case. But I wouldn't say the issue is "resolved fixed", it definitely happens, and quite often.
I should add that just opening the project properties and clicking on "ok" does resolve the problem... until the next time.
It was fixed in NB6.5 - the concept of copying files was completely removed from IDE and is done by Ant script which simplified it. Because that change was not trivial (code change and build script change) I'm not sure it will be ever backported to a patch release of 6.1
verified. NetBeans IDE Dev (Build 200812080201)