How can I license the data visualization components (charts) for the Flex SDK on an automated builder server?
I have a Flex 3.3 professional license. This allows me to build applications using data visualization components (charts) without watermarks. However, all releases (test, production, etc.) happen on our build server.
The build server only has the Flex SDK installed (not the full Flex Builder). As a result, SWFs compiled with this SDK contain watermarks on all diagrams. How can I apply a Flex Builder Professional license to a build server to remove water oils without installing Flex Builder?
My build environment is Flex SDK 3.3 + CruiseControl.NET + NAnt.
source to share
It took a bit of googling (more normal) but I was able to find the answer. I needed to apply Flex Builder Pro Product Name and Serial Number in the flex-config.xml file in the / frameworks / directory like this:
<licenses>
<license>
<product>flexbuilder3</product>
<serial-number>your serial number here</serial-number>
</license>
</licenses>
The advantage of this approach is that it works for any build environment, be it NAnt, Ant, or any other setup.
source to share
Create Flex charts with ant task
If you are not using ant tasks, the mxmlc command line takes a -license.license parameter. You should be able to skip the license number. Through
-licenses.license
So it would be something like:
mxmlc -licenses.license "FlexBuilder3" "xxxx-xxx-xxx-xx-xxx"
source to share