You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ve...@googlegroups.com
Hi,
it seems that top level functions like importPackage/importClass are not allowed in js files as they are undefined. They generate the exception org.mozilla.javascript.EcmaError: ReferenceError: "importClass" are not defined... . Are there good reasons for that (not standard or other ?) Thanks for this very great project!!
Tim Fox
unread,
May 29, 2012, 6:29:35 AM5/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ve...@googlegroups.com
If you add the Java classes/jars on the classpath of your verticle, you should be able access them directly from inside your JS verticle without importClass/importPackage.