Licensing the Adobe AIR command line compiler
The Adobe AIR command line compiler (
axmlc adds a "Flex Data
Visualization Trial" watermark to the background of chart and AdvancedDataGrid controls.  If you are licensed to use
Flex Builder 3 Professional, then you can fix this quite easily...
There are a number of pages on the internet that explain how to apply your Flex Builder 3 Professional license to the
mxml (non-AIR Flex application compiler),
such as:
- Adobe Flex 3 - About configuration files - Applying license keys
- How to apply the Data Visualization license on command-line in Flex 3!
But none of those cover the AIR compiler, however, it turns out that licensing the AIR compiler (axmlc)is just as easy
as licensing the non-AIR (mxml) compiler.
The "trick" (a slight over-statement perhaps) is to add the license XML block to the $SDK/frameworks/air-config.xml
file instead of (or as well as) the $SDK/frameworks/flex-config.xml file as described on other sites.
To put it another way, to license the mxml compiler, you add the license XML block to the
$SDK/frameworks/flex-config.xml file.  But to license the axmlc compiler, you add the license XML block to the
$SDK/frameworks/air-config.xml file instead.  Of course you can (and probably should) do both :)
To save you having to go off to the sites linked above (though they are definately worth visiting), here is an example of what the license XML code block should look like:
<licenses>
 <license>
  <product>flexbuilder3</product>
  <serial-number>1377-xxxx-xxxx-xxxx-xxxx-xxxx</serial-number>
 </license>
</licenses>
Enjoy :)
