Can I Simulate "Export Release Build" using Ant?

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Can I Simulate "Export Release Build" using Ant?

    I'm building a project with multiple modules and trying to optimize the swf
    sizes based on this
    [url]http://weblogs.macromedia.com/pent/archives/2007/01/building_module.cfm[/url] by
    Peter Ent (See "Optimizing the SWFs" towards the end of the post).

    In Flex 3 the "Export Release Build" option removes all debugging code. Is
    there a way to use an ANT script to create a release build that simulates
    "Export Release Build?"

    Thanks!
    Chris


    clsimeone Guest

  2. Similar Questions and Discussions

    1. Export Release Build
      When I export release build in FB 3, if I leave "Enable view source" unchecked, I get the error message: Flex Builder could not publish the project...
    2. Acrobat 8 "washed out" colors/ Simulate Black Ink stuck?
      I'm having a problem. It seems like "Simulate Black Ink" in Acrobat 8 is stuck "on" for some files that come out of InDesign for me. When I select...
    3. Simulate Browser "BACK" button
      Hello, There are many situations on my site that the user has the option of retunring to the prior page. Rather than adding text that reads...
    4. Grey when I "export", black when I "print to Distiller"
      When I export my B&W ad, designed in InDesign 2.0.2, all the solid black areas in the resulting PDF are actually greyish-black. But if I send the...
    5. How do you simulate "." or "source" in a perl script ?
      On 7 Aug 2003 08:21:27 -0700 c_j_marshall@hotmail.com (Chris Marshall) wrote: Shell::Source perhaps this CPAN module will do it for you. ...
  3. #2

    Default Re: Can I Simulate "Export Release Build" using Ant?

    Export release build compiles the swf in non debug mode.

    You can do the same in ant task if debug=false ? which is the case by default
    in ant task.

    Also if you have modules then you can make use of load-externs:

    Compile your main app with link-report="linkReport.xml"
    When compiling the modules load the link-report using the load-externs
    attribute.

    Thanks,
    Gaurav


    Gaurav J Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139