JAR-PATHNAME errors and ambiguities
Yong reports on armedbear@devel:
CL-USER> (make-pathname :device '("c:/a.b.jar")
:directory '(:absolute "cl-ppcre"))
; Evaluation aborted on NIL.
Why am I not getting any errors (and not dropping into a debugger)? I
know the error is because the device is not a list of a pathname ie
missing a #P.
- What's printed out is not what was read in (trailing /)
CL-USER> #P"jar:file:c:/a/b.jar!/cl-ppcre/"
#P"jar:file:c:/a/b.jar!/cl-ppcre"
- Should this repeated jar:file:jar:file thing throw an error?
#P"jar:file:jar:file:c:/a/b.jar!/cl-ppcre/"
==> #P"jar:file:jar:file:c:/a/b.jar!/cl-ppcre"
Change History
(18)
| Owner: |
changed from ehuelsmann to Mark Evenson
|
| Priority: |
major → blocker
|
| Status: |
new → accepted
|
| Keywords: |
user-feedback added
|
| Priority: |
blocker → critical
|
| Resolution: |
→ fixed
|
| Status: |
accepted → closed
|
1) The only legal members of a DEVICE list are PATHNAMES.
You need to explicitly create a pathname via:
(make-pathname :device '(#p"c:/a.b.jar") :directory '(:absolute "cl-ppcre"))Agreed that an error would be a good idea.