Hi,

after doing full rebuild I'm finding a problem in IDE (not in build) with
the new change +configname=flex

- we are using Jewel and MXRoyale, just por MX RPC (and maybe some other
class in MX).
- we are using several libraries and one application

today I found that all MX code throws error in VS Code and is not
recognize. I see the change about configname. To adapt our config project
to this, I added to each asconfig file in all royale libs and app in our
project the line

"additionalOptions": "+configname=flex"

but this doesn't solves the problem

in fact I'm seeing more problems like

In initializer for 'j:icon', type org.apache.royale.icons.FontIcon is not
assignable to target type 'org.apache.royale.core.IIcon'.
Implicit coercion of a value with static type MouseEvent to a possibly
unrelated type MouseEvent.
In initializer for 'j:previousButton', type org.apache.royale.jewel.Group
is not assignable to target type 'org.apache.royale.core.UIBase'.
Ambiguous reference to MouseEvent

and many more

This makes hundreds of errors and makes the IDE unusable. I suppose that
this change not block people waning to use a mix of libraries, and is just
a matter to know how to update configuration, right? I mean if someone
wants to use in the same application three different buttons( jewel, basic,
and mx/spark), that should still be possible right?

What should I do  in my project configuration to solve this problem?

thanks

-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to