Giter VIP home page Giter VIP logo

openfire-plugin-example's Introduction

openfire-plugin-example

Building the Openfire plugin with Gradle.

Project Structure:

openfire-plugin-example/
|-- openfire/
|-- src/
    |-- main/
        |-- java/**/*.java
        |-- resources/
        |-- database/
        |-- i18n/
        |-- web/
        |-- plugin.xml
        |-- readme.html
        |-- changelog.html
        |-- logo_small.gif
        |-- logo_large.gif

Checkout this project:

$ git clone https://github.com/shrhdk/openfire-plugin-example

Download and extract Openfire.

openfire-plugin-example/
|-- openfire/  <- extracted
    |-- README.html
    |-- ...

Build and deploy this project:

$ ./gradlew deployJar

As a result example.jar will be built:

openfire-plugin-example/
|-- build/
    |-- distributions/
        |-- example.jar  <- built

And example.jar will be copied to plugins directory:

openfire-plugin-example/
|-- openfire/
    |-- plugins/
        |-- example.jar  <- copied

Launch Openfire:

$ openfire/bin/openfire run
Openfire 4.0.3 [Nov 12, 2016 4:44:25 PM]
Admin console listening at:
  http://localhost:9090
  https://localhost:9091
ExampleComponent initialzie, JID: example.localhost
<iq type="get" id="456-1" from="component.localhost" to="example.localhost">
  <query xmlns="http://jabber.org/protocol/disco#info"/>
</iq>

(Set up the openfire from admin console (http://localhost:9090) at the firsttime.)

openfire-plugin-example's People

Contributors

shrhdk avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

openfire-plugin-example's Issues

Where can I find Openfire.jar ?

Openfire.jar is required for classes to load. It is not in source that I downloaded from official site, where/how can I get it ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.