Marco Tedone wrote:

Hi, I'm following the Merlin documentation for the Hello component and it
seems quite straight forward.

I would like to create this component in my own package (obviously with
wider perspectives) but in a way that the maven build would create it; how
should I organize my directory structure?

At present, under Merlin, I can see the following folders:

/activation
/composition
/extension
/etc...

each of which at a certain point has a /src directory that contains a /java
folder that in turn contains the real package hierarchy. Suppose I would
like to add my own package, what shall I do?


I would suggest that you start of with a structure like:


/my-project
  /api
     /src
        /java  <------ public api (interface, exceptions, etc.)
  /impl
     /src
        /java  <------ implementation classes
        /test  <------ test cases

You can put this structure wherever is convinient for you and then as
it gets to an operational level - then the subject of integrating this
into merlin will come up - and there are several options here - most
probably is that it would be as an extension of one kind or another in
which case it would be simply referenced as a component operating within
a merlin container.

As we move forward there will be less and less inside merlin as a result
of improving the facilities management side of things and at the end,
merlin will be nothing more that a very small shell into which different
extensions and facilities are referenced.

Cheers, Steve.



Marco





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





--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





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



Reply via email to