Issue757707
Created on 2003-06-20.06:13:18 by theknight2002, last changed 2008-11-03.20:38:57 by fwierzbicki.
msg855 (view) |
Author: David (theknight2002) |
Date: 2003-06-20.06:13:18 |
|
The big problem I have is that SysPackageManager
contains "new File()" everywhere to add packages and
classes to the Jython system.
I need to make my packages available to the jython
scripts.
My problem is that I can't make any jars and classes
visible to my scripts runninf from my servlet under
Weblogic, because Weblogic does not extract the files
from the war or ear to the file system, but accesses
them inside this war or ear file as a zip file.
So this makes it impossible to use the File class of Java.
You should use URL's for that, because the resources of
weblogic start with "zip:" and files don't
I hope this is somewhat clear.
|
msg856 (view) |
Author: Samuele Pedroni (pedronis) |
Date: 2003-06-20.16:59:06 |
|
Logged In: YES
user_id=61408
there are semi-endorsed versions of addJarToPackages
that take URLs:
http://www.jython.org/docs/javadoc/org/python/core/CachedJarsPackageManager.html#addJarToPackages(java.net.URL)
That's it for 2.1, with 2.2 things can improve/change.
|
msg3739 (view) |
Author: Frank Wierzbicki (fwierzbicki) |
Date: 2008-11-03.20:38:57 |
|
Hoping that the java.net.URL version of SysPackageManager did the trick
since there was no further comment. Closing.
|
|
Date |
User |
Action |
Args |
2008-11-03 20:38:57 | fwierzbicki | set | status: open -> closed nosy:
+ fwierzbicki resolution: out of date messages:
+ msg3739 |
2003-06-20 06:13:18 | theknight2002 | create | |
|