You do not need a log4j jar on the client. However, it looks like maven is trying to rebuild gwt-log from source. Maven may or may not be doing the right thing there as gwt-log uses a combination of server and client side versions of the same log files. I'd highly recommend reconfiguring maven to not do this.
gwt-log-x.x.x.jar ships with ServerLogImplLog4J.java and ServerLogImplLog4J.class (precompiled). HTH Fred On Thu, Sep 17, 2009 at 11:33 AM, Matt Raible <[email protected]> wrote: > > Hello, > > Is log4j required to use gwt-log in a GWT client? When moving our > project to a continuous integration server (Bamboo), we're seeing the > following compilation errors: > > The error (pasted below) is a strange one since I've never experienced > it or seen it. The only thing I can think of is it's caused by the > Maven version. > > 14-Sep-2009 09:51:22 [INFO] Compilation failure > 14-Sep-2009 09:51:22 > 14-Sep-2009 09:51:22 /sans/home/bmaster/.m2/repository/com/ > allen_sauer/gwt/gwt-log/2.6.2/gwt-log-2.6.2.jar(com/allen_sauer/gwt/ > log/server/ServerLogImplLog4J.java):[20,23] package org.apache.log4j > does not exist > > We're using Maven and we had to add log4j as a dependency to fix this. > However, we didn't need this dependency on OS X or Windows development > machines. Seems strange that it's required. > > Thanks, > > Matt > > > -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "gwt-log" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gwt-log?hl=en -~----------~----~----~----~------~----~------~--~---
