You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2018/11/17 14:54:09 UTC

[GitHub] kennylerma edited a comment on issue #57: Dependency error when extending class and implementing interface from "external" SWC library

kennylerma edited a comment on issue #57: Dependency error when extending class and implementing interface from "external" SWC library
URL: https://github.com/apache/royale-compiler/issues/57#issuecomment-439622225
 
 
   @aharui thanks for looking into this.  Ultimately, I'm hoping to keep workflow the same for using swc files as expected by any ActionScript developer.  I may not understand the total issue on the compiler side, but a SWC file already has the transpiled javascript in it.  If the swc is used as an external library, the compiler would still write out each needed js class file from the swc, but the real change would be with Google Closure.  When making a release build, Closure would be passed the external js classes as -externs and then compile the rest of the non-external classes.  Currently, I can pass the -externs argument to the Royale compiler, but I can't tell closure to exclude the classes in the extern from the source path.  So, I have to do a separate custom build where I tell closure the specific source files to compile and of course what files to exclude.
   
   As long as all the dependencies are provided, I would hope this would work, but that's my thought and I appreciate your help.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services