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

Bug 345794

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

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