cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: reading settings in cocoon.xconf
Date Mon, 04 Sep 2006 12:57:52 GMT
Leszek Gawron wrote:

> Hmmm ... not really. And the system property solution would not also 
> work. Everything because you may mount more that one development block 
> directly from source:
> 
> <plugin>
>      <groupId>org.apache.cocoon</groupId>
>      <artifactId>cocoon-deployer-plugin</artifactId>
>      <version>1.0.0-M2-SNAPSHOT</version>
>      <configuration>
>          <useShieldingClassloader>false</useShieldingClassloader>
>          <useShieldingRepository>false</useShieldingRepository>
>          <blocks>
>              <developmentBlock>
>                  <groupId>com.mobilebox.donnelley</groupId>
>                  <artifactId>donnelley-block-common</artifactId>
>                  <localPath>../donnelley-block-common</localPath>
>              </developmentBlock>
>          </blocks>
>      </configuration>
> </plugin>
> 
> which needs to read properties from:
> - src/main/resources/META-INF/properties
> - ../donnelley-block-common/src/main/resources/META-INF/properties
> 
We could allow more than one directory in the system property or the
attribute (separated by comma).

Carsten

-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Mime
View raw message