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

Bug 349469

Summary: [client] Use relative paths in editor examples
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2011-06-15 11:48:33 EDT
I was helping Dean update his Orion-in-Eclipse code, which is based on the embeddededitor example. Every time he updates it, he has to hack all the script and CSS paths so they resolve in his folder structure (eg. "/orion" -> "../../orion").

Now that textView and editor are in the same place, we can use relative paths in the editor examples. This will make them easier to consume. You'll be able to host the whole /org.eclipse.orion.client.editor/web folder anywhere on your server, and the editor paths will resolve correctly.

(note that you still need to make dojo work to run the examples, but Bug 345472 should take care of that.)
Comment 1 Susan McCourt CLA 2011-06-15 13:34:55 EDT
+1.
reviewed code with Mark and ran the examples.
Viewed source just to be paranoid.
All looks good.