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

      FLEX 2005-7-27 14:47
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.
标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}

注册5D通行证,立刻拥有自己的博客发表留言

用户:  密码: 匿名
内容:
加粗 下划线 文本颜色 居中 插入链接 建立Google搜索链接 插入图片 引用文本
 
汗 喜欢 骄傲的笑 哭 酷! 愤怒 黑线 什么? 猥琐 偷笑 无语 晕 吃惊 诱惑
smile frown redface biggrin wink rolleyes mad eek 禁止笑脸转换
zoom inzoom out
验证: checkcode 换一个