incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JP Bader ...@zavteq.com>
Subject Re: Compiler Extensions
Date Fri, 20 Apr 2012 13:38:09 GMT
I remember this discussion over a year ago.  Andrew Westburg, Marvin
Froeder, and Paul Reilly did this:

http://www.deitte.com/archives/2009/08/flex_compiler_e.htm

I don't know if it still applies, but just rang a bell.

JP

2012/4/20 Bogdan DINU <flex.programming@gmail.com>:
> Hi Serghei,
>
> thanks for sharing the info about subcompilers - is amazing indeed!
>
> Regards,
> Bogdan
>
> On Thu, Apr 19, 2012 at 7:44 PM, Сергей aSt Егоров <bsideup@gmail.com>wrote:
>
>> BTW, i founded way to inject SubCompiler extensions:
>>
>> public class MyExtension  implements IPreCompileExtension {
>>
>>        public  static void main(String[] args)
>>        {
>>        }
>>
>>        public void run(FileSpec fileSpec, SourceList sourceList,
>> Collection<Source> classes, SourcePath sourcePath, ResourceContainer
>> resources, ResourceBundlePath bundlePath, CompilerSwcContext
>> swcContext, SymbolTable symbolTable, Configuration configuration,
>> SubCompiler[] compilers, PreLink preLink, Map licenseMap, List<Source>
>> sources) {
>>                ((As3Compiler)compilers[0]).addCompilerExtension(new
>> MySubCompilerExtension());
>>
>>  ((MxmlCompiler)compilers[1]).addImplementationCompilerExtension(new
>> MySubCompilerExtension());
>>        }
>> }
>>
>>
>> It's amazing!
>>
>> On Thu, Apr 19, 2012 at 8:23 PM, Justin Mclean <justin@classsoftware.com>
>> wrote:
>> > Hi,
>> >
>> > May also want to take a look at this. Patch for metadata extensions.
>> >
>> > https://bugs.adobe.com/jira/browse/SDK-26041
>> >
>> > Thanks,
>> > Justin
>>
>>
>>
>> --
>> С уважением, Сергей Егоров
>>
>
>
>
> --
> http://www.badu.ro



-- 
JP Bader
Principal
Zavteq, Inc.
@lordB8r | jp@zavteq.com
608.692.2468

Mime
View raw message