Just for fun ....
If you running 3.3 (CVS HEAD) you can now include "block" and "artifact" urls in the command line. The following example demonstrates the deployment of the remote hello block using a "block:" url:
$ merlin block:merlin/tutorial/hello -execute
[INFO ] (kernel): building application model [INFO ] (kernel): facilities deployment [INFO ] (kernel): block installation [INFO ] (kernel): installing: block:merlin/tutorial/hello Download from: [http://dpml.net/merlin/tutorial/blocks/hello.block] . [INFO ] (tutorial.hello): logging [INFO ] (tutorial.hello): initialization [INFO ] (tutorial.hello): execution [INFO ] (tutorial.hello): disposal
If the command is repeated the hello.block will be retrieved from the local application cache.
The block: url has a fixed "type" - namely "block". The "artifact:" supports variable types by supplying a type=sometype query value. If a type value is not supplied the "artifact:" url will default to "jar". Both "block:" and "artifact:" support the version=someversion query parameter. If not supplied, no version is assigned (as per the hello example).
Cheers, Stephen.
--
|------------------------------------------------| | 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]