Hi David,

Though Jetspeed does not support classpath resources to override bean 
definitions directly, I think you can accomplish that by using importing 
feature of spring framework itself.
For example, you can put one spring configuration xml file under 
/WEB-INF/assembly/overrides/ folder to import other resources from the 
classpath like the following:

<beans ...>

    <import resource="classpath:/com/examples/app1/CustomConfiguration1.xml" />

    <import resource="classpath:/META-INF/assembly/CustomConfiguration2.xml" />

    <import resource="classpath:/com/examples/app2/CustomConfiguration*.xml" />

</beans>


Regards,

Woonsan

--- On Tue, 10/6/09, David Just <[email protected]> wrote:

> From: David Just <[email protected]>
> Subject: Override xml file in a jar
> To: "Jetspeed Users List" <[email protected]>
> Date: Tuesday, October 6, 2009, 11:56 PM
> For overriding or adding
> configuration to Jetspeed 2.2  your supposed to
> put an XML file in the assemblies/override/ folder. 
> Instead of doing
> this, would it be possible to tell Jetspeed to also search
> the classpath
> for files that end in say *-jetspeed-config.xml ?
> 
>  
> 
>  
> 
> 
> 
> David Just l Software Engineer l Vision Solutions l +1
> (507) 529-5939 l [email protected]
> The contents of this e-mail (and any attachments) are
> privileged and confidential. Unauthorized use is strictly
> prohibited.
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to