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.
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.