Tuesday, 15 April 2008

Deploying Flex application with no dependency on context root

It seemed very strange to me that in FlexBuilder you have to tell the context on which a flex application using LiveCycle Data Services will be deployed. FlexBuilder requires you to fill in the "Context Root" variable which will be then saved inside .flexProperties as serverContextRoot. You may want to deploy the same application to different contexts and you don't want to compile each of them separately. Fortunately, you can override the endpoint value of the RemoteObjects with any value. In my case, I set endpoint="../messagebroker/amf" since my main sfw file resides in a directory called client

No comments:

Post a Comment