Page 1 of 1

OSGI Progress

PostPosted: Sun Mar 20, 2011 11:29 pm
by red1
There were testing as far back as http://www.adempiere.com/index.php/OSGI_HengSin. Today did a quick check of latest version 6604, with a manual run through, login System Admin, 2Pack Packin AfricaApp and AfricaData, worked well. In GardenWorld, can print SO, Invoice, view around WFs. One clear distinction is OSGI runs faster.

Re: OSGI Progress

PostPosted: Sat Apr 02, 2011 2:24 pm
by red1
Carlos,
In order to apply Fitnesse on to OSGI, i started writing up the classpath to the plugins such as :
Code: Select all
classpath: /Users/red1/Documents/workspace/hengsin~development/FitnesseOSGI/bin
classpath: /Users/red1/Documents/workspace/hengsin~development/org.adempiere.base/build
classpath: /Users/red1/Documents/workspace/hengsin~development/org.adempiere.ui/build


I hit the following situation:
Code: Select all
__EXCEPTION__:java.lang.NoClassDefFoundError: javax/jnlp/UnavailableServiceException
   at org.compiere.util.Env.getContextProvider(Env.java:207)
   at org.compiere.util.Env.getCtx(Env.java:203)
   at org.compiere.util.CLogMgt.getRootLoggerName(CLogMgt.java:168)
   at org.compiere.util.CLogger.getCLogger(CLogger.java:54)
   at org.compiere.util.CLogger.getCLogger(CLogger.java:74)

Is it asking that OSGi service be launched? Do i need to do that in Fitnesse?

Re: OSGI Progress

PostPosted: Sun Apr 03, 2011 12:07 am
by red1
I am reading up http://www.microdoc.com/efitnesse and http://tech.groups.yahoo.com/group/fitn ... sage/12040 and i suspect i need to launch some OSGi service first so they can pass the classname loading.

Re: OSGI Progress

PostPosted: Wed Dec 28, 2011 8:03 pm
by red1
Left this matter for some time, the last thing i was trying out was http://lsd.luminis.nl/fitnesse-and-osgi/.

Now i am back, I found from the JUnit In Action 2nd Edition book which introduces JUnit4OSGi and this leads to such new stuff as http://felix.apache.org/site/apache-felix-ipojo.html. It seems to be compatible with Equinox - http://felix.apache.org/site/apache-fel ... dosgi.html