2

When building a Flex library project in Flash Builder 4, setting the Include all Classes flag in the library properties tells the compiler to include all compiled classes into the resulting SWC file. Sometimes this flag gets reset or ignored. The .flexLibProperties file looks like this:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<flexLibProperties includeAllClasses="true" version="1">
  <includeClasses/>
  <includeResources/>
  <namespaceManifests/>
</flexLibProperties>

If I go in and set the flag by hand it works until the next time I checkout.

James Keesey
  • 1,218
  • 9
  • 13

1 Answers1

6

The problem is that the version in the .flexLibProperties file is wrong. Instead of

version="1"

it should be

version="3"

Apparently version 1 of the file did not support the include all classes flag.

James Keesey
  • 1,218
  • 9
  • 13