How to configure your server on windows xp,Eclipse

Submitted by Anonymous on Thu, 2007-01-04 05:43.

Hi!

I have been working for last few days on configuring and running your server on my eclipse 3.2.1 with jdk1.6, ant and ant contribute...
Using your guide I have Successfully installed subversion in my eclipse and downloaded all three projects tigase-server,tigase-utils and tigase-kmltools...

But When i try to run jar-all in tigase-util i get error message as

BUILD FAILED
E:\tigase_workspace\tigase-utils\build.xml:21: Execute failed: java.io.IOException: Cannot run program "svn": CreateProcess error=2, The system cannot find the file specified

When i try to run jar-all in tigase-xmltools i get error message as

BUILD FAILED
E:\tigase_workspace\tigase-xmltools\build.xml:19: Execute failed: java.io.IOException: Cannot run program "svn": CreateProcess error=2, The system cannot find the file specified

When i try to run jar-all in tigase-utils i get error message as

BUILD FAILED
E:\tigase_workspace\tigase-server\build.xml:19: Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, The system cannot find the file specified

Note : Since i have already installed subversion in eclipse i cant understand why i am still getting those error messages.
Also I want to implement transports for hotmail , yahoo etc in your server can you please guide me how it would be possible to develop those transports, I have good idea about those in jabber but will defiantly need your assistance to develop those for your server.

Thanks and regards
Sajjad Ahmed Paracha

Trackback URL for this post:

http://www.tigase.org/en/trackback/136
kobit's picture
Submitted by kobit on Sun, 2007-01-07 23:29.

Sorry for late response. I was away without access to internet.

Back to your questions.

1. Need for svn, svnversion:
Yes, you are right. My ant script used to use these to retrieve build number from subversion repository number. I didn't realize that some people might not have installed full subversion tool when working with Tigase code as the source code is in subversion repository. You case shows that it might happen quite often.

In order to make it easier I changed slightly ant script. Now when you call default target to build jar file - jar target neither svn or svnversion is called. So everybody should be able to compile sources with just ant installed.
In such case build number is set to DEV string.

If you want to have real build version you have to call now jar-dist target from ant script.

Just checkout last source codes to make use of these changes.

2. Transport implementation.

I think the best way to implement transport within Tigase server would be to implement Tigase component.

There are number of components already implemented which could be used as sample code.
Look at sources of following classes which are Tigase components implementation:

  • src/tigase/server/xmppserver/ServerConnectionManager.java for server connections manager implementation.
  • src/tigase/server/xmppclient/ClientConnectionManager.java for client connections manager code.
  • src/tigase/server/xmppcomponent/ComponentConnectionManager.java for component connections manager code - implementation of XEP-0114.
  • src/tigase/server/xmppsession/SessionManager.java for session manager code.

I think your transport implementation should be similar code of above classes.

Artur Hefczyc
--
http://www.tigase.org/
http://wttools.sf.net/


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.