-------- Original Message --------
Subject:        [merlin] meta migration strategy
Date:   Wed, 16 Jul 2003 01:19:47 +0200
From:   Stephen McConnell <[EMAIL PROTECTED]>
Reply-To:       Avalon Developers List <[EMAIL PROTECTED]>
To:     Avalon Dev <[EMAIL PROTECTED]>



I've completed the re-shuffling of the Merlin Meta content into a separate sandbox project and now the Merlin build has been restructured to use Avalon Meta instead of Merlin Meta (at the meta-info level). There is a direct and immediate impact of this change ...

**************************************************
* your existing @avalon.meta.* tags are broken.  *
**************************************************

To correct this situation, you need to:

 1. replace @avalon.meta.* with @avalon.*
 2. replace the following definitions

Old style:
----------

 @avalon.meta.version 1.0
 @avalon.meta.name fred
 @avalon.meta.lifestyle singleton

New style:
----------

@avalon.type version="1.0" name="fred" lifestyle="singleton"


Installation Notes:
-------------------
Finally, you will need to install the avalon meta plugin into you Maven plugin directory. If you have already checked out the sandbox/meta package, then the plugin will be automatically installed as a result of invoking maven. If not, you can download and install the latest version of the plugin from this link:


http://www.ibiblio.org/maven/avalon-meta/

The file to download is:

avalon-meta-plugin-1.0-RC1.jar

To use the plugin inside Maven, you should declare a pre or postGoal inside you maven.xml file such as the following:

<project>
  <postGoal name="java:compile">
    <attainGoal name="avalon:meta"/>
  </postGoal>
</project>

This will result in the automated generation of meta-info descriptors for your components following a successful compilation.

Cheers, Steve.

--

Stephen J. McConnell
mailto:[EMAIL PROTECTED]
http://www.osm.net

Sent via James running under Merlin as an NT service.
http://avalon.apache.org/sandbox/merlin




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--

Stephen J. McConnell
mailto:[EMAIL PROTECTED]
http://www.osm.net

Sent via James running under Merlin as an NT service.
http://avalon.apache.org/sandbox/merlin




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to