cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <>
Subject Re: Block deployment: working with blocks from a user's point of view
Date Fri, 13 Jan 2006 22:00:17 GMT
Hash: SHA1

On Fri, 13 Jan 2006, Reinhard Poetz wrote:

> Date: Fri, 13 Jan 2006 21:56:10 +0100
> From: Reinhard Poetz <>
> Reply-To:
> To:
> Subject: Re: Block deployment: working with blocks from a user's point of view
>>  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.

Yes, correct. We do have M2 to solve them for us.

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

- -- 
Giacomo Pati
Otego AG, Switzerland -
Orixo, the XML business alliance -
Version: GnuPG v1.4.2 (GNU/Linux)


View raw message