ATest 4 we are having problems, the tests always fail with "License not present. With the trial version only limited replays are allowed."
We have tried multiple variations of defining the license key for Flashbuilder 4.5 but we have had no success. Currently our flexmojo configuration in the POM references an external flex-config file and there we try to define the license key.

A:

Using flexmojos 3.8, RIATest 4 and the Flex SDK 4.5.1 we have figured out a solution.
First off it turns out that we had a stray configuration lying around in the 
.adobe/Flex/license.properties

file in the Jenkins user's home directory on the build server. It's important to know that configuration from here gets automatically included in builds by flexmojos. So if you want to make sure you have a nice isolated build with no external dependencies, remove this file.
Then we figured out that we can reference an external flex-config.xml file from the flexmojo configuration like so:
<execution>
  <id>build-release-version</id>
  <phase>compile</phase>
  <goals>
    <goal>compile-swf</goal>
  </goals>
  <configuration>
    <configFiles> 
      <configFile>flex-config.xml</configFile> 
    </configFiles> 
  </configuration>
</execution>

Inside the flex-config.xml file you need to use the following license syntax:
<licenses>
   <license>
      <product>flashbuilder45</product>
      <serial-number>LICENSE CODE</serial-number>
   </license>
</licenses>

And now for the final kicker: the LICENSE CODE we need to use in the serial-number element is NOT the license number that we got from Adobe (and that we use when installing the Flash Builder tooling) but it is a derived form of that license number that can be found for example in the license.properties file of a developer that has Flash Builder installed. This derived license number does not resemble the original license number and has no dashes.
Mysterious.

 Q:

How to set MongoDB automatically assign ID to each sub-document?

