> No idea. You did remind me that I never finished investigating whether
> there was a valid AS3 syntax for disambiguating a class without a package
> and a class with a package. Maybe the best thing for you right now is to
> not worry about the conflict and see if there are other issues? Or does
> this issue block you somehow?

Actually, I've been to far, it was enough to filter the (external-) / 
library-path when set, taking care the new config var was set first.
I will probably have to add this new config var to the ant conf too.

Btw, I can now produce the Core.swc filled with the compiled AS3 classes and 
the JS in a once and in IntelliJ, indeed, I only migrated 1 JS file to AS but 
it is what I wanted first, validate I can do it, so, I will continue on it.

Frédéric THOMAS


----------------------------------------
> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)
> Date: Tue, 11 Aug 2015 06:25:19 +0000
>
>
>
> On 8/10/15, 6:19 PM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote:
>
>>I'm trying now to compile the AS files in conditional compilation with
>>COMPILE::AS3, because the first phase of the compilation is COMPILE::JS,
>>I have JS.swc in my library-path.
>>
>>I was aware that some conflicts could occur for example the Event class,
>>so I had the idea to introduce a new configuration variable
>>"exclude-native-js-libraries" that the compiler client set to true when
>>is in phase to COMPILE::AS3, the idea behind was to allow me, after the
>>configuration merge, at configuration validation time, to remove the
>>Native JS libraries (externs) from the list of library-path and
>>external-library-path, at the moment, I check the path contains "js/libs"
>>only, it is to be improved.
>>
>>The code bellow shows how I do and when I inspect the ConfigurationBuffer
>>at the end of the method, the JS.swc is removed as expected, the problem
>>is that I still had some AmbiguousDefinition, after a bit of debug,
>>checking at the scope file, I've seen one of them was in the JS.swc, it
>>was included despite I removed it from the merged ConfigurationBuffer.
>>
>>What did I miss ?
>
> No idea. You did remind me that I never finished investigating whether
> there was a valid AS3 syntax for disambiguating a class without a package
> and a class with a package. Maybe the best thing for you right now is to
> not worry about the conflict and see if there are other issues? Or does
> this issue block you somehow?
>
> -Alex
>
                                          

Reply via email to