views:

104

answers:

2

How can I add a crossdomain.xml to the root of my Hudson server? I'm working on a Flex->Hudson bridge and I'd like to access it directly, instead of relying on a proxy to do it for me.

Thanks;

EDIT: This is standalone Hudson, not running on any application server.

A: 
RS
Hudson is running standalone, not on an application server.
hb
+1  A: 

I ended up using a standard crossdomain.xml and using jar uf to add it to hudson.war. I'm not sure if this is the "best" way to do it, but it did the trick for me.

I was also using the Authorization header to add a job to Hudson, so I had to use

<allow-http-request-headers-from domain="*" headers="Authorization"/>

as well.

hb