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.
回复Comments
作者:
{commentrecontent}