You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
La carga de librerías desde applet da fallo si se hace con el método al que
le pasamos un String (el típico fallo de seguridad/permisos por no poder abrir
ficheros).
Con el método al que se le pasa una URL, va bien pero el problema es cómo
obtener esa URL. Con world.getGlobalResource() no sirve porque eso carga
recursos que están dentro del jar (en el classpath) pero no en el directorio
actual de AGE.
O meter el directorio actual en el classpath, o bien meter las librerías bsh
dentro del jar.
Original issue reported on code.google.com by komoku on 16 Jun 2011 at 2:43
The text was updated successfully, but these errors were encountered:
I think this issue was fixed but I forgot to mark it as fixed. If the include
command is passed a string rather than an URL, then we capture
SecurityException and we use getGlobalResource to obtain the library. We
recommend to load AGE libraries with URLS obtained by getGlobalResource(), and
world libraries with URLs obtained by getResource().
The problem with libraries outside the jar seems a non-issue, this seems to
currently work, but needs more testing to make 100% sure.
Original comment by komoku on 16 Mar 2013 at 12:42
Original issue reported on code.google.com by
komoku
on 16 Jun 2011 at 2:43The text was updated successfully, but these errors were encountered: