J Aaron Farr wrote:

On Sun, 2003-06-08 at 22:28, Stephen McConnell wrote:


> Also, seems like it should be possible to generate a basic
> block.xml file from a maven project.xml file. I'm going to
> look into it, just wondering if anyone else has already
> started on this idea.

I guees your thinking about the construction of a classpath
declaration and setup of the basic block structure?
This would make sence.



Yep.


If I understand correctly, such a plugin should be able to take the
merlin meta-info and the maven project.xml file and create a block.xml
descriptor which specifies the classpath engine, the components, the
services offered and also the dependencies.


Sounds good!


I don't have time to work on it yet, but I've been considering putting
together this plugin and also a JBuilder tool for running/debugging
merlin applications.  Debugging Fortress apps is fairly easy since the
container is embedded, but debugging phoenix and merlin apps can be a
little tricker.


Here is a summary of the currently available goals:


  merlin:meta
    - automated generation of meta-info type and service
      descriptors using javadoc tags

  merlin:simulate
    - deploys merlin in execute mode based on the
      target/classes content and block.xml, typically
      used as a postGoal to test:test

  merlin:deploy
    - deploys merlin relative to the jar file built
      my Maven, typically used to validate the generated
      jar file for deployment integrity

  merlin:install
    - equivalent to jar:install and replication of the
      jar to the Merlin repository (there is also the
      internal merlin:replicate goal which does the
      copying with the jar creation)

The simulate and deploy goals use a JellyBean within which Merlin is embedded and invoked as part of the jelly script. One of the things I'm thinking about is the possibility of running these goals without a Merlin installation. Currently the embedding process using the DefaultKernel loader which is driven relative to the Merlin installation directory and structure. It would be feasible to write an alternative implementation that worked relative to the maven plugin repository.

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]



Reply via email to