Try now Demo en
  • en
  • fr
  • de
  • Product
    • Platform
      • Software TourFeatures & capabilities overview
      • Why eXoeXo Platform key differentiators
      • InternationalisationSupporting multilingual environments
      • MobileResponsive & available on any device
    • Technology
      • No CodeTailor eXo platform to your needs
      • ArchitectureAn overview of eXo Platform technology
      • IntegrationsAvailable connectors & integration capabilities
      • SecurityeXo Platform security measures
      • Open sourceComponents & licensing
  • Solutions
    • Communication
      • Modern IntranetBuild your company culture
      • Knowledge managementCentralize and share your company knowledge
      • Community managementEngage your community
      • ExtranetInvolve your clients and partners
    • Collaboration
      • Social NetworkConnect all your employees
      • Collaboration PlatformEmpower your teams
      • Employee PortalCentralize your work environment
      • Employee EngagementEngage & empower your employees
    • For
      • Public Sector
      • Networks
      • Education
      • Enterprises
  • Pricing
  • Resources
    • Resource center
      • Case studies
      • White Papers
      • Datasheets
      • Videos
    • Migration guide
      • Alternative to Microsoft 365
      • Alternative to Sharepoint
      • Alternative to Workplace from Meta
    • From The Blog
      • eXo Platform 6.5 is released: personalized navigation, multi-sites management and more
      • eXo launches its online community platform – eXo Tribe!
      • Cloud Vs On-premise Digital Workplace: Which one is right for your business?
  • Community
    • CommunityJoin our online community platform
    • DownloadLaunch eXo platform in your infrastructure
    • Source codeSource code on github
    • FAQsAbout the software, the community and our offers
    • REST APIs & DocumentationAll REST APIs available in eXo Platform
  • Company
    • Customers
    • Partners
    • Services
    • About us
    • Contact us
    • Newsroom
  • Menu mobile
    • Pricing
    • About us
    • Careers
    • Resource center
    • Blog
    • Contact us
    • Try eXo
Platform
  • Software Tour Features & capabilities overview
  • Why eXo eXo Platform key differentiators
  • Internationalisation Supporting multilingual environments
  • Mobile Responsive & available on any device
Technology
  • No Code Tailor eXo platform to your needs
  • Architecture An overview of eXo Platform technology
  • Integrations Available connectors & integration capabilities
  • Security eXo Platform security measures
  • Open source Components & licensing
Communication
  • Modern Intranet Build your company culture
  • Knowledge management Centralize and share your company knowledge
  • Community management Engage your community
  • Extranet Involve your clients and partners
Collaboration
  • Social Network Connect all your employees
  • Collaboration Platform Empower your teams
  • Employee Portal Centralize your work environment
  • Employee Engagement Engage & empower your employees
For
  • Public Sector
  • Networks
  • Education
  • Enterprises
Resource center
  • Case studies
  • White Papers
  • Datasheets
  • Videos
Migration guide
  • Alternative to Microsoft 365
  • Alternative to Sharepoint
  • Alternative to Workplace from Meta
From The Blog
  • eXo Platform 6.5 is released: personalized navigation, multi-sites management and more
  • eXo launches its online community platform – eXo Tribe!
  • Cloud Vs On-premise Digital Workplace: Which one is right for your business?
Community Join our online community platform
Download Launch eXo platform in your infrastructure
Source code Source code on github
FAQs About the software, the community and our offers
REST APIs & Documentation All REST APIs available in eXo Platform
Customers
Partners
Services
About us
Contact us
Newsroom
Pricing
About us
Careers
Resource center
Blog
Contact us
Try eXo
  1. Accueil
  2. Uncategorized
  3. Boost Your Platform with the New eXo Add-ons Manager

Boost Your Platform with the New eXo Add-ons Manager

Ho, Ho, Ho, eXo Tribe!!!

Isn’t it the season to give gifts to your beloved friends and family? I’m not Santa Claus but I will give you a gift for Xmas, which I hope you’ll enjoy.

01-image07

In Platform 4.0 we introduced a basic extensions manager, the extension [sh|bat] script, which can be used to install and uninstall various extensions provided by your platform distribution (CRaSH, eXo IDE, …).

At the end of November, while we were traveling with Frédéric and Patrice from France to our eXo office in Vietnam, we thought about how to improve this feature to ease the sharing of the many add-ons, contributed by you, our community.

After a few days of work, I developed a prototype, which I’ve just released as version 1.0.0-alpha-2 (thanks to Frédéric for the bug report for version 1.0.0-alpha-1). There are still many things outstanding, but if you like it like us, you may see it in a future version of Platform.

Let’s take a tour…

Prerequisites

The add-on manager requires Platform 4+ and at the moment I’m testing it with various combinations of environments from Platform 4.0.1 to the latest 4.1.0, which is in development:

02-image06

Installation

