Enonic Market Enonic Market
Library Starter icon

Library Starter

Create XP software libs

A library allows packaging resources and code to be reused across different applications. This starter kit will set up the basics for creating library project for Enonic XP.

Releases

  1. 1.2.0

    • Added maven publishing support by default
    • Compatibility:
      • 7.0.0
  2. 1.1.1

    • Fixed README to describe deploying the lib with CLI
    • Compatibility:
      • 7.0.0
  3. 1.1.0

    • Updated for compatibility with XP7
    • Compatibility:
      • 7.0.0
  4. 1.0.0

    • Initial release
    • Compatibility:
      • 6.13.0

Comments

Clone Library Starter

This version requires XP 7.0.0 or above.

Use Enonic CLI to set up your project.

Run the following command:

$

…and choose "Library Starter" from the list.

Enonic CLI documentation

This version requires XP 6.15.0

To initialize a new project based on Library Starter, execute the command below. Remember to replace <com.company.myapp> with a unique name for your app, and </my/projects> with the location you want to store the project. <$XP_INSTALL> is the location of your XP installation.

OSX/Linux

Windows

The init-project tool initializes a new application project structure by retrieving a Git repository, removing all references to the Git repository, and adapting its build file properties (gradle.properties).

Complete init-project documentation