0 Replies Latest reply on Dec 1, 2008 1:56 PM by (Paul_Reilly)

    [svn] 4208: * This change makes the command compiler more consistent with Flex

      Revision: 4208
      Author: preilly@adobe.com
      Date: 2008-12-01 13:56:24 -0800 (Mon, 01 Dec 2008)

      Log Message:
      -----------
      * This change makes the command compiler more consistent with Flex
      Builder. Sadly, the compiler was working as speced, but Flex
      Builder designed their path resolution differently and the doc team
      documented how Flex Builder worked, so customers thought the command
      line compiler was broken. Most people don't like how the command
      line compiler was resolving paths with a leading slash, so this
      should make most people happy. It has the potential to break some
      Flex 3- apps. For example, if an application had the following:

      src/foo/bar.png
      src2/foo/bar.png

      Now the first one wins, even for components under the src2
      directory.

      tests Passed: checkintests, mxunit embed

      Needs QA: YES

      Needs DOC: NO

      Bug fixes: SDK-15466

      API Change: NO

      Reviewer: Pete F.

      Code-level description of changes:

      tools/oem/Application.java
      tools/oem/Library.java
      tools/Compc.java
      tools/WebTierAPI.java
      tools/Mxmlc.java
      tools/Fcsh.java
      compiler/asdoc/AsDocAPI.java

      Modified to put new SourcePath instances into the thread local
      path resolver.

      compiler/as3/EmbedUtil.java
      compiler/mxml/rep/AtEmbed.java

      Removed special handling for paths with a leading slash.

      compiler/swc/SwcException_en.properties
      compiler/swc/SwcException.java
      compiler/swc/SwcAPI.java

      Improved SwcNotExported message and added ArchiveFileException
      message.

      compiler/SourcePath.java

      Added SinglePathResolver implementation.

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

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SourcePath.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedUtil.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/AtEmbed.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcAPI.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcException.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcException_en.properties
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Compc.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Fcsh.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Mxmlc.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/WebTierAPI.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Application.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Library.java