make sure we import classes from the core rubymotion package (since we could be subclassing one of them)

This commit is contained in:
Laurent Sansonetti
2014-12-09 17:55:42 +01:00
parent 8bb9981f2e
commit df2f85086b

View File

@@ -339,6 +339,7 @@ EOS
java_file_txt << <<EOS
// This file has been generated automatically. Do not edit.
package #{App.config.package};
import com.rubymotion.*;
EOS
java_file_txt << "public class #{name} extends #{klass_super}"
if klass[:interfaces].size > 0