All, I have a multi-module project, one called domain (where most
business logic is located) and the other is webapp.

I'm using Spring.

In my domain module, I have various Spring context configuration files
in the resources directory.  In order to make things work with Spring
MVC in the webapp module, my web.xml file has the following...

<context-param>
   <param-name>contextConfigLocation</param-name>
   <param-value>
     /WEB-INF/applicationContext-web.xml
     /WEB-INF/applicationContext-domain.xml
   </param-value>
 </context-param>

Specifying the various collections of Spring configuration files.

The question is, when I build my webapp module, what is the best way
to grab the applicationContext-domain.xml file from the domain modules
resources dir and place it in WEB-INF?

Also, I might still have a Ant way of doing things:-), so if you have
any recommendations of the best way of doing this, please let me know.
I can't simply have this file in the WEB-INF dir to begin with, since
the domain module needs to be able to run independent unit tests and
will eventually provide other services that are not served to a web
client.

Any ideas would be appreciated.

Thanks.

Ilya Sterin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to