2 Replies Latest reply on May 16, 2011 4:48 AM by Chrestang

    Themes with Flash Builder command line build

    Chrestang

      Hi

       

      I am trying to create an automated build, on a build server that includes a theme. but I just can not get it to work. I use the instruction followed here:

      http://help.adobe.com/en_US/Flex/4.0/UsingFlashBuilder/WSbde04e3d3e6474c4-59108b2e1215eb9d 5e4-8000.html

       

      A bat file run it.

       

      On my local computer it works when I have

        <theme themeIsDefault="false" themeIsSDK="false" themeLocation="${EXTERNAL_THEME_DIR}/our_theme"/>

      in my .actionScriptProperties but not on the build server. I am guessing it is because the FB on the build server dont have the ${EXTERNAL_THEME_DIR} and don't know the SWC that is in ${EXTERNAL_THEME_DIR}/our_theme/bin and is set somewhere I can not find.

        • 1. Re: Themes with Flash Builder command line build
          Deeptika Gottipati Adobe Employee

          Hi,

           

          If you have imported a theme on one machine, it gets copied to <User Home Dir>/Application Data/Adobe/Flash Builder/Themes on Win and <User Home Dir>/Library/Application Support/Adobe/Flash Builder/Themes on Mac.

           

          When you created a project using one of those imported themes, you should be able to compile the project on another machine by just exporting the project as .fxp from actual machine and importing it in new machine. This copies the theme to the new machine's EXTERNAL_THEME_DIR which is nothing but the path described above (different for different OS)

           

          Another way to is to import the theme again in the new machine or to manually copy the theme folder from first machine's EXTERNAL_THEME_DIR location to new machine's EXTERNAL_THEME_DIR location.

           

          Please let me know if this helps.

           

          Thanks,

          Deeptika

          • 2. Re: Themes with Flash Builder command line build
            Chrestang Level 1

            Ahh that explains it. Thanks.

             

            I solved it before getting your reply by adding the theme on the other mashine as well, by importing the the again. But it is nice to know why if I have to do it more automated. I guess mxmcl would be better for a pure automated version.