Not sure exactly what files you need, but
you could access the orion server projects and files using the Orion plugin
registry and the "orion.core.file" service. fileClient.js provides
a convenience API to talk to a file system on another server via a plugin.
As for configuring the servlet filter,
it happens via an Eclipse extension point on the server. The bundle org.eclipse.orion.server.configurator
has a plugin.xml file that defines all the servlets. The syntax is a bit
different from the web.xml on that wiki page, but here is an example of
a filter we register that includes parameters that shows the pattern:
So in theory I could configure the jetty server to allow localhost as
well as 127.0.0.*,... if I knew how the jetty config worked in Orion.
Anyone know how?
Also in theory I could configure it to allow the login credential for
127.0.0.* to be sent with the request. The documentation on this seems
very limited however.
On Tue, Mar 13, 2012 at 4:44 PM, John J Barton
> I am serving my web app out of an Orion site, it runs on
But when it comes time to read Orion files, my
> XHR fails because the Orion files are on http://localhost:8080,
> that is interpreted as cross-origin.
> I guess I can put my app and the app I am debugging on the same Site,
> but that's a real hack.
> Other suggestions?
> orion-dev mailing list
orion-dev mailing list