aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse Spring IDE plugin add folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse Spring IDE plugin add folder" Watch "Eclipse Spring IDE plugin add folder" New topic
Author

Eclipse Spring IDE plugin add folder

Jeff Storey
Ranch Hand

Joined: Apr 07, 2007
Posts: 230
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.

thanks,
Jeff


Jeff Storey
Software Developer
[url]http://jeffastorey.blogspot.com[/url]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16068
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Jeff Storey
Ranch Hand

Joined: Apr 07, 2007
Posts: 230
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse Spring IDE plugin add folder