commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorbjørn Ravn Andersen <thunderax...@gmail.com>
Subject Re: Commons Logging settings
Date Fri, 05 Jan 2007 00:07:14 GMT
Denis Bessmertnyj skrev  den 02-01-2007 18:12:
> I have software which I deliver to client through Java Web Start.
> I use Apache Commons Logging, but it doesn't work when I use it 
> through Web Start,
> because it can't find config file for logger.
You cannot access files inside of a jar as a File, but you can extract 
the contents into e.g. a StringBuffer (use getResourceAsStream()) and
go from there.

-- 
  Thorbjørn

Mime
View raw message