zDev - Flex - OSS
  1. zDev - Flex - OSS
  2. FLEXMOJOS-347

Post FAQ entry: How do I configure the Adobe-signed Flex 4 RSL dependencies?

    Details

    • Type: Documentation Documentation
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Compiler
    • Labels:
      None
    • Global Rank:
      1613

      Description

      To avoid runtime loading errors, make sure the Adobe-signed Flex 4 RSL dependencies are listed first in your pom.xml file. You should match the order of the Adobe framework RSLs defined in sdks/4.1.0/frameworks/flex-config.xml by the order of the <runtime-shared-library-path> elements.

      The RSL runtime loading sequence matches the Flex compiler SWC linking sequence. The flex-mojos plugin relies on Maven for dependency resolution and sequencing. Maven sequences the dependencies using the order specified in the dependencies section. Maven will use the first matching dependency encountered in the case of duplicates/conflicts.

      Below is an example pom.xml snippet. Note the unique version number for the textLayout RSL.

        Activity

        Hide
        Den Orlov added a comment -

        Got during build:

        1) com.adobe.flex.framework:textLayout:swc:1.1.0.604

        Try downloading the file manually from the project website.

        Then, install it using the command:
        mvn install:install-file -DgroupId=com.adobe.flex.framework -DartifactId=textLayout -Dversion=1.1.0.604 -Dpackaging=swc -Dfile=/path/to/file

        Alternatively, if you host your own repository you can deploy the file there:
        mvn deploy:deploy-file -DgroupId=com.adobe.flex.framework -DartifactId=textLayout -Dversion=1.1.0.604 -Dpackaging=swc -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

        Show
        Den Orlov added a comment - Got during build: 1) com.adobe.flex.framework:textLayout:swc:1.1.0.604 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.adobe.flex.framework -DartifactId=textLayout -Dversion=1.1.0.604 -Dpackaging=swc -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.adobe.flex.framework -DartifactId=textLayout -Dversion=1.1.0.604 -Dpackaging=swc -Dfile=/path/to/file -Durl= [url] -DrepositoryId= [id]
        Hide
        Marvin Herman Froeder added a comment -

        Hide the details since this doesn't work out of box

        Show
        Marvin Herman Froeder added a comment - Hide the details since this doesn't work out of box
        Hide
        Den Orlov added a comment -

        Seems that corresponding FAQ page should be updated.

        BTW, How to cope with textLayout version issue? It looks like spark and sparkskins depends on textLayout. When I linking textLayout into main swc (disable textLayout rsl linking) I got:

        VerifyError: Error #1014: Class flashx.textLayout.container::TextContainerManager could not be found.
        

        at application startup. So in total I has to embed 530+Kb in my application!

        Show
        Den Orlov added a comment - Seems that corresponding FAQ page should be updated. BTW, How to cope with textLayout version issue? It looks like spark and sparkskins depends on textLayout. When I linking textLayout into main swc (disable textLayout rsl linking) I got: VerifyError: Error #1014: Class flashx.textLayout.container::TextContainerManager could not be found. at application startup. So in total I has to embed 530+Kb in my application!
        Hide
        Den Orlov added a comment -

        Also, remove, please, this sentence from issue description and from corresponding FAQ page:

        Below is an example pom.xml snippet. Note the unique version number for the textLayout RSL.

        Show
        Den Orlov added a comment - Also, remove, please, this sentence from issue description and from corresponding FAQ page: Below is an example pom.xml snippet. Note the unique version number for the textLayout RSL.
        Hide
        Den Orlov added a comment -

        Sorry, but why this issue were closed? I still can't declare textLayout RSL for my project!

        Show
        Den Orlov added a comment - Sorry, but why this issue were closed? I still can't declare textLayout RSL for my project!

          People

          • Assignee:
            Marvin Herman Froeder
            Reporter:
            Jon Buffington
            Last Updated By:
            Rich Seddon
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response: