Hi guys,

Is there a simple way to include a resource file in the classpath when
running merlin?

Some of my avalon components contain classes that uses a log4j logger (not
the avalon logger),
and I would like to put a log4j.properties file in a directory which then
merlin should include in the classloader.

Is it possible to do this using the <classpath> tag in the block.xml, or is
there a better way? 

I have succeeded by using the -Dlog4j.configuration=file:///[absolute
path]/log4j.properties as a parameter to merlin, 
which is kind of ugly, and at least I'd like to be able to specify relative
path to the file.

Regards,
Tobias


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

Reply via email to