-
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
ormvn package
as there are no assemblies defined for tigase-server component (packages are build from distribution module, i.e. modules/distribution). -
-
A comment from a user:
- i was using this page, so probably it needs updating also
Type |
Bug
|
Priority |
Normal
|
Assignee | |
RedmineID |
1574
|
Spent time |
0
|
It is possible of course but it seems overcomplicated even for experienced software developer who are not familiar with Tigase:
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
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
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
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...