On Wed, Mar 14, 2012 at 10:46 AM, John Arthorne
<John_Arthorne@xxxxxxxxxx> wrote:
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.
I edited the file eclipse/plugins/org.eclipse.orion.server.configurator_0.4.0v20120117-2012/plugin.xml
but nothing changes. I tried guessing the syntax and I tried the lines directly from the wiki page. But also if I add a single angle bracket to create an error, the server comes up with no extra error message. So I don't think the file is being read.
Any hints?
jjb
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:
<filter
alias="/"
class="org.eclipse.orion.server.configurator.servlet.WelcomeFileFilter">
<init-param
name="includes"
value="/">
</init-param>
</filter>
John A
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev