Having troubles to attatch join to spark

I have…

  1. checked out the spark(rivision #10959) and smack(rivision #10950)

  2. biult smack and got smack.jar, smackx-debug.jar, smackx-jingle.jar, smackx.jar

  3. rmoved bundled smack.jar, smackx-debug.jar, smackx-jingle.jar, smackx.jar from the build path of spark project

  4. added built smack.jar, smackx-debug.jar, smackx-jingle.jar, smackx.jar to the build path of spark project

  5. launched the spark

I got some errors corresponded to login action such as following…

Header 1
Exception in thread “Thread-5” java.lang.Error: Unresolved compilation problem:
The method login(String, String, String) in the type XMPPConnection is not applicable for the arguments (String, String, String, boolean)

at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:886)
at org.jivesoftware.LoginDialog$LoginPanel.access$0(LoginDialog.java:794)
at org.jivesoftware.LoginDialog$LoginPanel$2.construct(LoginDialog.java:632)
at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:131)
at java.lang.Thread.run(Unknown Source)

but above problem was solved thanks to someone else but got another problem as following

In “org.jivesoftware.spark.ui.RetryPanel.java”

there is a mehtod like

Header 1
private void reconnect() {
try {
if (closedOnError) {
ReconnectionManager.forceReconnection();
}
else {
SparkManager.getMainWindow().logout(false);
}
}
catch (Exception ex) {
ex.printStackTrace();
}
}

But the thing is there is no static forceReconnection() method in or above ReconnectionManager

How can I fix this?

Thanks again in advance

Hi,

Take a look at this: http://xepec.ru/smack_3_1_0/documentation/connections.htmlhttp://xepec.ru/smack_3_1_0/documentation/connections.html