Is there a way to add an entire folder to the eclipse Spring IDE plugin so when new files are added they are automatically added to the .springbeans file? I know I can scan the directory but I don't want to do a rescan each time I add a new file or manually update the .springbeans file.
Jeff Storey wrote:I know I can scan the directory but I don't want to do a rescan each time I add a new file or manually update the .springbeans file.
Why? Stuff like that is common when you use build tools such as Ant.
Although, being as how this is Spring, it should be fairly simple to define a "scanning bean" that runs the directory, finds all the eligible classes, and registers them into the Spring framework when the app starts up.
An IDE is no substitute for an Intelligent Developer.
Joined: Apr 07, 2007
My thought was if I'm working in Eclipse and add a new spring bean it will automatically get validated by the Spring builder and I won't need to add it to the .springbeans file in Eclipse. I don't think this is really related to a build script (i.e. ant, maven), just really for ease of use in Eclipse.