fredsa / forplay

Automatically exported from code.google.com/p/forplay
Apache License 2.0
12 stars 4 forks source link

Compiling Flash before HTML (in Eclipse) causes strange errors #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This appears to be a problem in the gwt->as3 library. If you use the Ecilpse 
plugin to perform the GWT compile, it works fine if you compile, e.g., 
"HelloGame HelloGameFlash", but if you compile "HelloGameFlash HelloGame", you 
get something like this at the end:

  Compiling module forplay.sample.hello.HelloGame
   [ERROR] Unable to find compilation unit for type 'flash.gwt.FlashImport'

Which breaks the Javascript compile.

Original issue reported on code.google.com by jgw@google.com on 17 May 2011 at 1:41

GoogleCodeExporter commented 9 years ago
Interesting. I do know that flash.gwt.FlashImport is duplicated  (appears in 
gwtflash.jar and in forplay/core/src), so it may be a classpath issue. I'm 
checking in the source to the compiler tonight, so I may move all of the 
flash.* packages into the core compiler, since it should be usable without 
forplay.

Original comment by cromwell...@gmail.com on 17 May 2011 at 3:36