Difference between revisions of "Code Scratchpad: OSGi"
From iDempiere en
Ngordon7000 (talk | contribs) |
Ngordon7000 (talk | contribs) m |
||
| Line 1: | Line 1: | ||
| − | + | [[Category:Code Scratchpad]] | |
= Reload base plugin = | = Reload base plugin = | ||
| Line 45: | Line 45: | ||
Now reload all custom plugins</nowiki> | Now reload all custom plugins</nowiki> | ||
| + | |||
| + | = Credits = | ||
| + | |||
| + | Initial contribution by: nTier Software Services http://www.ntier.co.za ngordon7000 | ||
| + | |||
| + | Add your credit here. | ||
Revision as of 12:18, 21 July 2015
Reload base plugin
Note: This process is experimental. There might be an easier way to do this (if so, please let us know).
osgi> ss base
Framework is launched.
id State Bundle
37 ACTIVE org.adempiere.base_2.0.0.v20150313-0133
Fragments=43, 170
38 <<LAZY>> org.adempiere.base.callout_2.0.0.v20150313-0133
39 RESOLVED org.adempiere.base.process_2.0.0.v20150313-0133
osgi> uninstall 37
osgi> ss base
Framework is launched.
id State Bundle
38 <<LAZY>> org.adempiere.base.callout_2.0.0.v20150313-0133
39 RESOLVED org.adempiere.base.process_2.0.0.v20150313-0133
osgi> install file:/home/ntier/idempiere/plugins/org.adempiere.base_2.0.0.v20150313-0133.jar
Bundle id is 175
osgi> ss base
Framework is launched.
id State Bundle
38 <<LAZY>> org.adempiere.base.callout_2.0.0.v20150313-0133
39 RESOLVED org.adempiere.base.process_2.0.0.v20150313-0133
175 INSTALLED org.adempiere.base_2.0.0.v20150313-0133
--> Now CLOSE
Then start the bundle
osgi> start 175
Now reload all custom plugins
Credits
Initial contribution by: nTier Software Services http://www.ntier.co.za ngordon7000
Add your credit here.
