Professional Documents
Culture Documents
Consulting
Plug-In Development
Conclusion
ADempiere approach:
Check out ADempiere and configure your workspace
Create a new project for your customizations or modify the original sources
Re-compile the sources and create a customization.jar with the modified files
Stop the Server
Replace existing files or install the customization.jar via setup/silentsetup
Run additinal migration scrpits
Start the Server
Disadvantages:
Inconvenient for new developers
Error-prone
Server must be shut down
Ant build files must be modified to solve additional dependencies
Code from within the customization.jar must be placed in the right directory structure to work
No possibility to quickly enable/disable modifications
iDempiere approach:
Check out iDempiere and configure your workspace
Create a new „Plug-in Project“
Use extension points or component definitions to provide functionality
Export the plug-in
Install and start the plug-in during runtime
Disadvantages:
Modification of core files is not possible
Today not everything can be done with plug-ins - but we are working on it
Advantages:
Modular architecture
Convenient and easier to understand for new developers
Server must not be shut down to install/activate/deactivate/remove plug-ins
No need to modify the core
Dependency management
Better/easier extensibility
Easily update the core without losing your customizations
evenos Consulting GmbH 4
evenos
Why should I use plug-ins? Consulting
You develop functionality for your personal use, but you still want to support the community with bug fixes
You want to make some quick and dirty tests and may want to rollback your changes without headache
You have several customers for who you develop but some of the functionality is only for some of the
customers and should not be available for everyone
You develop functionality on your local system and want an easy way to export your changes to your
productive system
You are new to iDempiere development and have no understanding of the core yet
You developed a great feature which you want to sell without caring about the customers base system
Common tasks:
Model
Modelvalidator
Processes
Callout
Document
Form
Editor
Infowindow
Lookup
Special tasks:
Payment Processor
Shipment Processor
Attachements
Pack In/Out
PIPO Element Handlers
Tabs
Menus
evenos Consulting GmbH 6
evenos
How do I start developing my own plug-ins? Consulting
First steps:
Check out the iDempiere source code and configure your workspace
– A good tutorial can be found at http://www.globalqss.com/wiki/index.php/IDempiere
Read the forum from Redhuan D. Oon - he has some great tutorials too
– http://red1.org/adempiere/index.php
RegisterBuddy
RegisterBuddy
RegisterBuddy
RegisterBuddy
Extension
Extension
Component
Component
Component
Component
Component
Component
Component
Component
p2 repositories:
„The p2 project is a sub-project of Equinox that focuses on provisioning technology for OSGi-based applications. Although p2 has
specific support for installing Eclipse and Equinox-based applications, it includes a general-purpose provisioning infrastructure that
can be used as the basis for provisioning solutions for a wide variety of software applications.“ - http://www.eclipse.org/equinox/p2/
Short: a powerful way to install and update iDempiere and its plug-ins over the internet
No command line
Found a bug?
– Check if the bug is also in the iDempeire demo system: https://demo.idempiere.com/
– Ask others about the bug in the irc channel
– File a bug in the ticket system: http://jira.idempiere.com
iDempiere makes it possible to provide additional functionality without the need to have the customers whole
source code
iDempiere is easy to learn for people who are already familiar with ADempiere