Re: hw5: how to include log4j library


Subject: Re: hw5: how to include log4j library
From: Paul Freeman (pfreeman@ccs.neu.edu)
Date: Tue Nov 12 2002 - 18:44:10 EST


If you want to use the Log4J library as HW4 solution does, you need to
include it as a required library in the java build path. To do this:
select your project
right click on your project choose properties -> java build path ->
Libraries tab
select add external jar
navigate to the log4j jar file and click ok.

The alternative is to use your own logging aspect. You can modify the
Logging aspect so that it doesn't use Log4J pretty easily.

If you use the log4j library, remember to add it to the classpath of the
application being built with your LoDChecker.

Paul

Lihui Zhang wrote:

>Hi,Paul:
>
>When I compiling the solution for hw4 in eclipse, an error message "can't bind
>name: org.apache.log4j.Logger"is given. I downloaded log4j, but couldn't
>find its plugin. Can you advice me how to import log4j library into
>eclipse?
>
>
>Thanks,
>
>Lihui
>



This archive was generated by hypermail 2b28 : Tue Nov 12 2002 - 18:47:44 EST