Hi,
I am a very newbie to both Eclipse and Spring. I have installed Eclipse 3.2.2 and the SpringIDE for eclipse. I think the set up is fine (I see Spring showing up in Project Properties, I see a small 's' on top of some of my files in eclipse - these are the files which are referred to in my config.xml (bean configuration files for spring?)

Question: I am doing a very simple test case - An object that has another object (hence the dependency). I created the config.xml and referred to it in the Project Properties for Spring. My question is do we have to do any other specific thing for spring/eclipse to use this xml file? My xml file is very basic - I have an object customer that has two other objects (address and email.) my xml file is:

<beans>
<bean id="customer" class="Customer" depends-on="email, address" />

<bean id="email" class="Email">
<property name="fromEmail">
<value>xxxx@gmail.com</value>
</property>
<property name="userId">
<value>user1</value>
</property>
<property name="password">
<value>user1PWD</value>
</property>
<ref local="customer" />
</bean>

<bean id="address" class="Address">
<property name="address1">
<value>xyz drive</value>
</property>
<property name="address2">
<value>null</value>
</property>
<property name="city">
<value>Arlington</value>
</property>
<property name="state">
<value>VA</value>
</property>
<property name="zipCode">
<value>91223</value>
</property>
<ref local="customer" />
</bean>

</beans>


I was under the understanding that the email and address properties would get set when the application was first started and hence customer would be able to automatically get those values but when I debug the test application (an instance of customer,) neither email nor address is set!

Any ideas what I'm doing wrong or not understanding? Do we have to tell eclipse that it must use the config.xml?

Thanks!
Dipita