okay, fine, it compiles now. Does it not exist a Howto that tells how to quickly make the pax logger available on a OSGi platform ? currently it seems that the only way is to try and look what are the missing dependencies ...
pierre Quoting Makas Tzavellas <[EMAIL PROTECTED]>: > The testcase is now fixed. LoggingServiceFactory no longer implements > the ManagedServiceFactory, hence the compile error. > > Pierre Parrend wrote: > > Hello, > > > > I'm planning to use PAX for logging on OSGi. unfortunately, it seems the > > compile stage have some bugs in the > > org.ops4j.pax.logging.internal.LoggingServiceFactory class, namely (at mvn > > install; code checked out from subversion this morning 13.11.06): > > > > - lacks the public fields LOG4J_LOGGER_NAME, LOG4J_CONFIG_FILE > > - lacks the constructor LoggingServiceFactory( ConfigFactory, > > PaxLoggingService) > > - lacks the method method updated( String, Hashtable<String, String>) > > > > Is there a clean LoggingServiceFactory lying somewhere ? > > you will find the error output just below, > > > > best regards, > > > > Pierre > > > > ----- > > > /home/pierre/downloads/logging/ops4j/pax/logging/service/src/test/java/org/ops4j/pax/logging/test/Log4jServiceFactoryTestCase.java:[56,45] > > cannot find symbol > > symbol : variable LOG4J_LOGGER_NAME > > location: class org.ops4j.pax.logging.internal.LoggingServiceFactory > > > > > /home/pierre/downloads/logging/ops4j/pax/logging/service/src/test/java/org/ops4j/pax/logging/test/Log4jServiceFactoryTestCase.java:[57,45] > > cannot find symbol > > symbol : variable LOG4J_CONFIG_FILE > > location: class org.ops4j.pax.logging.internal.LoggingServiceFactory > > > > > /home/pierre/downloads/logging/ops4j/pax/logging/service/src/test/java/org/ops4j/pax/logging/test/Log4jServiceFactoryTestCase.java:[63,40] > > cannot find symbol > > symbol : constructor > > > LoggingServiceFactory(org.ops4j.pax.logging.internal.ConfigFactory,org.ops4j.pax.logging.PaxLoggingService) > > location: class org.ops4j.pax.logging.internal.LoggingServiceFactory > > > > > /home/pierre/downloads/logging/ops4j/pax/logging/service/src/test/java/org/ops4j/pax/logging/test/Log4jServiceFactoryTestCase.java:[107,15] > > cannot find symbol > > symbol : method > > > updated(java.lang.String,java.util.Hashtable<java.lang.String,java.lang.String>) > > location: class org.ops4j.pax.logging.internal.LoggingServiceFactory > > > > ---------- > > > > > > > _______________________________________________ > general mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/general > -- Pierre Parrend doctorant, moniteur laboratoire CITI, 21, Av. Jean Capelle 69621 Villeurbanne Cedex [EMAIL PROTECTED] www.rzo.free.fr _______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
