On Nov 20, 2007 11:24 AM, Nicolas Lalevée <[EMAIL PROTECTED]> wrote:
> Thank you for committing this. And as commented in the jira issue, it > works > fine now :) > > But about jira, I didn't recieved any mail from it. Normally as a reporter > I > should be notified on comments and changed status, shouldn't I ? Is it > correctly configured ? I don't know, I think the default here at Apache is to send e-mails only to watchers. So if you use the watch action on an issue you should be nitified of changes on the issue. > > > So then I tried to subscribe to the ivy-commit list, where every jira > notification is send, but I get : > > <[EMAIL PROTECTED]>: host > mx1.eu.apache.org[192.87.106.230] said: 550 mail to > [EMAIL PROTECTED] not accepted here (in reply > to > RCPT TO command) > > Is something appening to the mailing list ? Maybe... the [EMAIL PROTECTED] list should be migrated to [EMAIL PROTECTED] as a result of our graduation, maybe this is happening right now, I don't know... As a workaround you can use the mailing list feed: http://mail-archives.apache.org/mod_mbox/incubator-ivy-commits/?format=atom Xavier > > > cheers, > Nicolas > > > Xavier > > > > > In IvyDE, there is special logger for ivy, the IvyConsole, that log > every > > > message in an eclipse console. So now it seem that there is not > anymore > > > MessageImpl, but there is a MessageLogger. But as far as I understand, > > > this > > > logger does more that just logging. This apparently have to keep every > > > logged > > > message so they can be retrieved into a resolve report. Which seems to > me > > > a > > > different purpose. > > > > > > And then, if I want to set my custom logger, the former code was : > > > > > > if (IvyContext.getContext().getMessageImpl()==null) { > > > IvyContext.getContext().setMessageImpl(ivyconsole); > > > } > > > > > > As there is no setter on the ivy context, either I do : > > > > > > if (!(Messsage.getDefaultLogger() instanceof IvyConsole)) { > > > Messsage.setDefaultLogger(ivyconsole); > > > } > > > > > > which afraid me about the thread safety... Or I could do > > > > > > Ivy ivy = IvyContext.getContext().getIvy(); > > > if (!(ivy.getLoggerEngine().peekLogger() instanceof IvyConsole)) { > > > ivy.getLoggerEngine().pushLogger(ivyconsole); > > > } > > > > > > And here I am wondering what is the difference between the beans that > are > > > stored into ivy, and the ones into the ivy context. > > > > > > So, how should use the logger API ? > > > > > > cheers, > > > Nicolas > > > > -- > Nicolas LALEVÉE > ANYWARE TECHNOLOGIES > Tel : +33 (0)5 61 00 52 90 > Fax : +33 (0)5 61 00 51 46 > http://www.anyware-tech.com > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/
