cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <>
Subject Re: Block deployment: working with blocks from a user's point of view
Date Fri, 13 Jan 2006 20:56:10 GMT
> Giacomo Pati schrieb:
>> I've missed to place the dependant jars of a block. So I propose they 
>> go to META-INF/lib with no strong agruments for it but they are needed 
>> to setup the classloader for the block or to populate the parent 
>> classloader and that's done at initialization time.
>> WDYT?

IMO we shouldn't add the jar files, that our blocks depend on, to our blocks but 
put them into WEB-INF/lib for now. My plan is using M2 dependency resolving that 
enables us to ask for all dependencies of a group of jars (see my experiments in 
the deployer-maven-plugin). This way M2 takes care that we only install one jar 
in one version.

When our blocks become OSGi bundles, this problem gets automatically solved.

Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}



Telefonate ohne weitere Kosten vom PC zum PC:

View raw message