avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject .xinfo
Date Wed, 24 Sep 2003 06:51:29 GMT

Hi,

The .xinfo files that Phoenix expect have a different format from the ones 
that Merlin expect (or so the documentation says).

Merlin;
<type>
  <info>
    <name>simple</name>
    <version>1.0.0</version>
    <lifestyle>singleton</lifestyle>
  </info>
  <dependencies>
    <dependency key="random" type="tutorial.RandomGenerator" version="1.0.0"/>
    <dependency type="tutorial.Identifiable"/>
  </dependencies>
</type>


Phoenix;
<blockinfo>
    <block>
        <version>1.2.3</version>
    </block>
    <services>
        <service name="com.biz.cornerstone.services.MyService"
                 version="2.1.3" />
    </services>
    <dependencies>
        <dependency>
            <role>com.biz.cornerstone.services.Authorizer</role>
            <service name="com.biz.cornerstone.service.Authorizer"
                     version="1.2"/>
        </dependency>
        <dependency>
            <!-- note that role is not specified and defaults
                 to name of service. The service version is not
                 specified and it defaults to "1.0" -->
            <service name="com.biz.cornerstone.service.RoleMapper"/>
        </dependency>
    </dependencies>
</blockinfo>


Shouldn't these be the same?
If not, how come this is not part of Avalon Framework specification from the 
beginning?

Niclas

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message