header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Chris
Points:0
Posts:0

9/15/2010 5:55:22 PM

Title: creating a release build and moving files to production


I believe I need to choose the Export option in the Flex 3 builder, choose the Release Build so that I can get the compact binaries which can be uploaded on the server.

1. What else might be needed to be moved other than the files in html-template folder(containing AC_OETags.js and the history folder), assets(containing images and the external css file), and the files in flex folder which are data-management-config.xml, messaging-config.xml, proxy-config.xml, remoting-config.xml, services-config.xml? Would doing an Export of the Release Build include the required files(html-template folder, assets folder, flex folder?

2. The application is running on a regular http protocol on the development machine, but it needs to run on a secure https protocol on the production box.

Currently, in the services-config.xml file I have

<!-- CF Based Endpoints -->
<channel-definition id="my-cfamf" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/" class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
.<polling-enabled>false</polling-enabled>
<serialization>
<instantiate-types>false</instantiate-types>
</serialization>
</properties>
</channel-definition>



<channel-definition id="my-cfamf-secure" class="mx.messaging.channels.SecureAMFChannel">
<endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/cfamfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
<add-no-cache-headers>false</add-no-cache-headers>
<serialization>
<instantiate-types>false</instantiate-types>
</serialization>
</properties>
</channel-definition>
.
.
.

and in remoting-config.xml there is

<default-channels>
<channel ref="my-cfamf"/>
</default-channels>

<destination id="ColdFusion">
<channels>
<channel ref="my-cfamf"/>
</channels>

I guess I need to change the <channel ref="my-cfamf"/> in remoting-config.xml to <channel ref="my-cfamf-secure"/> in default channels and destination id.

2. Will any other changes be needed in any of the config.xml files?

I know it is hard to comment/advise without looking at the entire application, but I have not done this before so need some suggestions.






1
MaxFlash
Points: 600
Posts:0
9/15/2010 8:35:16 PM



Yes you are right , Release version is compact version , which removes any debug classes required during development and testing. The release files are created in bin-Release folder by default and all the supporting files are included in that. It does not matter whether the application run on the secure protocol or simple HTTP until all the files are on the same server.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 7+5 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions