To resolve this error i add next convertation:
        long timeInMillis = System.currentTimeMillis();
        java.util.Calendar cal = java.util.Calendar.getInstance();
        cal.setTimeInMillis(timeInMillis);
        java.util.Date date = cal.getTime();
above "chat.addMessage(null, date, Chat.SYSTEM_MESSAGE,.."(124 str) of OpenmeetingsPluginMenuItem.java
After that "ant rebuild" was executed without any errors.

V.Roman

09.08.2013 10:01, Roman Vnukov пишет:
Thank you, Alexei! I'l change the "import net.java.sip.communicator.util.swing.*" line to "import net.java.sip.communicator.plugin.desktoputil.*" in the OpenmeetingsConfigPanel.java file and it's OK!
But now I have next error and need your help!
Error message is:
[javac] d:\jitsi22\src\net\java\sip\communicator\plugin\openmeetings\Openmee tingsPluginMenuItem.java:124: addMessage(java.lang.String,java.util.Date,java.la ng.String,java.lang.String,java.lang.String) in net.java.sip.communicator.servic e.gui.Chat cannot be applied to (<nulltype>,long,java.lang.String,java.lang.Stri
ng,java.lang.String)
[javac] chat.addMessage(null, System.currentTimeMillis(), Chat.SYSTE
M_MESSAGE,
    [javac]             ^

V.Roman

Reply via email to