0 Replies Latest reply on Sep 15, 2010 5:55 PM by h_c

    creating a release build and moving files to production

    h_c Level 1

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