|
Not by default. The “default” registry picks up all META-INF/hivemodule.xml files on the classpath. Now, if you have a file in your war named WEB-INF/classes/META-INF/hivemodule.xml, then it WILL pick that up. Is that what you meant?
-----Original
Message-----
So, put all of the common stuff into one jar file. Then, put all thecustomer-specific stuff into the customer-specific jar files. Also, nothingsays you have to have any classes in the separate jars! If bothapplications use the same classes, configured differently (such as differentdatabase connections, etc.), you can just the customer-specifichivemodule.xml files in the jar files! The key, here, is to put all of yourservice/configuration point declarations (and even the static contributions)your application uses into the common jar file. Then, in thecustomer-specific jar files, you put the contributions to thoseservice/configuration points. Does that make sense? -----Original Message-----From: Glen Stampoultzis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 24, 2004 5:58 PMTo: [email protected]Subject: Re: Configuration Question I thought of that but the thing is most of the app is identical between the two versions. It seems overkill to create seperate jars for the two customers. I'm also trying to introduce hivemind incrementally into the project. The current way of configuring things is to use property files that sit outside of the main webapp (on the classpath). Can hivemodule.xml be read from any location other than WEB-INF? Regards, Glen Hensley, Richard wrote:
|
- Configuration Question Glen Stampoultzis
- RE: Configuration Question Hensley, Richard
- Re: Configuration Question Glen Stampoultzis
- Loading Hivemodule.xml from custom location... Alistair Israel
- RE: Configuration Question James Carman
- Re: Configuration Question Glen Stampoultzis
- Re: Configuration Question James Carman
- Re: Configuration Question Glen Stampoultzis
