Plugin deployment
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.
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
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
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