Hi guys,

I've had a comment exchange on my blog with Brian Fox (
http://sebastien-arbogast.com/index.php/2008/04/11/flex-spring-and-blazeds-the-full-stack-part-2/#comment-126)
because I would like to find a natural solution to share confirguration
files between two modules. In this case, I'm building a Flex+BlazeDS+Spring
applications with two modules, one for the flex part, and the other one for
the web application. And both of those modules need the same configuration
files.
For now, the only solution I've found is to duplicate those files in
src/main/resources for each module.
Brian suggested that I could put those files in a third module to package
them up using assembly, and then retrieve these in both modules that need
it. But it doesn't seem very natural to me.

As a matter of fact, I don't think that this use case is very rare. I mean,
there are situatiosn where you want to reuse icon graphics or configuration
files in several modules. And it would be great if we could place those
resources in the parent module and have the submodules inherit resources
from their parent.

What do you think? Would it be feasible? Would it be okay with best
practices promoted by Maven?

-- 
Sébastien Arbogast

http://sebastien-arbogast.com

Reply via email to