您的位置:首页 > 其它

[转]在修改flex-config.xml后如何让flex自动重新部署程序

2009-12-16 09:32 399 查看
How can I automatically redeploy the Flex application when I change flex-config.xml?

A: If you are using Jrun as app server, then add the following into the jrun.xml under
<service class="jrun.deployment.DeployerService" name="DeployerService">

<service name="Flex Web Application Factory" class="jrun.servlet.WebApplicationFactory" >
<attribute name="mandatoryFingerPrint">WEB-INF/flex/flex-config.xml</attribute>
</service>

Then restart jrun. Now the flex-config.xml is a watched file, when you modify flex-config.xml, Jrun will redeploy the app for you, so you don't have to restart the server each time you modify the flex-config.xml file.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