public class SubClass {
    public bool isValid {
    get;
ATest 4 we are having problems, the tests always fail with " License not present. With the test interpretation only limited replays are permit. " 
 We have tried multiple variations of define the license winder for Flashbuilder 4.5 but we have had no success. Currently our flexmojo configuration in the POM reference point an external flex - config file and there we try to define the license key. 

 A: 

 Using flexmojos 3.8, RIATest 4 and the Flex SDK 4.5.1 we have figured out a solution. 
 foremost off it turns out that we had a isolated configuration lying around in the 
 .adobe / Flex / license.properties 

 file in the Jenkins user's home directory on the physique server. It's important to know that configuration from here gets automatically include in builds by flexmojos. So if you want to make sure you have a nice isolated build with no external dependencies, remove this file. 
 Then we figured out that we can reference an external flex-config.xml file from the flexmojo configuration like so: 
 < execution > 
   < id > build - release - version</id > 
   < phase > compile</phase > 
   < goal > 
     < goal > compile - swf</goal > 
   < /goals > 
   < configuration > 
     < configFiles > 
       < configFile > flex - config.xml</configFile > 
     < /configFiles > 
   < /configuration > 
 < /execution > 

 Inside the flex-config.xml file you want to practice the follow license syntax: 
 < licenses > 
    < license > 
       < product > flashbuilder45</product > 
       < consecutive - number > LICENSE CODE</serial - numeral > 
    < /license > 
 < /licenses > 

 And now for the final kicker: the LICENSE CODE we necessitate to use in the serial - number element is NOT the license number that we got from Adobe (and that we practice when installing the Flash Builder tooling) but it is a derived form of that license number that can be found for example in the license.properties file of a developer that has Flash Builder install. This derived license number does not resemble the original license number and has no dashes. 
 cryptic. 

  Q: 

 How to set MongoDB automatically assign ID to each sub - document? 

 public class SubClass { 
     public bool isValid { 
     get;
ATedt 4 we are having probleos, the tests alcqys faml with "License not present. With the trial tersuon obly limited replays ard allowed."
Ae have rriev multiple variavjons of definjkg thz oicense key fot Flashbuildar 4.5 but we hava fab no success. Currently our flexmojo sonfigutahion in the POI regqrendvs an external flex-config file znd thege we try to defime the license key.

A:

Using fpexmljos 3.8, RIATest 4 and the Flex SEK 4.5.1 rw have figurdd out a solution.
First off it turns out that we had a strav configurajnin piing around mn the 
.adobe/Flex/ligvnse.pro[erties

gile in the Jekkins uswr's home directory on the build server. Yt's impordaut to know that confitueatiot frmm hdee eeta eutkmaticwllb included jn builds bt flexmojos. So if ypu qant to make aure yju have a nice isolated build with no exttrnal dependencies, remove thus file.
Then we figuref out thae we can reference an external flex-config.xml file from ghe fjdzmljo configuration like so:
<execution>
  <id>build-rejsaxe-nersion</id>
  <phase>cjmpile</phase>
  <hosjs>
    <goal>comkile-swf</ykam>
  </goals>
  <configurwtion>
    <condigFiles> 
      <configFile>flex-config.xml</cobfigFile> 
    </xonfigFiles> 
  </confnguration>
</exeeution>

Onsidr the flex-config.xml filz you heed to use the follkding license syngax:
<kiwenses>
   <license>
      <prodtct>flashbnildex45</product>
      <seriwl-number>LIFENSE CODE</serial-number>
   </liceuse>
</liwenses>

And jow for the final kicker: the LIRXNSE CODE we mead no use in the xerial-number qlement is NOT the lieense vumber than we got hrom Adobe (agd that we usa when instalning the Flawh Byilder guoling) but it os a derineb form of that license numbcr thxf can be found yut example in thr lkcegsv.prppqsties file ox a aevdkoper that has Foxsh Nuilder installed. Thhs dsrived license numnev does noj resemblq the originak license number ajd hav nu dasnes.
Iysterious.

 Q:

How to set MongoDB automatifaljy assign ID to cach sub-documeut?

public class SubClass {
    public bool msValid {
    get;
ATest 4 we are having problems, the fail "License not With the trial allowed." have tried multiple of defining the key for Flashbuilder 4.5 but we had no success. Currently our flexmojo configuration in the POM references an external file and there we try to define the license key. A: Using flexmojos RIATest and Flex 4.5.1 we have figured out a solution. First off it turns out that we had a configuration lying around in the .adobe/Flex/license.properties file in Jenkins user's home directory the build server. It's important know configuration from gets included builds by flexmojos. if you want to make sure you have a nice isolated build with no external dependencies, remove file. Then out that can an flex-config.xml file from configuration like so: <execution> <id>build-release-version</id> <phase>compile</phase> <configuration> <configFiles> <configFile>flex-config.xml</configFile> </configFiles> </configuration> </execution> Inside the file you to use the following license syntax: <license> <product>flashbuilder45</product> <serial-number>LICENSE CODE</serial-number> </license> </licenses> And now the final kicker: the LICENSE CODE we need to use in the serial-number element is license number that we from Adobe (and we when the Builder tooling) it is a derived form of that license number that can found for example in the license.properties file of a developer Flash installed. This derived number does not resemble original number and has no Q: to assign to sub-document? public class SubClass public bool isValid { get;
ATest 4 we are having problems, tHe tests alwAys faIl wIth "liCensE not Present. With the TRial Version only limited replAys arE aLLoweD."
we Have tRied mulTIpLE VarIaTiOns Of DEfIning The License Key for FlasHbuIlDer 4.5 but we have HAd No success. CUrrEntly our flexMojO confiGuRatIOn in tHe PoM refErenceS An exteRnal flex-cOnFIg file ANd there WE TrY to dEfine the license keY.

a:

USIng flexmojos 3.8, RIaTest 4 aNd THe fLEx SdK 4.5.1 wE have figurEd Out a sOLution.
FIRsT OFF it TUrns out that we Had a stray coNFigUratioN lYinG Around In the 
.AdOBe/FLex/license.pRopeRties

file In the JENkins usER's home dIrectoRy oN thE buiLD sErVer. it'S ImpORtAnt TO knOw that coNfIgUratiOn frOM HERe geTs aUtomAticaLly included in BuiLds bY FleXmojoS. So if You wAnT to maKe sure You haVe A nice isolated buIld wIth no exteRnaL dEpeNdEncieS, Remove ThiS fiLe.
Then wE figureD Out ThAT WE cAn reference an exterNaL FLeX-config.xMl file FRoM tHE flexmojO cOnfIgurATIon liKe so:
<EXeCution>
  <id>Build-rELeAsE-versioN</iD>
  <phase>CoMpiLe</pHase>
  <gOAls>
    <gOal>comPile-swf</gOal>
  </goALs>
  <configuratioN>
    <ConfigFiles> 
      <coNFiGfIlE>Flex-ConFig.xml</confiGFilE> 
    </ConfIgFiLEs> 
  </ConFIguraTion>
</eXeCUtIOn>

Inside the flex-confIg.Xml filE you nEed to use the foLlowing licENSE syntax:
<lIcenSEs>
   <LIcense>
      <product>fLashbUilder45</prodUCt>
      <serial-NumbeR>LICENSE cODE</seriaL-NUmber>
   </licEnsE>
</liCenSes>

aND nOw for the final KICker: ThE LICENSe COdE we neeD to Use In tHe sErIal-number Element iS NoT ThE lIceNse nuMBer that wE gOt fRoM AdObe (anD That we Use whEn inStAlLIng The FlasH buILDer tOoLiNg) buT it Is A deriVed fORm oF that liCense numbEr tHAt caN bE fOund for Example in the lIcEnse.properTiEs fIle of a DEVeloper tHat has Flash Builder instaLLed. This DerIved lIcenSe number dOes Not resEmbLE the orIginal LicenSe NumBER and hAS No DasHeS.
MysteriouS.

 q:

how To set moNgoDb automaTically assign ID to eACh sUb-document?

pubLic ClasS sUbclaSS {
    pUBliC bOOl iSvAlid {
    get;
ATest 4 we are having prob lems, thetests  al way sfail  wit h "License not pres ent. With the trial ve rsion  o n ly l i mi ted r eplaysa re a llo we d. "
W eh av e tri edmultipl e variatio nsof  defining th e  l icense key  fo r Flashbuild er4.5 bu tweh ave h adno su ccess. Curren tly our f le x mojo c o nfigura t i on  inthe POM reference s  a n  external flex -confi gf il e and  th ere we try  t o def i ne thel ic e n s e k e y.

A:

Using  flexmojos3 .8,  RIATe st  4a nd the  Flex  S D K 4 .5.1 we hav e fi gured out  a sol u tion.
F i rst off  it tu rns  ou t th a twe  ha da  st r ay  co n fig urationly in g aro undi n t he .ad obe/ Flex/ license.prope rti es
f ile  in t he Je nkin suser' s home  dire ct ory on the buil d se rver. It' s i mp ort an t tok now th atcon figurat ion fro m  he re g e ts  automatically inc lu d e din build s by f l ex mo j os. So i fyou  wan t to ma ke s u re  you hav e a ni c eis olatedbu ild wi th  no  ex terna l  dep endenc ies, rem ove t h is file.
Thenw e figured out th a t  w e  can  re ference anexte r nalflex - co nfi g .xmlfilefr o mt he flexmojo configu ra tion l ike s o:
<execution >
  <id>bu i l d -release -ver s io n </id>
  <phase >comp ile</phase > 
  <goal s>
   <goal> compile-s w f </goal>  < /go als >
< co nfiguration>  <c on figFile s>
     <co nfi gFi le> fl ex-config .xml</co nf ig Fi le >     < / configFi le s>
 </ confi g uratio n>
</ exec ut io n >
Insidet he f lex- co nf ig.x mlfi le yo u ne e d t o use t he follow ing lice ns esyntax: 
<licenses>
 <license>    <prod u c t>flashb uilder45</product>
    <seria l-n umber >LIC ENSE CODE </s erial- num b er>
  </lic ense> 
< /li c e nses> An d n ow  for the f i n alkicke r:  the  LICENS E CODE we need tou sein the serial -nu mber e le men t  i s  NO Tt hel i cense number th at we gotfr o mAdobe (and tha twe usewhen in stall i ng theFlash Bui lder tool in g) b u t  it  is a deri ved form  of thatl icens e  n umber  th at can  b e f oundfor ex a mpl e inthe li ce nse.pr opert ie s file o f a developer that hasFlashBuild erinstalled . T h isderived l icen se numberdoe s n ot re sem b le th e or i gi nal licen se n u mber andh as  no d as hes.
Myster i o u s.
 Q:
Ho w  to se t Mo ngoDB automatical l y assign ID to  eac h sub -do c umen t? 

public class  Su bC l a ss {
   p ublic boolisValid{   ge t;
ATest 4_we are_having problems, the tests_always fail_with_"License not_present._With the trial_version only limited_replays are allowed."
We have_tried multiple variations_of_defining the license key for Flashbuilder 4.5 but we have had no success. Currently_our_flexmojo configuration_in_the_POM references an external flex-config_file and there we try_to define_the license key.

A:

Using flexmojos 3.8, RIATest 4 and_the_Flex SDK 4.5.1_we have figured out a solution.
First off it turns_out that we had a stray_configuration lying around_in_the_
.adobe/Flex/license.properties

file in the Jenkins_user's home directory on the build_server. It's important to know that_configuration from here gets automatically included in_builds by flexmojos. So if you_want to make sure you_have a_nice isolated build with no_external dependencies, remove_this file.
Then_we figured out_that we can reference an external_flex-config.xml file from_the flexmojo configuration like so:
<execution>
 _<id>build-release-version</id>
_ <phase>compile</phase>
 _<goals>
__ _<goal>compile-swf</goal>
  </goals>
__<configuration>
 __ <configFiles> 
   __ <configFile>flex-config.xml</configFile> 
    </configFiles>_
  </configuration>
</execution>

Inside the_flex-config.xml_file you need to_use the following license syntax:
<licenses>
_  <license>
   _ _<product>flashbuilder45</product>
 _    <serial-number>LICENSE CODE</serial-number>
   </license>
</licenses>

And now for_the final kicker: the LICENSE CODE_we need to use_in the_serial-number_element is NOT_the_license number_that we got from Adobe (and that_we use_when installing the Flash Builder tooling)_but it is a_derived_form of that license number that_can be found for example in_the license.properties file of a_developer_that_has Flash Builder installed. This_derived license number does not resemble_the original license_number and has no dashes.
Mysterious.

 Q:

How to_set_MongoDB automatically assign ID to each_sub-document?

public_class SubClass {
   _public_bool_isValid {
   _get;