Farr, Aaron wrote:

Picking up from the "loading remote blocks" thread on users@:

What about a new command line parameter for merlin like:

merlin -launch appGroup:appName-VERSION

which would go looking in the repository (local or remote) for:

/repository/appGroup/appName/blocks/block-VERSION.xml


or something like that.

Currently the command line is basically:


merlin [qualifying-options] [blocks]

Where [blocks] is a sequence of block addresses. Supported block addresses include:

   filename of a directory
   url (http or file)

Rather than a -launch parameter, I think we should either (a) cache urls, or (b) define an artifact spec (probably as a url) that is a recognized block address.

Stephen.

The one caveat I can think of would be figuring out the type of resource,
since it could be a jar (with embedded block.xml) or one of those .bar
things that Stephen had once.  I'd prefer to just reference an XML page
since that requires less network traffic.  So maybe:

merlin -launch appGroup:appName:type-VERSION

In any case, it builds off of the existing patterns and offers some more
interesting capabilities (detailed in the other thread).

Thoughts?  Comments?  I'm going to start digging around in code tonight to
get a feel for how it could be implemented.


J. Aaron Farr SONY ELECTRONICS DDP-CIM (724) 696-7653



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




--

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

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



Reply via email to