Closed luzi82 closed 12 years ago
Try building asmack android. There are build targets
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
luzi82 reply@reply.github.com wrote:
I have built asmack-jse.jar from latest guardianproject asmack master branch (06a2c8363e), but the jar does not work with current Gibberbot. Here is the compile error:
The method setCustomSSLContext(SSLContext) is undefined for the type ConnectionConfiguration XmppConnection.java /Gibberbot/src/info/guardianproject/otr/app/im/plugin/xmpp line 680 Java Problem
it seems that the function "ConnectionConfiguration.setCustomSSLContext" is missing.
Reply to this email directly or view it on GitHub: https://github.com/guardianproject/Gibberbot/issues/81
Thanks to your help. I have compiled asmack-android-4.jar and put to Gibberbot, but still does not work. Moveover, there is no "setCustomSSLContext" in any file in asmack.
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
luzi82 reply@reply.github.com wrote:
Thanks to your help. I have compiled asmack-android-4.jar and put to Gibberbot, but still does not help. Moveover, there is no "setCustomSSLContext" in any file in asmack.
Reply to this email directly or view it on GitHub: https://github.com/guardianproject/Gibberbot/issues/81#issuecomment-2506200
I have updated to the latest. And use sdk 4, just as the target "compile-a4".
Would you please check if the github contains the latest src? Thanks. On Oct 25, 2011 1:11 AM, "n8fr8" < reply@reply.github.com> wrote:
Which version of Android sdk are you compiling against?
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
luzi82 reply@reply.github.com wrote:
Thanks to your help. I have compiled asmack-android-4.jar and put to Gibberbot, but still does not help. Moveover, there is no "setCustomSSLContext" in any file in asmack.
Reply to this email directly or view it on GitHub: https://github.com/guardianproject/Gibberbot/issues/81#issuecomment-2506200
Reply to this email directly or view it on GitHub: https://github.com/guardianproject/Gibberbot/issues/81#issuecomment-2506274
I mean the latest src of asmack.
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
luzi82 reply@reply.github.com wrote:
I have updated to the latest. And use sdk 4, just as the target "compile-a4".
Would you please check if the github contains the latest src? Thanks. On Oct 25, 2011 1:11 AM, "n8fr8" < reply@reply.github.com> wrote:
Which version of Android sdk are you compiling against?
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
luzi82 reply@reply.github.com wrote:
Thanks to your help. I have compiled asmack-android-4.jar and put to Gibberbot, but still does not help. Moveover, there is no "setCustomSSLContext" in any file in asmack.
Reply to this email directly or view it on GitHub: https://github.com/guardianproject/Gibberbot/issues/81#issuecomment-2506200
Reply to this email directly or view it on GitHub: https://github.com/guardianproject/Gibberbot/issues/81#issuecomment-2506274
Reply to this email directly or view it on GitHub: https://github.com/guardianproject/Gibberbot/issues/81#issuecomment-2506362
Thank you. I will wait for your reply. I need to recompile asmack to check the issue #75 or others.
How I compile asmack:
After more digging, it looks like the setCustomSSLContext feature comes from here: https://github.com/rtreffer/smack/commit/19438d9dce9ac1ae466973487a65732c575b63f6
which means the version of Smack we are using is actually: https://github.com/rtreffer/smack
though in our version of build.bash that line is commented out: fetchall() {
fetch "http://svn.igniterealtime.org/svn/repos/smack/trunk" "smack" fetch "http://svn.apache.org/repos/asf/qpid/trunk/qpid/java/management/common/src/main/" "qpid" fetch "http://svn.apache.org/repos/asf/harmony/enhanced/java/trunk/classlib/modules/auth/src/main/java/common/" "harmony" fetch "https://dnsjava.svn.sourceforge.net/svnroot/dnsjava/trunk" "dnsjava" fetch "https://kenai.com/svn/jbosh~main/trunk/jbosh/src/main/java" "jbosh" }
Hmm.
Thank you very much. I will try that later. (The change even does not show in http://www.igniterealtime.org/builds/smack/docs/latest/javadoc/org/jivesoftware/smack/ConnectionConfiguration.html , well. )
Please review this pull: https://github.com/guardianproject/asmack/pull/2
The latest asmack is building just fine: https://github.com/guardianproject/asmack
The method setCustomSSLContext(SSLContext) is undefined for the type ConnectionConfiguration
@NazarAbbas are you building against the asmack jar we include in ChatSecure, or did you try to build asmack yourself?
I am building against the asmack jar you include in ChatSecure.
I have built asmack-jse.jar from latest guardianproject asmack master branch (06a2c8363e), but the jar does not work with current Gibberbot. Here is the compile error:
it seems that the function "ConnectionConfiguration.setCustomSSLContext" is missing.