Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345794 - [client] Support multiple paths in sites
Summary: [client] Support multiple paths in sites
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 0.2   Edit
Assignee: Mark Macdonald CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-13 17:38 EDT by Mark Macdonald CLA
Modified: 2011-09-01 11:42 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-05-13 17:38:14 EDT
The site mapping table should be an ordered list of path mappings. If several entries in the table have the same "mount at" path (for example "/"), they should attempt to service the request in the order they're defined.

This would let you get around the problem described in https://bugs.eclipse.org/bugs/show_bug.cgi?id=340065#c1 where several different workspace paths all want to contribute resources to server paths like "/js". It would also make it less work to self-host, because you could define a fallback rule that forwards "everything else" to http://localhost:8080 .
Comment 1 Mark Macdonald CLA 2011-05-16 11:21:47 EDT
We're also going to need "move up" and "move down" actions in the table UI for this.
Comment 2 Mark Macdonald CLA 2011-05-17 12:00:21 EDT
The server side of this was released in Bug 341928. The client side is here:

http://git.eclipse.org/c/e4/org.eclipse.orion.client.git/commit/?id=c33c91892244ca38b475328adfafcf60018667e3