My batch programs are based on locations. The configurations vary based on locations.
I am using ResourceBundleMessageSource to load configuration files.
I am able to read the property files, if the properties folder is added to classpath. This should not be done. Because in our case the batch programs will be converted as JAR and run from either command line or AUTOSYS scheduler.
Similar to web projects we should be able to load property files.
One way i could do ''with out loading properties folder" in classpath is:
Is there any way where, i can get rid off "file://localhost/c:" (Mentioning drive name). Tried different ways not to mention drive name, but its of no use.
<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">