royale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] kennylerma commented on issue #57: Dependency error when extending class and implementing interface from "external" SWC library
Date Sat, 17 Nov 2018 14:43:47 GMT
kennylerma commented 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 also.  So,
I have to do a separate custom build where I tell closure the specific files to compile and
of course what 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

Mime
View raw message