Manage Plugin

From iDempiere en

Overview

I has customize plugins (about 30 plugins) and need to hot update sometime

So need to use command line (script) to do it

how to deploy customize plugins to idempiere

Use server.product

  • Add plugins to a feature and add feature to contents tab or
  • Choose a feature already on contents tab and add plugin to that feature or
  • Add plugins to a feature and include feature on a feature already on contents tab

Install plugins when "package" product

  • For buckminster period (before 7.1)
    1. For each plugin add a <dependency> inside <dependencies> on org.adempiere.server-feature/buckminster.cspex (see org.idempiere.fitrecorder for reference)
    2. For each plugin add a <attribute> inside <public name="bundle.jars"> on org.adempiere.server-feature/buckminster.cspex (see org.idempiere.fitrecorder for reference)
    3. Add <property key="plugins" value="${product.plugins}" /> inside <properties> on org.adempiere.server-feature/buckminster.cspex (same as <property key="features">)
    4. On org.adempiere.server-feature/buckminster_linux_gtk_x86_64.properties (same for window, mac...) add product.plugins=list of your plugins (reference product.features=)
    5. On org.adempiere.server-feature/product.ant append ",${plugins}" to value of '<property name="installableIUs"' become 'value="${iu},${features},${plugins}"'
  • For maven period (7.1 to now)
    • Append list of your plugin to properties <extra.ui.install> on file org.idempiere.parent/pom.xml

Other methods

Note about depenedency

By Use server.product can't use p2 or Osgi console to update customize plugins

How to update plugins on idempiere

How to choose method to manage

Dependency issue when do update (not yet test with felix-file-install but i guess get same issue)

I need to use script to update plugins, so i use p2

Cookies help us deliver our services. By using our services, you agree to our use of cookies.