To install the add-on manager, just download it and extract the content of the archive into your Platform installation directory. This will add to the root two new scripts (addon.sh and addon.bat) and a new directory addons containing a jar (addons-manager.jar).

To validate your installation, on Windows just launch the script addon.bat or addon.sh on other systems. Use the option –help to display the help messages of the command line program.

addon.sh --help

03-image03

For this article, I’ll use Platform 4.0.3 community edition on Mac OS (and so I’ll use the addon.sh script).

List available add-ons

The main goal of this new add-on manager is to make it easier to install add-ons into your platform. We will start by listing all of the available add-ons

addon.sh --list

04-image01

We have referenced various known extensions in an index and the program displays them. Using this form, you can ask to Patrice to reference a new add-on or a new version of an existing add-on.

We also reference development versions (snapshots) of add-ons but we don’t propose them by default as they may be unstable. To display them, just add the option –snapshots

addon.sh --list --snapshots

05-image09

Install an add-on

To install the latest released version of the awesome chat add-on, for example, we just call:

addon.sh --install exo-chat-extension

06-image04

To install the latest version of an add-on including development versions we call:

addon.sh --install exo-chat-extension --snapshots

07-image05

Oh right ! By default, we don’t want you to overwrite an existing version without a warning. Let’s enforce it with the option –force

addon.sh --install exo-chat-extension --snapshots --force

08-image08

We just replaced version 0.8.0 by the development version 0.8.1-SNAPSHOT.

Let’s now reinstall a specific version (0.8.0-beta1) using the syntax addonId:addonVersion

addon.sh --install exo-chat-extension:0.8.0-beta1 --force

09-image10

Uninstall an add-on

To uninstall an add-on we just call:

addon.sh --uninstall exo-chat-extension

10-image02

How can I reference my own add-ons?

While you are developing an add-on or if you just don’t want to reference it in the global index, you can attach you own list of add-ons to the Platform.

Let’s imagine I’m working on the staging-extension add-on, and I’m deploying it in my local repository with Apache Maven.

To install it using the add-on manager, I just have to create a file $PLATFORM_HOME/addons/list.json (NOTE 2014/12/02 : $PLATFORM_HOME/addons/local.json in add ons manager 1.0.0+) with this minimal content:

[
 {
   "id": "exo-staging-extension",
   "version": "2.3.0-SNAPSHOT",
   "name": "Staging Extension",
   "description": "allows to stage your content before deploying it into production",
   "downloadUrl": "file://../../.m2/repository/org/exoplatform/addons/staging/staging-extension-packaging-extension/2.3.0-SNAPSHOT/staging-extension-packaging-extension-2.3.0-SNAPSHOT.zip",
   "vendor": "eXo platform",
   "license": "LGPLv3",
   "supportedDistributions": ["community","enterprise"],
   "supportedApplicationServers": ["tomcat","jboss"]
 }
]

And then I can install it with:

addon.sh --install exo-staging-extension:2.3.0-SNAPSHOT --force

11-image00

Take care, because at the moment the download URL only supports a relative path from the add-on directory of your Platform installation.

For now, an add-on archive is just a zip file with all the jar and war files required by your add-on. The script automatically copies them to wherever necessary.

What’s next?

Frédéric is trying to summarize all the requirements in a specification. Don’t hesitate to give us your feedback and to comment it. We are all ears.

If you encounter any issues with the current version, don’t hesitate to report them in the tracker. If you want to contribute, don’t hesitate to have a look at the code. There is a README to explain how to build and test the project. I’ll review with pleasure all pull requests.

I wish you a Merry Xmas!

Arnaud

Brahim Jaouane

I am a Digital Marketing specialist specialized in SEO at eXo Platform. Passionate about new technologies and Digital Marketing. With 10 years' experience, I support companies in their digital communication strategies and implement the tools necessary for their success. My approach combines the use of different traffic acquisition levers and an optimization of the user experience to convert visitors into customers. After various digital experiences in communication agencies as well as in B2B company, I have a wide range of skills and I am able to manage the digital marketing strategy of small and medium-sized companies.

Full-featured digital workplace with everything your employees need to work efficiently, smartly integrated for a compelling employee experience

  • Product
    • Software tour
    • Communication
    • Collaboration
    • Knowledge
    • Productivity
    • Open Source
    • Integrations
    • Security
  • Uses cases
    • Digital Workplace
    • Intranet software
    • Collaboration software
    • Knowledge management software
    • Entreprise Social Network
    • Employee Engagement platform
  • Roles
    • Internal Communications
    • Human Resources
    • Information Technology
  • Company
    • Product offer
    • Services Offer
    • Customers
    • Partners
    • About us
  • Resources
    • FAQs
    • Resource Center
    • Collaboration guide
    • What is a Digital workplace?
    • What is an intranet?
    • Employee engagement
  • Terms and Conditions
  • Legal
  • Privacy Policy
  • Accessibility
  • Contact us
  • Sitemap
  • Facebook
  • Twitter
  • LinkedIn
wpDiscuz