On Thursday 15 January 2004 16:43, Vikas Phonsa wrote:
> Yeah that's what it looked like to me but thought maybe there is some
> trick.
>
> Ok so I can use "new Test1()". And if my Test1 class in located in say a
> package in a jar.
>
> Could the classloader-classpath be used for loading up that jar at runtime
> or is it supposed to be used with Avalon stuff only.

Yes.
In fact, the <repository> style is a fairly new format. The older direct 
reference is still there.

You should read the docs at 
http://avalon.apache.org/merlin/meta/block/classloader/index.html
http://avalon.apache.org/merlin/meta/block/classloader/classpath/index.html
http://avalon.apache.org/merlin/meta/block/classloader/extensions.html

As you can see there, you have various options available;
1. Repository style = really cool.
2. Library style = somewhat convenient.
3. Fileset style = straight forward.


Niclas



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

Reply via email to