Addendum: for a more recent guide please follow Tigase XMPP Server 5.2.0 and Later - Compilation and Generating Distribution Packages.
Thanks to bmalkow you can now build Tigase server from sources using Maven 2.x tool. This should greatly simplify first steps with Tigase code and it was requested by many of those trying to get the server running from sources. Maven repository with Tigase packages is located at address: maven.tigase.org. Now all you need to compile sources and generate packages needed to run the server is just a few simple steps below:
Checkout Tigase server sources from Subversion repository:
svn co https://svn.tigase.org/reps/tigase-server/trunk/ tigase-server
Now go to directory with server code:
And run maven command to generate server package:
After maven finished his work there should be new subdirectory created: target. Go to this directory now:
and list content of this directory. On Linux, Unix system:
On MS Windows system:
You should see at least 2 files like these:
Unpack one of these files whichever you like:
tar -xzvf tigase-server-2.4.0-SNAPSHOT-prodenv.tar.gz
New directory will be created in our case it will be:
tigase-server-2.4.0-SNAPSHOT/. Now go to this directory:
Now almost everything is ready to run the server. Almost because sometimes on Unix like (including Linux) operating systems you have to change script execution bit before you can run it:
chmod u+x bin/*
Now you can run Tigase server:
./bin/tigase.sh run etc/tigase.conf
You can get a few warnings about missing configuration file (which will be automatically created) and user repository file (which will be automatically created when you register first user).
For your convenience there are a few other startup files in
etc/ directory. You can look and modify them according to your needs.