• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse Spring IDE plugin add folder

 
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Jeff Storey
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic