Projects tigase _server server-core Issues #243
Problems with building Tigase from sources. (#243)
Artur Hefczyc opened 1 decade ago

It is possible of course but it seems overcomplicated even for experienced software developer who are not familiar with Tigase:

  1. user:

BUILD FAILED

/home/deployment/tmp/tigase-xmltools/build.xml:42: The following error occurred while executing this line:

/home/deployment/tmp/tigase-xmltools/ant-definitions.xml:15: /home/deployment/tmp/tigase-xmltools/libs does not exist.

ant clean jar-dist in xmltools

indeed there is no libs dir

ah i just added the empty dir and it works

git doesn't support empty dirs so probably this was lost in an svn transition. you should make the dir and put a dummy file inside

  1. user:

do i need to use a specific version of any of the dependencies with tigase 5.2.0 beta3?

i compiled xmltools and utils of master, and copied the jars into server/libs but server says BareJID not found

  1. user:

i discovered it was supposed to be jars dir in the case of tigase-server. probably update this page: http://www.tigase.org/tigase-compilation-4-0

  1. user:

server needs other dependencies. not sure how to get them. i tried maven, and it looks like it almost worked. mvn assembly:assembly failed at the end with: "Error reading assemblies: No assembly descriptors found." but i did get a tigase-server.jar

  1. user:

i decided to just download the compiled tarball. but it would be nice to be able to build from git...

wojciech.kapcia@tigase.net commented 1 decade ago

BUILD FAILED

/home/deployment/tmp/tigase-xmltools/build.xml:42: The following error occurred while executing this line:

/home/deployment/tmp/tigase-xmltools/ant-definitions.xml:15: /home/deployment/tmp/tigase-xmltools/libs does not exist.

ant clean jar-dist in xmltools

indeed there is no libs dir

ah i just added the empty dir and it works

git doesn't support empty dirs so probably this was lost in an svn transition. you should make the dir and put a dummy file inside

fixed

do i need to use a specific version of any of the dependencies with tigase 5.2.0 beta3?

i compiled xmltools and utils of master, and copied the jars into server/libs but server says BareJID not found

by the rule of thumb:

  • tigase server x.y.z requires dependencies in matching version (i.e. sources tagged for example 5.2.0 beta3 of xmltools)

  • latest master sources should compile with latest sources from dependencies.

i discovered it was supposed to be jars dir in the case of tigase-server. probably update this page: http://www.tigase.org/tigase-compilation-4-0

guide updated, also a note pointing to more recent guide added;

server needs other dependencies. not sure how to get them. i tried maven, and it looks like it almost worked. mvn assembly:assembly failed at the end with: "Error reading assemblies: No assembly descriptors found." but i did get a tigase-server.jar

i decided to just download the compiled tarball. but it would be nice to be able to build from git...

first of all - one of the reason of switching to maven was automatic handling of dependencies; secondly - Tigase is build nightly without any issues - please use mvn install or mvn package as there are no assemblies defined for tigase-server component (packages are build from distribution module, i.e. modules/distribution).

Artur Hefczyc commented 1 decade ago

A comment from a user:

  • i was using this page, so probably it needs updating also

http://www.tigase.org/content/maven-2x-support

wojciech.kapcia@tigase.net commented 1 decade ago

I've added comment about updated guide. There is no reason to re-do old one as it was valid and accurate to older versions.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
1574
Spent time
4h 30m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#243
Please wait...
Page is in error, reload to recover