Hello Niklas,

Use the file: protocol.  For instance, here is the relavent
configuration from an Open Source project named Barracuda
( http://barracuda.enhydra.org/ ) which uses
JUnit.

<junit ....>
...
...

<sysproperty
    key="log4j.configuration"
    value="file:../WEB-INF/log4j.xml" />
...
...

</junit>


Jake

Friday, August 16, 2002, 10:48:07 AM, you wrote:

NSM> Hi, I'm using log4j to do all my logging. I'm using ant to build my
NSM> system and run the tests that are based on junit. My application is a
NSM> Tomcat application, so log4j works fine there. But how do I sepcify a
NSM> config-file to use when running the tests in ant?

NSM> Sincerely yours

NSM>         Niklas Saers


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



-- 
Best regards,
 Jacob                            mailto:[EMAIL PROTECTED]


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

Reply via email to