The compiler code looks like it has a code path where it gets information from somewhere and auto-injects a class into the SWF so folks don't have to bother adding classes like that.
But when we donated the code to Apache we tried to neuter the FB standard/premium check and broke this code path. I have made a suggestion for fixing. Don't now if it will work or not. -Alex On 3/18/14 5:57 PM, "Maurice Amsellem" <maurice.amsel...@systar.com> wrote: >That would mean adding: > >private var dep: com.ibm.ilog.elixir.utils::LicenseHandler; > >in the main application... > >-----Message d'origine----- >De : Maurice Amsellem [mailto:maurice.amsel...@systar.com] >Envoyé : mercredi 19 mars 2014 01:22 >À : dev@flex.apache.org >Objet : RE: ILOG Elixr compatibility > >I have added one line in the main program, to force the class to be >included, and the error disappeared. > >private var lh: LicenseHandler; > >Could you try the same with your licenced version of Elixir ? > >Maurice > >-----Message d'origine----- >De : Maurice Amsellem [mailto:maurice.amsel...@systar.com] >Envoyé : mercredi 19 mars 2014 01:14 >À : dev@flex.apache.org >Objet : RE: ILOG Elixr compatibility > >I imported the project and run it with SDK 4.9, got the error >ReferenceError: Error #1065: La variable LicenseHandler n'est pas définie. > >So I can have a look now. > >Maurice > >-----Message d'origine----- >De : omup...@gmail.com [mailto:omup...@gmail.com] De la part de OmPrakash >Muppirala Envoyé : mercredi 19 mars 2014 00:52 À : dev@flex.apache.org >Objet : RE: ILOG Elixr compatibility > >On Mar 18, 2014 4:45 PM, "Maurice Amsellem" <maurice.amsel...@systar.com> >wrote: >> >> It really seems that the code is operational. >> RequiresLicense meta is also in the constants: >> >> StandardDefs.java: >> public static final String MD_REQUIRESLICENSE = "RequiresLicense"; >> >> BTW, I tried reproducing the issue, so I downloaded a trial version of >Elixir 3.5, and built a 10 lines app displaying a Calendar, with SDK 4.9. >> And I had no issues: >> The calendar appears correctly (with Trial Version watermark). >> >> What's wrong ? is it that the trial version has no licence management ? >> > >Yes, that is correct. I have a licensed version that I tried with. I >can repro this issue. > >Are you able to repro with the test case attached to the JIRA ticket? > >Thanks, >Om > >> Maurice >> >> -----Message d'origine----- >> De : Justin Mclean [mailto:jus...@classsoftware.com] Envoyé : mardi 18 >> mars 2014 23:46 À : dev@flex.apache.org Objet : Re: ILOG Elixr >> compatibility >> >> Hi, >> >> CompilerAPI.java someone added this: >> // ToDo: For Apache Flex remove this section since there is no longer >> a >license. >> >> Perhaps some code was removed as well? >> >> Justin