Equinox Integration 2/Tutorial Plugin

From ADempiere
Revision as of 12:08, 12 March 2010 by Viola (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.

If you want to change existing functionality in ADempiere, write a plugin. It is simple!

Create Plugin Project

  • In Eclipse, chose New/Plugin Development/Plugin Project
  • as a convention, choose a folder under adempiereTrunk/plugins
  • The manifest editor opens, fill in appropriate attributes
    • regarding versioning: I found the default versioning scheme using a qualifier (which is replaced by a timestamp at deployment time) quite annoying, because bundles are never overridden - but maybe I missed something here

= Activation

  • If you need action to be done, specify an activator in the manifest.
  • Certainly you may implement the plain BundleActivator, but preferrably use org.adempiere.plugin.utils.AdempiereActivator
    • You have to import this package in the bundle manifest - it is provided by pluginUtils

Extension Points


Return to ADempiere/Equinox Integration 2