How can I tell NetBeans to use the latest available version of a JAR for a library?

Posted by Freiheit on Stack Overflow See other posts from Stack Overflow or by Freiheit
Published on 2010-04-23T18:29:44Z Indexed on 2010/04/23 18:43 UTC
Read the original article Hit count: 295

Filed under:
|
|
|

I have a Netbeans project with a library defined which includes several JARs. These JARs are versioned like lib\blah\com.blah.wibble.jar_0.6.1.201004161543 . These are nightly builds from another project so that version changes often.

I know I can point NetBeans at the specific JARs with the version name, but this means that every time I get a new version I have to update the NetBeans library.

I can also strip the version name from the JARs, but this makes it hard to track down bugs. "What version of the blah JARs?" is usually the second thing we ask when we find a bug.

Is it possible to tell Netbeans to use included com.blah.wibble.jar_[??????] where ???? is some sort of automatic pointer to use the latest available version?

© Stack Overflow or respective owner

Related posts about java

Related posts about netbeans