Spark does not use latest version of Smack library

Hi,

Spark uses a old library of Smack 3.3.1. Is there a plan to use the latest one? It is a bit hard to get code of old Smack library and integrate that with Spark client to debug.

Also, can someone point me to the right steps to debug a spark plugin. I tried using these steps but it seems like the batch file is an outdated one.

  1. Download the following file: (This location does not have the batch file, I took it from the latest source of Spark from github)
  2. Windows: http://svn.jivesoftware.org/svn/repos/spark/trunk/src/resources/startup.bat
    or
  3. Linux: http://svn.jivesoftware.org/svn/repos/spark/trunk/src/resources/startup.sh
  4. Place in to %Spark Installation Path%/bin, for example: c:\Program Files\Spark\bin\
  5. Execute Spark from the command line: startup -debug

You can check this discussion about Smack Update smack version in Spark to current release Yes, Smack in Spark is very old, but it is not so easy to update it.

Can’t comment on debug file. Btw, svn is in read-only mode for some time and all the source is on GitHub now.

Thank you for letting me know about the integration. However can you please point me to where this code is. It will be helpful for setting up my debugging environment to debug the spark plugins I am developing.

Spark code version - 2.7.3, (since client latest version is 2.7.3)

Smack code version - 3.3.1

Is this on GitHub?

The source is here igniterealtime/Spark · GitHub

But it probably won’t have Smack 3.3.1 source there. Old Smack code is only available on SVN.

But it probably won’t have Smack 3.3.1 source there. Old Smack code is only available on SVN.

No, when we converted the SVN to git the whole history was preserved: igniterealtime/Smack at 3.3.1 · GitHub

That’s great. I didn’t try to go by tags.

I just recently created the tags and pushed them. To make it more obvious that the code is there.