AFAIK, currently there is no way to generate view source from ant tasks.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of VELO Sent: Thursday, April 17, 2008 2:45 PM To: [email protected] Subject: Re: [flexcoders] Can I Simulate "Export Release Build" using Ant? And how about View Source? Any way to generate it on ant? VELO On Thu, Apr 17, 2008 at 12:06 PM, Gaurav. Jain <[EMAIL PROTECTED]> wrote: 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: 1. Compile your main app with link-report="linkReport.xml" 2. When compiling the modules load the link-report using the load-externs attribute. ~Gaurav ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Simeone Sent: Thursday, April 17, 2008 10:50 AM To: [email protected] Subject: [flexcoders] 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 blog post <http://weblogs.macromedia.com/pent/archives/2007/01/building_module.cfm > 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

