Saturday, 9 August 2008

NetBeans Bug Feature

Have you ever had that annoying problem in NetBeans where you're compiling a program & the additional files that your project depends on don't get copied?

It happens to me quite often when I'm building a JOGL application. The program will require the JOGL dlls & JOGL jar files which can be found on my CLASSPATH & in the NetBeans libraries. But when I clean & build my app I'll get the following message.

Not copying the libraries.


This is because NetBeans will only copy jar files to the lib folder that your app depends on. If you try & copy any .dll, .so or .class files they won't get copied. You can find more information about this 'feature' at the following links, here, here & here.
Bookmark and Share

No comments: