Message11897
Ah, is this what we want to reproduce URL -> file?
>>> u = URL("jar:file:/some_dir/some.jar!/a/package/with/A.class")
>>> c = u.openConnection()
>>> File(c.getJarFileURL().toURI())
\some_dir\some.jar
And with that pesky drive:
>>> u = URL("jar:file:/C:/some_dir/some.jar!/a/package/with/A.class")
>>> c = u.openConnection()
>>> File(c.getJarFileURL().toURI())
C:\some_dir\some.jar |
|
Date |
User |
Action |
Args |
2018-04-12 20:50:45 | jeff.allen | set | messageid: <1523566245.1.0.682650639539.issue2410@psf.upfronthosting.co.za> |
2018-04-12 20:50:45 | jeff.allen | set | recipients:
+ jeff.allen, stefan.richthofer |
2018-04-12 20:50:45 | jeff.allen | link | issue2410 messages |
2018-04-12 20:50:44 | jeff.allen | create | |
|