Hello everyone. Is it possible to change asmack source code and build it by yourself now. Because this link doesn’t contain any information today https://github.com/Flowdalic/asmack/wiki .I just want to add new Message.Type enums but I don’t know how I can rebuild src.
I just want to add new Message.Type enums but I don’t know how I can rebuild src.
Never ever extend XMPP in this way! If you want to add custom metadata to a stanza then use a PacketExtension!
Ok. I understand it. And another question is - how I can build asmack ???
I figured out how to build asmack
- Use this tutorial http://overwatering.org/blog/2013/05/compiling-asmack/
- After 15th steps do: /android-sdk-linux/tools/android update sdk -u
or limit to some particular platformshttp://stackoverflow.com/questions/4681697/is-there-a-way-to-automate-the-androi d-sdk-installation/4682241#4682241
Need Java7 to be installed
compiled jar will be located here /home/vagrant/asmack/releases
Original asmack repository has wrong configs, here is a repo with fixes https://github.com/QuickBlox/asmack/
Original asmack repository has wrong configs,
I doubt that this is the case. I’ve use the build script to create the most recents 4.0.3 aSmack snapshots.
Note that if you think you need to build aSmack from source, then you are have most likely a flaw in your design. Smack (and this includes aSmack) is designed to be easily extensible in the place where it’s possible to be extended. If you need to extend it somewhere else, then you will likely produce non-standard confrom XMPP stanzas/elements.