plotters / openfire-jappix

Automatically exported from code.google.com/p/openfire-jappix
0 stars 0 forks source link

building for 3.7 with minichat support doubt #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

first, sorry, im very newbie on this but,

i tried to build for the 3.7 version (with revision5), and it seems something 
is not ok with the log, seems to be related to this change.

http://issues.igniterealtime.org/browse/OF-53

so, i am a little lost, as i dont know if i need to:

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

or if its allready inside openfire.jar

anyway, it seems we would need to change stuff like:

        catch (Exception e) {
            Log.error("Error initializing Jappix Plugin", e);
        }

to:

        catch (Exception e) {
            logger.error("Error initializing Jappix Plugin", e);
        }

any help would be welcome,
ps:otoh, i could be complete lost! :) (im used to)

Original issue reported on code.google.com by jaime.d...@gmail.com on 8 Sep 2011 at 12:39

GoogleCodeExporter commented 9 years ago
ok, i found more info at 
http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/javadoc/
org/jivesoftware/util/Log.html

i did add:
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

but still a new issue:
JappixPlugin.java:37: non-static method info(java.lang.String) cannot be 
referenced from a static context
                Logger.info( "["+ NAME + "] initialize " + NAME + " plugin resources");

now i think i cant reach better than this.
i would like to have update release, like openfire3.7 and japix suno (just 
cause it make sense), if someone has any clue, help is welcome! :)

best regards

Original comment by jaime.d...@gmail.com on 8 Sep 2011 at 1:07