Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Orion » Auto Install of Orion Simple Plugin
Auto Install of Orion Simple Plugin [message #1693442] Fri, 24 April 2015 09:35 Go to next message
Sravya Matavalam is currently offline Sravya MatavalamFriend
Messages: 3
Registered: April 2015
Junior Member
Hi,
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 ,
Sravya.
Re: Auto Install of Orion Simple Plugin [message #1693539 is a reply to message #1693442] Fri, 24 April 2015 21:12 Go to previous messageGo to next message
Mark Macdonald is currently offline Mark MacdonaldFriend
Messages: 35
Registered: July 2009
Member
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
Re: Auto Install of Orion Simple Plugin [message #1693845 is a reply to message #1693442] Tue, 28 April 2015 17:11 Go to previous message
Sravya Matavalam is currently offline Sravya MatavalamFriend
Messages: 3
Registered: April 2015
Junior Member
Dear Mark,
Thanks for the quick help.
I missed the resource mapping. After adding the server resource Mapping and http registry able to auto install my plugin.

Regards,
Sravya.
Previous Topic:Orion Plugin Auto/Pre-Installation in 8.0 version
Next Topic:Accessing User Details and Project Info from a Plugin
Goto Forum:
  


Current Time: Mon Jan 22 16:30:22 GMT 2018

Powered by FUDForum. Page generated in 0.01379 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software