"Timothy Bennett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I've got a basic
> idea of the merlin container, and how to create new components for the
> container, but I don't have a clear idea how to re-use my Phoenix blocks
> even though there is much press touting that merlin supports re-use of the
> Phoenix-style blocks.

Ok... maybe it is easier if I work from an example.  I've got this SAR that
I built that wraps a Phoenix block around an embedded web server.  Here's
the layout of the SAR:

--- SAR-INF
      --- config.xml
      --- assembly.xml
      --- environment.xml
      --- lib
           --- all jars needed to run my app
           --- jar(s) that contain my services and blocks including my
Phoenix xinfo files
--- www
      --- index.html
      --- style.css

Ok... I'm thinking that in merlin-land, the config.xml and assembly.xml can
be (for simplicity sake) reduced to the merlin block.xml file, right?  And
the environment.xml isn't really ported to merlin.

My real question is where in merlin-land do I put my jars that my app needs
to run - the ones that are in the SAR-INF/lib directory.  Also, I'm assuming
the Phoenix xinfo files are portable to merlin, and this meta info will have
to be regenerated using a maven build, right?  Which means I need to change
the doclet tags in my block code to conform to the merlin tags, right?

Finally, I've got some html file(s) specified in a root context directory
(www) that is configured in my block's config.xml file.  Where do I put this
directory and files in merlin-land so that when my web server app starts,
the index.html can be served up by the web server?




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

Reply via email to