[转]在修改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.
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.
相关文章推荐
- java+flex项目部署中出现的错误- (Target runtime Apache Tomcat v6.0 is not defined,unable to open '../flex/services-config.xml')
- 如何让Tomcat自动Load被修改过的类 servlet如何读取web.xml中的初始参数
- 如何修改开机自动启动程序的设置!
- 关于调试----在单步执行某个程序的中间修改源代码,当修改代码之后移动到下一步时,调试器自动在执行下一语句之前重新编译
- QT-----无人机地面站如何修改显示界面1——OpenPilotGCS_config.xml
- Android程序的时候就要设计到编写xml布局文件,这里就教你如何设置xml的自动补全。
- Mybatis 如何自动生成bean dao xml 配置文件 generatorconfig.xml
- 如何实现SVN导出某段时间修改过的文件;自动将class文件部署到服务器中;重启服务器
- 【开发小常识】让项目修改后马上自动重新部署
- Mybatis 如何自动生成bean dao xml 配置文件 generatorconfig.xml (mysql)
- 今天的问题:请问我这样部署我的Servlet,应该如何修改web.xml啊?
- C#程序中:如何修改xml文件中的节点(数据)
- Liferay 7.0 修改service.xml后如何让portal重新执行tables.sql
- C#程序中:如何修改xml文件中的节点(数据)
- 关于eclipse部署tomcat后项目加入根目录以及XML自动修改的问题
- C#程序中:如何修改xml文件中的节点(数据)(
- Mybatis 如何自动生成bean dao xml 配置文件 generatorconfig.xml (main()方法自动生成更快捷)
- 如何重新载入struts-config.xml而不用重起Web容器?
- Mybatis 如何自动生成bean dao xml 配置文件 generatorconfig.xml (main()方法自动生成更快捷)
- 如何在Linux下部署web程序(搭建vsftp服务,搭建sshd 服务器,jdk安装步骤,Tomcat安装步骤,MySQL安装步骤)