Filtering Flex project’s services-config.xml with Flex mojos

The problem It is very often if we need to parametrize some options in services-config.xml of our Flex project to insert values depending on build process target. Let me explain it by example. Imagine we have an application which use both secured and unsecured AMF channels. Lets use https for user related operations (log in, forget password, registration etc.). And http for other queries. So we should define additional channel in our services-config.xml: XML:<channels>         <channel-definition id="channel-amf"                             class="mx.messaging.channels.AMFChannel">             <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf"           

Daily Email Newsletters

Weekly Email Newsletters

Subscribe to receive the latest design and creative business news, tutorials, and resources delivered to you via email—either daily (below) or weekly, to your computer, tablet, or mobile phone.

IMPORTANT NOTE: The newsletters and subscription confirmation email will be sent from the address briefing@iampariah.com. Please be sure to whitelist that address in your anti-spam filters. Check your Junk Mail or Spam folder if you miss an email prior to whitelisting briefing@iampariah.com.

Privacy and CAN-SPAM Compliance

All Pariah Burke newsletters comply with the U.S. CAN-SPAM Act. The newsletter even uses a third-party ESP to audit and ensure its compliance with CAN-SPAM. And your privacy is assured: your email address and other information will never be sold or given away.