I have successfully installed the simple Orion Reverse Text Plugin after hosting on a site inside the Orion Application.
As a part of my POC, I have a requirement to create a similar plugin and get it installed automatically. I tried following this article @ http://wiki.eclipse.org/Orion/How_Tos/How_to_write_an_Orion_SDK_plugin .
I was successful in launching the orion application using Eclipse IDE and also tried to include this sample bundle to the web-ide.launch configuration.
I was successful in logging into the application and the bundle was in ACTIVE state .
After a successful login , I checked the plugin state under Settings--> Plugins only to see that the sample plugin is not loaded but with the following error "Plugin Can't be loaded http://localhost:8080/reversePlugin.html".
Am I doing the right thing?If not, what is the right approach.
I would appreciate some support on this.
Thank you ,
First thing to try: does http://localhost:8080/reversePlugin.html actually exist on your web server? Load the URL in a browser and see if it works. If it fails, you must resolve this problem first before you can install that page as a plugin into the Orion UI.
We know that your OSGi bundle is starting OK, but your bundle's web resources may be incorrectly mapped on the server. Pay close attention to the <resource > and <resource-mapping > elements in the plugin.xml. This part can be tricky.
After you have a working URL that serves up reversePlugin.html, plugin installation in the Orion Settings page should work. If it continues to fail, use this checklist for troubleshooting: Troubleshooting plugin installation