Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349469 - [client] Use relative paths in editor examples
Summary: [client] Use relative paths in editor examples
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Mark Macdonald CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-15 11:48 EDT by Mark Macdonald CLA
Modified: 2011-09-01 11:41 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.