It's all about the answers!

Ask a question

Plugin deployment


Yehiel Glass (25528786) | asked Nov 21 '11, 10:45 a.m.
What are the steps to deploy plugin from development system to other system?
I made a plugin on lab system and I just want to deploy it to my real system. I copied the .ini file under provision_profiles and site.xml, feature and plugin folders under the new plugin folder in site folder.
restart the server but can't see any change.

What should I do?

Thanks.

2 answers



permanent link
sam detweiler (12.5k6184201) | answered Nov 21 '11, 10:54 a.m.
so you built a plugin feature, and a plugin update site (file->new->other->plugin....)

to deploy on the server you need to take the update site

feature and plugins directories, and site.xml
put them in a directory somewhere in the sites tree on your server
then make a provisioning profile that lists that directory and names the feature to be loaded.


course, u need to reset and restart the server to load the plugins again.

quick way , run the
web request to your server
https://server-ip:port/ccm/admin/cmd/requestReset

then shutdown and restart the server

I also learned about the osgi console today to help debug this..

in the server directory startup-jazz or startup-ccm.bat
-console -noexit

then ? will give u the commands, but dep, pre plugin_id (id from the plugin.xml)

should help

Sam

permanent link
Yehiel Glass (25528786) | answered Nov 21 '11, 11:07 a.m.
Thanks Sam.
web request to your server
https://server-ip:port/ccm/admin/cmd/requestReset
made the change and it works now.

Thanks!

Your answer


Register or to post your answer.