On Tue, 13 Nov 2001 04:56, Ulrich Mayring wrote:
> I am currently writing a block as a wrapper around some third-party
> code, which is available as a .jar file. This block will be used in many
> .sar applications. Where do I put the 3rdparty.jar? Currently I see two
> ways:
>
> - in the .sar application's lib directory
> - in Avalon's general lib directory
>
> Both methods have the disadvantage that I cannot just give the block to
> someone and it will run. I have to tell him "put 3rdparty.jar in
> Avalon's lib directory or in your .sar application's lib directory and
> take care that you get the right version of 3rdparty.jar". Is there
> another way to associate a .jar with a certain block, so it can be
> deployed as a unit?

If you chuck the jar inside the .sar in 

lib/3rdparty.jar (oldstyle)
SAR-INF/lib/3rdparty.jar (newstyle)

It should work fine.

-- 
Cheers,

Pete

"Artists can color the sky red because they know it's blue.  Those of us who
 aren't artists must color things the way they really are or people might 
 think we're stupid." -- Jules Feiffer 

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

Reply via email to