Difference between revisions of "Talk:Equinox Integration"
From ADempiere
This Wiki is read-only for reference purposes to avoid broken links.
(My experiencie whith OSGi trunk) |
(→Test Equinox Integration 2) |
||
Line 47: | Line 47: | ||
=Test Equinox Integration 2= | =Test Equinox Integration 2= | ||
− | Eloy | + | |
− | + | Eloy, sorry, moved your comment here: | |
− | + | [[Talk:ADempiere/Equinox_Integration_2#Test_Equinox_Integration_2]], | |
− | + | that is more appropriate - thanks for it. | |
− | + | BTW: tools.jar problem with ECS is fixed, make an update. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 07:43, 6 May 2010
Contents
One large zip for all those jars
- Voila should get commit rights so he can commit those 256k+ files into a single place. Anyway i will try to do it too and save it under a contributions/voila folder. - Red1 23:57, 28 March 2009 (PDT)
- Actually its already placed in SVN branches/libero/extension/adempiere/osgi/src/main/java/Adempiere-patch/lib/
- It is now in branches/osgi
- Great job! Guess I have to refactor some of our customizations to see how it works :) Kthiemann 03:56, 22 April 2009 (PDT)
Deploy Experience
- I managed to follow the guide given and able to:
- Ant Build.xml and generate to Adempiere>JBoss
- From EE Perspective able to launch Patch>Manifest but on clicking Extension Pts, cannot see any available Deployable Plugins to Export. - Red1 06:50, 17 May 2009 (PDT)
- Understood why. We need to have the other plugins checked out as standalone projects. I was checking out the whole OSGI folder. - Red1 07:19, 17 May 2009 (PDT)
- When Export Plugins hit error saved in log, such as:
ERROR in /Users/red1/Documents/workspace/osgi/TestPlugin/src/testplugin/Validator.java (at line 3) import org.compiere.model.MClient; The import org.compiere cannot be resolved
- This is even though i make sure it depends on the ADempiereTrunk project with no unresolved imports
- I did a test launch of TestPlugin as OSGI and do a Start and Stop and won a 'Goodbye World!!' message. - Red1 08:42, 17 May 2009 (PDT)
- I solved this by checking the TestPlugin>build.properties and noticed its wrong path and set to:
jars.extra.classpath = ../../adempiereTrunk/install/build/Adempiere/lib/Adempiere.jar
- After ensuring the other plugins' build.properties also have their paths set right, the deployment finished without incident. yipee! - Red1 16:10, 17 May 2009 (PDT)
Success (too)
- Upon launching with RUN_Server2.sh
07:12:15,749 INFO [STDOUT] Listening on port 1234 ... 07:12:16,116 ERROR [STDERR] ===========> Env.getContextAsDate: No value for: #Date 07:12:17,031 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../tmp/deploy/tmp50778adempiereWebCM-exp.war/ 07:12:17,137 INFO [STDOUT] Adempiere Host Bundle started 07:12:17,150 INFO [STDOUT] Hello World!! 07:12:17,156 INFO [STDOUT] Adempiere host service registered. 07:12:17,159 INFO [STDOUT] Dictionary service registered. 07:12:17,160 INFO [STDOUT] Found org.eclipse.osgi: 32 07:12:17,160 INFO [STDOUT] Found org.eclipse.equinox.common: 32 07:12:17,161 INFO [STDOUT] Found org.eclipse.update.configurator: 32 07:12:17,161 INFO [STDOUT] Found org.eclipse.core.runtime: 32 07:12:17,161 INFO [STDOUT] Found org.eclipse.core.jobs: 32 07:12:17,162 INFO [STDOUT] Found org.eclipse.equinox.registry: 32 07:12:17,162 INFO [STDOUT] Found org.eclipse.equinox.preferences: 32 07:12:17,162 INFO [STDOUT] Found org.eclipse.core.contenttype: 32 07:12:17,163 INFO [STDOUT] Found org.eclipse.equinox.app: 32 07:12:17,163 INFO [STDOUT] Found AdempiereEquinox: 32 07:12:17,164 INFO [STDOUT] Found AdempiereExtension: 4 07:12:17,164 INFO [STDOUT] Found TestPlugin: 32
- Joerg Viola earned highest kudos! - Red1 16:18, 17 May 2009 (PDT)
Test Experience
- I cannot conduct the test and hit webui error, so i think its due to the jars in the Adempiere-patch that use them. I suspect there may be diff with trunk. - Red1 16:41, 17 May 2009 (PDT)
- I forgot to mention you have to do the webui test in the system client because the modelvalidator is registered for it. viola 06:21, 17 June 2009 (PDT)
Test Equinox Integration 2
Eloy, sorry, moved your comment here: Talk:ADempiere/Equinox_Integration_2#Test_Equinox_Integration_2, that is more appropriate - thanks for it. BTW: tools.jar problem with ECS is fixed, make an update.