views:

637

answers:

1

I would like to compile my flex application with a services-config.xml file. However, I am forced to supply a context.root.

In my setup, the context root (context path) isn't known until my .war file is named and dropped into the webapps directory.

It seems like there has to be a way to do this, but I haven't been able to come up with anything.

Any ideas?

+2  A: 

You should be able to define a dynamic context.root in the services-config.xml

<endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
Cyrill Zadra
When you use these dynamic values...how and when do they get filled in?
HDave