Giter Site home page Giter Site logo

skizilkaya / openfire-apns-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xinminlabs/openfire-apns-plugin

0.0 2.0 0.0 119 KB

openfire-apns-plugin is used to integrate Apple Push Notification Service to Openfire.

Java 93.63% HTML 6.37%

openfire-apns-plugin's Introduction

Building

Pre-requisite: Use Maven 2.2.1

  1. Install maven-openfire-plugin from https://github.com/srt/maven-openfire-plugin
  2. Obtain a copy of openfire.jar and install it into maven. There are serveral ways you can do it, here are two of them:
  • Option 1. Download source code of the version of openfire you need at http://www.igniterealtime.org/downloads/source.jsp

    Then set $OPENFIRE_PATH and $OPENFIRE_VERSION environment variables according to source code path and version and run:

    cd $OPENFIRE_PATH/build
    ant
    mvn install:install-file -DgroupId=org.igniterealtime.openfire -DartifactId=openfire -Dversion=$OPENFIRE_VERSION -Dpackaging=jar -DgeneratePom=true -Dfile=$OPENFIRE_PATH/target/openfire/lib/openfire.jar
  • Option 2. If you installed openfire using openfire*.deb package on ubuntu, you can find openfire.jar inside /usr/share/openfire/lib:

    Because this directory is read protected from regular users, you would first have to copy it to somewhere in your home directory and change it's read permissions using sudo, e.g by running:

    sudo cp /usr/share/openfire/lib/openfire.jar .
    sudo chmod a+r openfire.jar

    Now you can install it into maven by running:

    mvn install:install-file -DgroupId=org.igniterealtime.openfire -DartifactId=openfire -Dversion=$OPENFIRE_VERSION -Dpackaging=jar -DgeneratePom=true -Dfile=openfire.jar
  1. Inside openfire-apns-plugin directory run: mvn clean install
  2. If the build was successfull openfire-apns.jar should appear in target directory.

openfire-apns-plugin's People

Contributors

fernandoofj avatar flyerhzm avatar yesenarman avatar

Watchers

 avatar  avatar

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.