I know there are many users seeing this warning. OK, every developer could just add the smackx.jar to the classpath and the warnings would disappear, right?
But if I understand the documentation right, the smack.jar contains all code for plain XMPP standardized usage and the smackx.jar are OPTIONAL extensions. If this is the case, why are the classes from the smackx.jar beeing loaded by default? Shouldn’t it be the other way around?: The default would be not to load those extension classes until they are called or beeing configured.
"smack.jar – provides core XMPP functionality and is the only required library. All XMPP features that are part of the XMPP RFCs are included."
Or did I missunderstand this. A citization from: http://community.igniterealtime.org/message/145498#145498
“It is very simple: you need to specify in the CLASSPATH the smackx package. Although you do not use it explicitely, there’'re classes and packages in Smack that do use smackx package.”
So if there are dependecies from smack.jar to smackx.jar that are there for every usage:
Why isn’t this documented?
Why aren’t they bundeled together?
As far as I can see this is a common issue new users of smack are confronted with. I think all actors may save some time, if this would be changed or at least documented. This is a predestinated case for an FAQ, isnt it?
This should be just some constructive critics. I hope I did not oversee something. Apart from that, I think smack is great work. Thanks to all contributors.
Thanks in advance.