views:

141

answers:

1

I just downloaded the Springsource Tool Suite, and I created a simple bean configuration file called myDefinition.xml and placed it in the root directory of the Spring Project. However, the Spring Explorer is not showing any data. I'm using eclipse 3.5 and the latest SpringSource all-in-one installation.

Also, if I specify invalid property names in the configuration file, I get no error. Autocomplete, however, is working.

Thoughts?

+1  A: 

In the Spring Explorer tab in Eclipse, right click on your project > properties. Then go to Spring > Beans Support and select the Config Files tab. You can then select files or scan a directory and that should add them. I haven't found a way to autoscan a directory so I don't have to do this whenever I add a new spring bean file. The beans that appear in that list are stored in the .springbeans file.

Jeff Storey
Awesome. Very much thanks.
Stefan Kendall
Sure thing. If you figure out a way to have it autoscan the directory when new files are added, please post that as well. Thanks.
Jeff Storey