I have a WAR project and I am trying to store spring configuration files within the /WebContent/WEB-INF/Spring/ folder (as required by my employer), but when I do that I have not found a way to be able to reference those files within my junit tests. I was told today that I can modify my MANIFEST.MF file so that the spring configuration files are included, but I have not been able to successfully reference the files from the manifest file.
My first question is whether or not it is possible to reference files in the /WebContent/WEB-INF/Spring/ folder from my junits? If it is possible, how to the manifest file know where to look for the files? Are the links relative?
The folder structure for my WAR is as follows (structure is defined by the company I work for):
WARProject - src\ - WebContent\ - - WEB-INF\ - - - Spring\ - - - - App-config.xml - - - - Security.xml - - META-INF\ - - - MANIFEST.MF
I appreciate any guidance you can provide.
Jeremy