Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-19166

Library Project swc file size issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • SWC Generation (compc)
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a flex library project, create a component which extends SkinnableComponent and introduce a skin for it with a skinpart.
      2. Create manifest for library project and include it in Project Properties
      3. It should give following error, mentioning it is not able to find the spark components: e.g.
      Could not resolve <s:SolidColor> to a component implementation. TestSkin.mxml rglib/src/com/riageeks/skins/default line 6 Flex Problem

      4. Apply the workaround mentioned in http://bugs.adobe.com/jira/browse/FB-19161
      It resolved the error, but the swc file size is very big.

      Actual Results:
      A big swc file, after exploring the swc, the catalog.xml file has entries for all the classes.

      Expected Results:
      A small swc file size, which doesn't have to include all the class name mentioned in the namespace.

      Workaround (if any):
      Use ant build file and in the compc argument, give location to flex4.swc and other swc files needed in the external-library-path argument. For details look at the attachment.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: