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.
In "Project Properties" --> "Spring Framework" --> "Configuration Files", the "Add File..." action only allows one Spring configuration file to be added at a time. This is inconvenient for a web project that searches and loads multiple Spring configuration files from many libraries. My company uses a fairly robust template for building web applications. This template consists of various jars that define, among other things, several Spring configuration files. Because the current Spring support does not detect Spring configuration in jars, I have to unpack my jars in a location on my hard drive and add them manually to my project's Spring configuration in order to get JSF/Facelets code completion for beans defined in those files. It would be great to have the NetBeans Spring support detect files in project jars, or (in the interim) to at least be able to add more than one configuration file at a time and to have the file chooser remember the last place I loaded files from in my current JVM session.
Thanks for raising this enhancement. It should be fixed into NetBeans 7.2: - you will be able to select more configuration files at once - last entered directory is remembered About selecting configs from JARs, it's tracked as issues #190927, #176441, but it will not be probably enough of time to do that this release, sorry. Fixed in web-main #21b4264aa319.
Integrated into 'main-golden', will be available in build *201203220400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/21b4264aa319 User: Martin Fousek <marfous@netbeans.org> Log: #191626 - Allow adding multiple Spring configuration files at a time.