0 Replies Latest reply on Jan 16, 2009 8:24 AM by (Paul_Reilly)

    [svn] 4557: Fixed module incremental compilation bug.

    Level 1
      Revision: 4557
      Author: preilly@adobe.com
      Date: 2009-01-16 08:24:47 -0800 (Fri, 16 Jan 2009)

      Log Message:
      -----------
      Fixed module incremental compilation bug.

      tests Passed: checkintests

      Needs QA: YES

      Needs DOC: NO

      Bug fixes: SDK-17801

      API Change: NO

      Reviewer: Darrell

      Code-level description of changes:

      tools/PreLink.java

      Updated postRun() to add the generated classes to the
      ResourceContainer, so they will be able to be resolved for
      subsequent incremental compilations where the main compilation
      unit doesn't require recompilation.

      tools/CompcPreLink.java

      Updated postRun() signature.

      compiler/PreLink.java

      Added ResourceContainer to postRun() signature.

      compiler/CompilerAPI.java

      Modified compile() to pass the ResourceContainer into postRun().

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-17801

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/PreLink.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/CompcPreLink.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java