Subj : RE: Rhino importPackage() asserts on me... To : netscape.public.mozilla.jseng From : Merten Schumann Date : Mon Feb 14 2005 09:15 am Sounds like you're not using http://www.mozilla.org/rhino/apidocs/org/mozilla/javascript/ImporterTopL evel.html as top level scope ... In latest Rhino, there's a new cool feature for importing, see http://www.mozilla.org/rhino/rhino16R1.html and search for JavaImporter .... cu Merten > -----Original Message----- > From: mozilla-jseng-admin@mozilla.org > [mailto:mozilla-jseng-admin@mozilla.org] On Behalf Of fred.hill > Sent: Monday, February 14, 2005 12:05 AM > To: mozilla-jseng@mozilla.org > Subject: Rhino importPackage() asserts on me... > > when i do "importPackage(java.awt);" I get > > error:org.mozilla.javascript.EcmaError: ReferenceError: > "importPackage" is > not defined. > > any ideas? Am i missing something? I embedded Rhino in a > generic app and > it works great except for importPackage() and importClass(). > > thanks! > -denny- > > > _______________________________________________ > mozilla-jseng mailing list > mozilla-jseng@mozilla.org > http://mail.mozilla.org/listinfo/mozilla-jseng > .