0 Replies Latest reply on Mar 27, 2008 12:38 PM by (GordonSmith)

    [svn] 973: Tweaked Ant scripts for building SWCs.

      Revision: 973<br />Author:   gosmith@adobe.com<br />Date:     2008-03-27 13:38:02 -0700 (Thu, 27 Mar 2008)<br /><br />Log Message:<br />-----------<br />Tweaked Ant scripts for building SWCs.<br /><br />The <compc> task are now executed in the same way as the <java> task which we were previously using to run LibraryCompiler:<br /><br />1. Each <compc> now specifies the attribute fork="true" so that each SWC is compiled in its own JVM, separate from the one executing Ant.<br /><br />2. Each <compc> now specifies the same JVM arguments, namely<br /><br />-Dassert -ea -DAS3 -DAVMPLUS -Xms32m -Xmx384m -Dsun.io.useCanonCaches=false<br /><br />This is accomplished by the child tag <jvmarg line="${comp.jvm.args}"/>, where the compc.jvm.args property is now set in the top-level build.properties files.<br /><br />These changes make it unnecessary to set ANT_OPTS in setup.sh.<br /><br />Modified Paths:<br />--------------<br />    flex/sdk/trunk/build.properties<br />    flex/sdk/trunk/frameworks/projects/airframework/build.xml<br />    flex/sdk/trunk/frameworks/projects/flash-integration/build.xml<br />    flex/sdk/trunk/frameworks/projects/flex/build.xml<br />    flex/sdk/trunk/frameworks/projects/framework/build.xml<br />    flex/sdk/trunk/frameworks/projects/haloclassic/build.xml<br />    flex/sdk/trunk/frameworks/projects/rpc/build.xml<br />    flex/sdk/trunk/frameworks/projects/utilities/build.xml<br />    flex/sdk/trunk/setup.sh