Project

General

Profile

How do you enable XEP-0363?

Temur Ashurov
Added over 1 year ago

Hello!

Is there any full instructions on how I can enable XEP-0363 support in my local Tigase XMPP server?

Do i need to specify something in etc/init.properties?

What should be installed over Tigase XMPP server to support HTTP file uploading?

How all of that should be configured to work properly?

Any help is much appreciated!


Replies (5)

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

Tigase HTTP File Upload component is an implementation of XEP-0363 and part of Tigase HTTP API which will be released with version 7.2.0. As of now, it is available as a part of Tigase XMPP Server 7.2.0-SNAPSHOT builds. Documentation for this component and its configuration description is available at http://docs.tigase.org/tigase-http-api/snapshot/Tigase_HTTP-API_Guide/html/#XEP0363

Added by Temur Ashurov over 1 year ago

Hi Andrzej,

I'm trying to maven build the 7.2.0 master branch, but have:

09:02:56.071 [main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal org.codehaus.gmaven:gmaven-plugin:1.5:execute (gitver) on project tigase-server-master: Execution gitver of goal org.codehaus.gmaven:gmaven-plugin:1.5:execute failed: A required class was missing while executing org.codehaus.gmaven:gmaven-plugin:1.5:execute: org/apache/tools/ant/BuildLogger

What my further steps are to successfully build 7.2 snapshot?

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

I usually just run following command:

and as a result I get compiled Tigase XMPP Server and distribution build as well.

In your case, one of Maven plugins we are using fails to find a required class. It is hard to tell why this is happening and on a few installation to which I have access it is working fine.

To use Tigase XMPP Server 7.2.0-SNAPSHOT, you can also download ready to use package from http://build.tigase.org/nightlies/dists/ and select directory with a date of a build. In it you will find ready to use distribution packages for Tigase XMPP Server 7.2.0-SNAPSHOT.

Added by Temur Ashurov over 1 year ago

I'm trying to clone the master branch code in Eclipse using:

git clone https://repository.tigase.org/git/tigase-server.git

And import it as a Maven project, there are those available when done:

/tigase-benchmark-tests

/tigase-server

/tigase-server-asciidoc

/tigase-server-docs

/tigase-server-docs-devel

/tigase-server-master

When trying to build /tigase-server or /tigase-server-master I'm getting the above fail to find a class.

Do you have a link to a working 7.2.0 Tigase server code?

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam over 1 year ago

master branch of Tigase XMPP Server repository which you posted is a branch which contains working version of a source code. I've just compiled sources without any issues. However, I'm using Maven directly from command line.

In your case an issue may be caused by the fact that you are trying to import this project into Eclipse, which may not support all maven plugins which we use.

    (1-5/5)