Hi all,

While testing Royale for a migration project, I started with building the 
latest SDK (update daily) with Ant. Linking the SDK to VSCode was all fine and 
well until I reported an issue was it was suggested I move to Maven.

I now have a Maven project using the latest remote 0.9.7-SNAPSHOTs, but I still 
need a local SDK for code-completion, etc.

The SDK produced with Ant was great. Code completion and error highlighting all 
work as expected.

After switching to Maven, and building and linking the Distribution SDK, my 
code is now riddled with "errors" that are not really errors and 
code-completion only partially works.

Here are a few issues I see with the Maven built SDK:


  1.  dispatchEvent(...any event...) is seen as an error because the Event is 
not an Object.


  *   Implicit coercion of a value of type org.apache.royale.events.Event to an 
unrelated type Object.(1067)


  1.  addEventListener() / removeEventListener() are seen as errors in many 
cases.


  *   Attempted access of inaccessible method addEventListener through a 
reference with static type Timer.


  1.  Code-completion doesn't work for Jewel components, but does for 
properties.


  *   <j:Bu      will not suggest or auto-complete to      <j:Button>
  *   <j:Button la   will auto complete      label=""

Once I switch back to the Ant built SDK, all of these kinds errors go away and 
code-completion is working as expected.

Thoughts?

Brian

Reply via email to