Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349707

Summary: Fix all references to old jsbeautify plugin
Product: [ECD] Orion Reporter: Mike Fulton <fultonm>
Component: ClientAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bokowski, fultonm
Version: 0.2Keywords: Documentation
Target Milestone: 0.2   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
picture of what I described
none
online help for beautify script none

Description Mike Fulton CLA 2011-06-17 12:31:49 EDT
Created attachment 198192 [details]
picture of what I described

When I try to install the beautify plugin from:
 http://jsbeautifier.org/orion/m6/jsbeautify.html 
when running the server locally on port 8888:
 http://localhost:8888/plugin/list.html
I get the following error:
 Error: load timeout for plugin: http://jsbeautifier.org/orion/m6/jsbeautify.html

I also tried saving the html locally and installing it from file:///tmp/jsbeautify.html but that didn't work either

I am running on Ubuntu 10.04 with Firefox 4.0
The only 'interesting' thing I did with my install was to run on port 8888 (I changed this in the orion.ini file - I'm assuming that's the right way to do this?)
Comment 1 John Arthorne CLA 2011-06-17 12:42:57 EDT
What build of Orion are you using? There have been some incompatible changes to the plugin format since then. I suggest grabbing the plugin from here that matches your orion version:

http://mamacdon.github.com/

Boris, are you going to request the jsbeautifier.org guy put up a new version?
Comment 2 Mike Fulton CLA 2011-06-17 13:17:32 EDT
I tried: http://mamacdon.github.com/m6/beautify/jsbeautify.html as well as http://mamacdon.github.com/0.2/plugins/beautify/jsbeautify.html and got the same results :(

The file I downloaded this morning is: eclipse-orion-0.2M4-linux.gtk.x86.zip. Is there a particular file I should look at that will tell me the version of eclipse orion I am running?
Comment 3 John Arthorne CLA 2011-06-17 13:38:10 EDT
(In reply to comment #2)
> The file I downloaded this morning is: eclipse-orion-0.2M4-linux.gtk.x86.zip.
> Is there a particular file I should look at that will tell me the version of
> eclipse orion I am running?

That is an old one! I don't even think we supported plugins in M4! Please try our release candidate:

http://download.eclipse.org/e4/orion/drops/S-0.2RC1-201106101640/index.html
Comment 4 Mike Fulton CLA 2011-06-17 14:38:31 EDT
(In reply to comment #3)
> (In reply to comment #2)
> > The file I downloaded this morning is: eclipse-orion-0.2M4-linux.gtk.x86.zip.
> > Is there a particular file I should look at that will tell me the version of
> > eclipse orion I am running?
> 
> That is an old one! I don't even think we supported plugins in M4! Please try
> our release candidate:
> 
> http://download.eclipse.org/e4/orion/drops/S-0.2RC1-201106101640/index.html
oops... indeed that is what I had downloaded. I read the date wrong - that's my 'standard' eclipse environment. I downloaded: 
eclipse-orion-0.2RC1-linux.gtk.x86.zip
this morning (which is the one you suggested)
Comment 5 John Arthorne CLA 2011-06-17 14:52:41 EDT
Ok, so the correct one to use is:

http://mamacdon.github.com/0.2/plugins/beautify/jsbeautify.html

I just tried this with 0.2 RC1 and it worked for me.. Could you open the browser console (F12) and let us know what you see? I wonder if there could be a browser security setting getting in the way..
Comment 6 Mike Fulton CLA 2011-06-17 15:36:16 EDT
ok. i'm confused. it's working now. Not sure why... I guess we can close this as unreproducible?
Comment 7 John Arthorne CLA 2011-06-17 15:56:43 EDT
Yes, please reopen if you see it again.
Comment 8 Boris Bokowski CLA 2011-06-17 16:51:07 EDT
(In reply to comment #1)
> Boris, are you going to request the jsbeautifier.org guy put up a new version?

I have updated the Orion-related content on jsbeautifier.org. You can go to http://jsbeautifer.org/orion which contains a link back to orionhub.org for installing the plugin. Make sure you are logged in at orionhub.org before you do this or you will run into problems, see bug 349733.

Mike, from which page in our wiki did you get the URL to the JSBeautifier plugin?
Comment 9 Boris Bokowski CLA 2011-06-17 16:51:50 EDT
(In reply to comment #8)
> you can go to http://jsbeautifer.org/orion

sorry, the correct link is: http://jsbeautifier.org/orion
Comment 10 Mike Fulton CLA 2011-06-17 16:55:17 EDT
Created attachment 198214 [details]
online help for beautify script
Comment 11 Mike Fulton CLA 2011-06-17 16:57:22 EDT
In the online doc (which I found second - see attachment) and in a wiki, which I think is way out of date: http://wiki.eclipse.org/Orion/How_Tos/Installing_A_Plugin
Comment 12 John Arthorne CLA 2011-06-17 17:04:51 EDT
Reopening to fix up the documentation.
Comment 13 Boris Bokowski CLA 2011-06-17 21:42:11 EDT
Looks like Mark already updated the referenced wiki page. I've updated the documentation (which is generated from another wiki page, http://wiki.eclipse.org/Orion/Documentation/User_Guide/Getting_started).

Mike, if you see other things that need fixing, feel free to update the wiki yourself - anyone with an eclipse.org Bugzilla account can edit the wiki after logging in.