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.

+2


source to share


3 answers


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.

+2


source


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"

      

+1


source


Came the same problem, but trying to use the mxmlc command line with the mxmlc -licenses.license parameter complained ... the following worked though:

mxmlc -license=flexbuilder3,"XXXX-XXXX-XXXX-XXXX-XXXX-XXXX"

      

0


source







All Articles