Why do we not publish binaries in the Files section?
We are using WebStart, which means whenever you run the program it updates itself. And all you need is that little 2k file you download from the Files section.
On one hand: the code changes often. On another hand: there are many parts to the project which almost never change. Publishing binaries would mean that we would need to publish 3+ megs of stuff every couple weeks when only 100k needs to be updated.
So we just let webstart do it for us.
If you need binaries - grab them from the webstart folder or build them yourself from repository.
If we get enough people requesting binaries, we will, of course, start publishing them. But in the mean time, lets see how well this approach works.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
Where from I can download the source code of JClaim. I didn't found any link to download the source. Can any one help me in this?
Thanks in advance..
Upendra.P
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Alex..
I downloaded the source code. while building the code I got some troubles like "tool/myKeystore file is not found". Can you help me to get these files. It will be great help for me if you give me some building instructions.
Upendra P.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Alex..
Can you please guide me to run the code. I want to run the manually without .jnlp.
At first I ran "ant jar", it is done without errors and then I ran "ant run" command, here I got the following error. can you please help me in this?
D:\jclaim\jclaim-backup\jclaim>ant run
Buildfile: build.xml
run:
[java] os name = Windows 2000
[java] about to start the win alerter imp
[java] May 25, 2006 10:54:21 AM com.itbs.gui.TrayAdapter <clinit>
[java] SEVERE: Failed to load alerter
[java] java.lang.UnsatisfiedLinkError: no jdic_misc in java.library.path
[java] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
[java] at java.lang.Runtime.loadLibrary0(Runtime.java:822)
[java] at java.lang.System.loadLibrary(System.java:992)
[java] at org.jdesktop.jdic.misc.impl.WinAlerter.loadLib(WinAlerter.java:60)
[java] at org.jdesktop.jdic.misc.impl.WinAlerter.<init>(WinAlerter.java:53)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
[java] at java.lang.Class.newInstance0(Class.java:350)
[java] at java.lang.Class.newInstance(Class.java:303)
[java] at org.jdesktop.jdic.misc.Alerter.loadWin(Unknown Source)
[java] at org.jdesktop.jdic.misc.Alerter.newInstance(Unknown Source)
[java] at com.itbs.gui.TrayAdapter.<clinit>(TrayAdapter.java:54)
[java] at com.itbs.aimcer.gui.Main.createGUI(Main.java:208)
[java] at com.itbs.aimcer.gui.Main.main(Main.java:134)
[java] May 25, 2006 10:54:21 AM com.itbs.gui.TrayAdapter updateTrayIcon
[java] SEVERE:
[java] java.lang.UnsatisfiedLinkError: no tray in java.library.path
[java] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
[java] at java.lang.Runtime.loadLibrary0(Runtime.java:822)
[java] at java.lang.System.loadLibrary(System.java:992)
[java] at org.jdesktop.jdic.tray.internal.impl.DisplayThread.<clinit>(Unknown Source)
[java] at org.jdesktop.jdic.tray.internal.impl.WinSystemTrayService.<clinit>(Unknown Source)
[java] at org.jdesktop.jdic.tray.internal.impl.ServiceManagerStub.getService(Unknown Source)
[java] at org.jdesktop.jdic.tray.internal.ServiceManager.getService(Unknown Source)
[java] at org.jdesktop.jdic.tray.SystemTray.<clinit>(Unknown Source)
[java] at com.itbs.gui.TrayAdapter.updateTrayIcon(TrayAdapter.java:119)
[java] at com.itbs.gui.TrayAdapter.create(TrayAdapter.java:85)
[java] at com.itbs.aimcer.gui.Main.createGUI(Main.java:208)
[java] at com.itbs.aimcer.gui.Main.main(Main.java:134)
[java] May 25, 2006 10:54:31 AM com.itbs.aimcer.commune.weather.WeatherConnection disconnect
[java] INFO: Disconnected weather.
[java] May 25, 2006 10:54:32 AM net.kano.joustsim.oscar.AimConnection createTrustedCertificatesTracker
[java] WARNING: Warning: this AIM connection's certificate and signer managers will not be set because the trust manag
er is null
[java] May 25, 2006 10:54:32 AM net.kano.joustsim.oscar.ExternalServiceManager updateServiceRequest
[java] INFO: Requesting external service 13 for net.kano.joustsim.oscar.oscar.service.chatrooms.RoomFinderServiceArbit
er@5e13ad
[java] java.lang.ClassCastException: org.jivesoftware.smack.PacketReader$4
[java] at org.jivesoftware.smack.SASLAuthentication.bindResourceAndEstablishSession(SASLAuthentication.java:300)
[java] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:210)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:355)
[java] at com.itbs.aimcer.commune.smack.SmackConnection.connectReal(SmackConnection.java:82)
[java] at com.itbs.aimcer.commune.smack.SmackConnection$1.run(SmackConnection.java:73)
[java] May 25, 2006 10:54:43 AM com.itbs.aimcer.commune.smack.SmackConnection connectReal
[java] SEVERE:
[java] (405)
[java] at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:62)
[java] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:223)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:355)
[java] at com.itbs.aimcer.commune.smack.SmackConnection.connectReal(SmackConnection.java:82)
[java] at com.itbs.aimcer.commune.smack.SmackConnection$1.run(SmackConnection.java:73)
[java] May 25, 2006 10:54:43 AM com.itbs.aimcer.commune.GlobalEventHandler connectionLost
[java] INFO: Connection to GoogleTalk lost 1 time(s).
[java] May 25, 2006 10:55:43 AM com.itbs.aimcer.commune.GlobalEventHandler$2 run
[java] INFO: Trying to reconnect GoogleTalk attempt no. 1
[java] java.lang.ClassCastException: org.jivesoftware.smack.PacketReader$4
[java] at org.jivesoftware.smack.SASLAuthentication.bindResourceAndEstablishSession(SASLAuthentication.java:300)
[java] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:210)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:355)
[java] at com.itbs.aimcer.commune.smack.SmackConnection.connectReal(SmackConnection.java:82)
[java] at com.itbs.aimcer.commune.smack.SmackConnection$1.run(SmackConnection.java:73)
[java] May 25, 2006 10:55:48 AM com.itbs.aimcer.commune.smack.SmackConnection connectReal
[java] SEVERE:
[java] (405)
[java] at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:62)
[java] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:223)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:355)
[java] at com.itbs.aimcer.commune.smack.SmackConnection.connectReal(SmackConnection.java:82)
[java] at com.itbs.aimcer.commune.smack.SmackConnection$1.run(SmackConnection.java:73)
[java] May 25, 2006 10:55:49 AM com.itbs.aimcer.commune.GlobalEventHandler connectionLost
[java] INFO: Connection to GoogleTalk lost 2 time(s).
[java] May 25, 2006 10:56:49 AM com.itbs.aimcer.commune.GlobalEventHandler$2 run
[java] INFO: Trying to reconnect GoogleTalk attempt no. 2
[java] java.lang.ClassCastException: org.jivesoftware.smack.PacketReader$4
[java] at org.jivesoftware.smack.SASLAuthentication.bindResourceAndEstablishSession(SASLAuthentication.java:300)
[java] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:210)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:355)
[java] at com.itbs.aimcer.commune.smack.SmackConnection.connectReal(SmackConnection.java:82)
[java] at com.itbs.aimcer.commune.smack.SmackConnection$1.run(SmackConnection.java:73)
[java] May 25, 2006 10:56:55 AM com.itbs.aimcer.commune.smack.SmackConnection connectReal
[java] SEVERE:
[java] (405)
[java] at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:62)
[java] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:223)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:355)
[java] at com.itbs.aimcer.commune.smack.SmackConnection.connectReal(SmackConnection.java:82)
[java] at com.itbs.aimcer.commune.smack.SmackConnection$1.run(SmackConnection.java:73)
[java] May 25, 2006 10:56:56 AM com.itbs.aimcer.commune.GlobalEventHandler connectionLost
[java] INFO: Connection to GoogleTalk lost 3 time(s).
It seems to be that "jdic_misc" and "tray" is missing, but I included those .dll files in the build.xml as follows.
<path id="run.classpath">
<fileset dir="${dir.dist}">
<include name="*.jar"/>
<include name="*.dll"/>
</fileset>
</path>
In this case it is not able to connect to Google Talk and AIM, where as it is able to connect to the Yahoo IM. Please help me in this.
Actually my requirement is to get all the buddy lists from different mail accounts of the user. If you have any other better solution then that will be a great help for me.
Thanks again..
Upendra P.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi.
All the files are in Subversion. (SVN).
It's a more recent repository, alot like CVS. Bigger, better and all that.
Most of today's clients have support for it, so no reason not to use it.
Why do we not publish binaries in the Files section?
We are using WebStart, which means whenever you run the program it updates itself. And all you need is that little 2k file you download from the Files section.
On one hand: the code changes often. On another hand: there are many parts to the project which almost never change. Publishing binaries would mean that we would need to publish 3+ megs of stuff every couple weeks when only 100k needs to be updated.
So we just let webstart do it for us.
If you need binaries - grab them from the webstart folder or build them yourself from repository.
If we get enough people requesting binaries, we will, of course, start publishing them. But in the mean time, lets see how well this approach works.
Hi All,
Where from I can download the source code of JClaim. I didn't found any link to download the source. Can any one help me in this?
Thanks in advance..
Upendra.P
In case it's not clear, go here for *source code* and all other *files*:
http://sourceforge.net/svn/?group_id=160697
Thanks Alex..
I downloaded the source code. while building the code I got some troubles like "tool/myKeystore file is not found". Can you help me to get these files. It will be great help for me if you give me some building instructions.
Upendra P.
That file you have to build yourself. I whish you guys would read the docs section....
That file is needed for signing. you probably will be happy with the "ant jar" and run that way.
But if you want to sign, use keygen executable to create your own certificate. name it myKeystore and put it in tools/ folder.
Thanks Alex..
Can you please guide me to run the code. I want to run the manually without .jnlp.
At first I ran "ant jar", it is done without errors and then I ran "ant run" command, here I got the following error. can you please help me in this?
D:\jclaim\jclaim-backup\jclaim>ant run
Buildfile: build.xml
run:
[java] os name = Windows 2000
[java] about to start the win alerter imp
[java] May 25, 2006 10:54:21 AM com.itbs.gui.TrayAdapter <clinit>
[java] SEVERE: Failed to load alerter
[java] java.lang.UnsatisfiedLinkError: no jdic_misc in java.library.path
[java] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
[java] at java.lang.Runtime.loadLibrary0(Runtime.java:822)
[java] at java.lang.System.loadLibrary(System.java:992)
[java] at org.jdesktop.jdic.misc.impl.WinAlerter.loadLib(WinAlerter.java:60)
[java] at org.jdesktop.jdic.misc.impl.WinAlerter.<init>(WinAlerter.java:53)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
[java] at java.lang.Class.newInstance0(Class.java:350)
[java] at java.lang.Class.newInstance(Class.java:303)
[java] at org.jdesktop.jdic.misc.Alerter.loadWin(Unknown Source)
[java] at org.jdesktop.jdic.misc.Alerter.newInstance(Unknown Source)
[java] at com.itbs.gui.TrayAdapter.<clinit>(TrayAdapter.java:54)
[java] at com.itbs.aimcer.gui.Main.createGUI(Main.java:208)
[java] at com.itbs.aimcer.gui.Main.main(Main.java:134)
[java] May 25, 2006 10:54:21 AM com.itbs.gui.TrayAdapter updateTrayIcon
[java] SEVERE:
[java] java.lang.UnsatisfiedLinkError: no tray in java.library.path
[java] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
[java] at java.lang.Runtime.loadLibrary0(Runtime.java:822)
[java] at java.lang.System.loadLibrary(System.java:992)
[java] at org.jdesktop.jdic.tray.internal.impl.DisplayThread.<clinit>(Unknown Source)
[java] at org.jdesktop.jdic.tray.internal.impl.WinSystemTrayService.<clinit>(Unknown Source)
[java] at org.jdesktop.jdic.tray.internal.impl.ServiceManagerStub.getService(Unknown Source)
[java] at org.jdesktop.jdic.tray.internal.ServiceManager.getService(Unknown Source)
[java] at org.jdesktop.jdic.tray.SystemTray.<clinit>(Unknown Source)
[java] at com.itbs.gui.TrayAdapter.updateTrayIcon(TrayAdapter.java:119)
[java] at com.itbs.gui.TrayAdapter.create(TrayAdapter.java:85)
[java] at com.itbs.aimcer.gui.Main.createGUI(Main.java:208)
[java] at com.itbs.aimcer.gui.Main.main(Main.java:134)
[java] May 25, 2006 10:54:31 AM com.itbs.aimcer.commune.weather.WeatherConnection disconnect
[java] INFO: Disconnected weather.
[java] May 25, 2006 10:54:32 AM net.kano.joustsim.oscar.AimConnection createTrustedCertificatesTracker
[java] WARNING: Warning: this AIM connection's certificate and signer managers will not be set because the trust manag
er is null
[java] May 25, 2006 10:54:32 AM net.kano.joustsim.oscar.ExternalServiceManager updateServiceRequest
[java] INFO: Requesting external service 13 for net.kano.joustsim.oscar.oscar.service.chatrooms.RoomFinderServiceArbit
er@5e13ad
[java] java.lang.ClassCastException: org.jivesoftware.smack.PacketReader$4
[java] at org.jivesoftware.smack.SASLAuthentication.bindResourceAndEstablishSession(SASLAuthentication.java:300)
[java] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:210)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:355)
[java] at com.itbs.aimcer.commune.smack.SmackConnection.connectReal(SmackConnection.java:82)
[java] at com.itbs.aimcer.commune.smack.SmackConnection$1.run(SmackConnection.java:73)
[java] May 25, 2006 10:54:43 AM com.itbs.aimcer.commune.smack.SmackConnection connectReal
[java] SEVERE:
[java] (405)
[java] at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:62)
[java] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:223)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:355)
[java] at com.itbs.aimcer.commune.smack.SmackConnection.connectReal(SmackConnection.java:82)
[java] at com.itbs.aimcer.commune.smack.SmackConnection$1.run(SmackConnection.java:73)
[java] May 25, 2006 10:54:43 AM com.itbs.aimcer.commune.GlobalEventHandler connectionLost
[java] INFO: Connection to GoogleTalk lost 1 time(s).
[java] May 25, 2006 10:55:43 AM com.itbs.aimcer.commune.GlobalEventHandler$2 run
[java] INFO: Trying to reconnect GoogleTalk attempt no. 1
[java] java.lang.ClassCastException: org.jivesoftware.smack.PacketReader$4
[java] at org.jivesoftware.smack.SASLAuthentication.bindResourceAndEstablishSession(SASLAuthentication.java:300)
[java] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:210)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:355)
[java] at com.itbs.aimcer.commune.smack.SmackConnection.connectReal(SmackConnection.java:82)
[java] at com.itbs.aimcer.commune.smack.SmackConnection$1.run(SmackConnection.java:73)
[java] May 25, 2006 10:55:48 AM com.itbs.aimcer.commune.smack.SmackConnection connectReal
[java] SEVERE:
[java] (405)
[java] at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:62)
[java] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:223)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:355)
[java] at com.itbs.aimcer.commune.smack.SmackConnection.connectReal(SmackConnection.java:82)
[java] at com.itbs.aimcer.commune.smack.SmackConnection$1.run(SmackConnection.java:73)
[java] May 25, 2006 10:55:49 AM com.itbs.aimcer.commune.GlobalEventHandler connectionLost
[java] INFO: Connection to GoogleTalk lost 2 time(s).
[java] May 25, 2006 10:56:49 AM com.itbs.aimcer.commune.GlobalEventHandler$2 run
[java] INFO: Trying to reconnect GoogleTalk attempt no. 2
[java] java.lang.ClassCastException: org.jivesoftware.smack.PacketReader$4
[java] at org.jivesoftware.smack.SASLAuthentication.bindResourceAndEstablishSession(SASLAuthentication.java:300)
[java] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:210)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:355)
[java] at com.itbs.aimcer.commune.smack.SmackConnection.connectReal(SmackConnection.java:82)
[java] at com.itbs.aimcer.commune.smack.SmackConnection$1.run(SmackConnection.java:73)
[java] May 25, 2006 10:56:55 AM com.itbs.aimcer.commune.smack.SmackConnection connectReal
[java] SEVERE:
[java] (405)
[java] at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:62)
[java] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:223)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374)
[java] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:355)
[java] at com.itbs.aimcer.commune.smack.SmackConnection.connectReal(SmackConnection.java:82)
[java] at com.itbs.aimcer.commune.smack.SmackConnection$1.run(SmackConnection.java:73)
[java] May 25, 2006 10:56:56 AM com.itbs.aimcer.commune.GlobalEventHandler connectionLost
[java] INFO: Connection to GoogleTalk lost 3 time(s).
It seems to be that "jdic_misc" and "tray" is missing, but I included those .dll files in the build.xml as follows.
<path id="run.classpath">
<fileset dir="${dir.dist}">
<include name="*.jar"/>
<include name="*.dll"/>
</fileset>
</path>
In this case it is not able to connect to Google Talk and AIM, where as it is able to connect to the Yahoo IM. Please help me in this.
Actually my requirement is to get all the buddy lists from different mail accounts of the user. If you have any other better solution then that will be a great help for me.
Thanks again..
Upendra P.
Upendra,
I have posted a change to build.xml.
Update the code tree from SVN.
Should fix your startup problems.
Please start new threads when dealing with new problems. Posting messages in unrelated topics makes things harder to find.
- Alex.