Cool, do you still need help with the classloader isolation? If not I'll move on to the Aether work.
On Jan 6, 2013, at 5:52 AM, Hervé BOUTEMY <[email protected]> wrote: > done in 72bdc8602e5112aa273adc46b06d41c41f0f64a8 > > resetting slf4j factory wasn't sufficient: needed to so the same for slf4j- > simple, with same technique > > Core ITs now run on my machine: great! > > Regards, > > Hervé > > Le mercredi 2 janvier 2013 08:20:12 Hervé BOUTEMY a écrit : >> yes, Maven isn't an app server, strict security manager shouldn't be an >> issue: if someone knows of a situation where it would be, please tell it :) >> >> the very good news with this solution is that it is at slf4j-api level, not >> dependent on logging implementation! >> >> I'll look at it in the WE, if nobody beats me at it: the solution is crystal >> clear, anybody interested in doing some code in core should be able to >> implement it >> >> Regards, >> >> Hervé >> >> Le mardi 1 janvier 2013 20:58:18 Jason van Zyl a écrit : >>> It is. You create that package structure in your app to access it. >>> >>> jvz >>> >>> On 2013-01-01, at 8:48 PM, Stephen Connolly >> >> <[email protected]> wrote: >>>> If I read that right it is accessing a package local method... >>>> >>>> That won't work with a security manager in play (not that we have one) >>>> [unless we repackage the api jar] but just wondering if that may affect >>>> embedded use? >>>> >>>> On Tuesday, 1 January 2013, Jason van Zyl wrote: >>>>> On Jan 1, 2013, at 6:15 PM, Hervé BOUTEMY >>>>> <[email protected]<javascript:;>>>> >>>>> >>>>> wrote: >>>>>> Le lundi 24 décembre 2012 09:12:07 Jason van Zyl a écrit : >>>>>>> If we want to put aside the debate, Ceki has figured out a way for >>>>>>> use >>>>> >>>>> SLF4J >>>>> >>>>>>> Simple by resetting the streams and logging level. Which I can try if >>>>>>> we >>>>>>> want to go down that path. I didn't have to do any work in SLF4J >>>>>>> myself >>>>> >>>>> so >>>>> >>>>>>> I'm fine with this approach. >>>>>> >>>>>> is there something visible somewhere? >>>>>> I didn't find any discussion on slf4j-dev or slf4j-user mailing lists >>>>> >>>>> nor any >>>>> >>>>>> code in slf4j git repo >>>>> >>>>> The suggested solution has existed for two years apparently. There is >>>>> no >>>>> code that needs to be changed and no features to be added. >>>>> >>>>>> resetting TARGET_STREAM in SimpleLogger [1] would require a publid >>>>>> method >>>>>> or I imagine we can even tweak private field access and private method >>>>>> invocation through reflection >>>>>> >>>>>> how are we supposed to work on this? >>>>> >>>>> Just take a look at: >>>>> >>>>> >>>>> https://github.com/qos-ch/logback/blob/master/logback-classic/src/test/ >>>>> ja >>>>> va/org/slf4j/LoggerFactoryFriend.java >>>>> >>>>> Pretty straight forward. I don't have time to look at it until Friday >>>>> but >>>>> if want to implement the reset go for it. I'll ping you on Friday to >>>>> see >>>>> where you are and help out if you need it. >>>>> >>>>>> Regards, >>>>>> >>>>>> Hervé >>>>>> >>>>>> >>>>>> [1] https://github.com/qos-ch/slf4j/blob/master/slf4j- >>>>>> simple/src/main/java/org/slf4j/impl/SimpleLogger.java >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: [email protected] >>>>>> <javascript:;> >>>>>> For additional commands, e-mail: >>>>>> [email protected]<javascript:;> >>>>> >>>>> Thanks, >>>>> >>>>> Jason >>>>> >>>>> ---------------------------------------------------------- >>>>> Jason van Zyl >>>>> Founder & CTO, Sonatype >>>>> Founder, Apache Maven >>>>> http://twitter.com/jvanzyl >>>>> --------------------------------------------------------- >>>>> >>>>> We all have problems. How we deal with them is a measure of our worth. >>>>> >>>>> -- Unknown >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] Thanks, Jason ---------------------------------------------------------- Jason van Zyl Founder & CTO, Sonatype Founder, Apache Maven http://twitter.com/jvanzyl --------------------------------------------------------- Three people can keep a secret provided two of them are dead. -- Benjamin Franklin
