Opentaps-osgi
This page provides information about projects at:
svn://svn.opentaps.org/opentaps/branches/danutc-2.0/org.opentaps.osgi
Contents
What is opentaps-osgi?
We aim to migrate ofbiz and opentaps to a more modern architecture based on:
- OSGi
- BPM
- ESB
- SCA
It appears that many open source products have been migrated to OSGi. To take full advantage of these products would be desirable to have opentaps and ofbiz restructured as OSGi modules.
Also migration to OSGi enables better architecture and more agile development. I make these statements based on information available on Internet.
In current build the following features are deployed and illustrated:
- Eclipse Equinox OSGi
- Spring DM (Dynamic Modules for OSGi development) and Spring Core
- Tomcat
- full maven build
- Eclipse PDE development
- OSGi Platform maven project build
- OSGi Extension Projects: log4j configuration, catalina configuration, catalina.start.osgi configuration
- Sample OSGi Service using Spring DM
- Sample Web Application that uses the service above
Get Started Quickly
To get you started please take the following steps:
Get your environment ready
I use the following tools:
- eclipse JEE 3.5 Galileo
- subclipse SVN eclipse plugin that works with m2eclipse maven eclipse plugin ( http://subclipse.tigris.org/update_1.6.x )
- m2eclipse maven eclipse plugin ( http://m2eclipse.sonatype.org/update/ )
- java sdk 1.6.0_14
Checkout the code
- start eclipse and create a new workspace
- open SVN Repository Exploring perspective
- Add SVN Repository: svn://svn.opentaps.org/opentaps
- File -> Import -> Maven -> Checkout as Maven project from SCM
- SCM URL: svn
- svn://svn.opentaps.org/opentaps/branches/danutc-2.0/org.opentaps.osgi/trunk
- click Finish button
- after the import is finished switch to JEE perspectiv; you should see the following projects:
apps
catalina.config
catalina.start.osgi.config
lib
log4j.config
opentaps-erp-crm
platform
reverser
reverser-client.war
sample
- the projects are already connected to svn
Build the Projects
- open opentaps-erp-crm
- right click on pom.xml and select Run As Maven build ...
- Goals: clean compile package install
- click Apply then Run buttons
- after BUILD SUCCESSFUL message on console select all projects and refresh them to be in synch with the build
- in the problem window eclipse reports errors that will be fixed as soon as we configure the environment