On Thu, Aug 14, 2008 at 1:02 AM, Curt Arnold <[EMAIL PROTECTED]> wrote: > Between the JMX, JMS, SMTP and other appenders, log4j does import many > java.* and javax.* packages. Those packages aren't essential to the > functioning of log4j, just specific appenders.
How about making these imports optional? That way, should the dependency be available, the appender would work as expected. But, at the same time it won't put any burden on those who don't want for example JMS to be availble. I believe you can get that by (just using JMS as an example): <Import-Package>!com.ibm.uvm.tools,!com.sun.jdmk.comm,javax.jms;resolution:=optional,*</Import-Package> I tried to test this in your code but ran into problems with the somewhat complex Maven build setup. I'm probably spoiled with Maven builds that just work out of the box :-) /niklas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

