#197: JAR-PATHNAME errors and ambiguities --------------------------+------------------------------------------------- Reporter: mevenson | Owner: ehuelsmann Type: defect | Status: new Priority: major | Milestone: 1.1.0 Component: interpreter | Version: 1.0.1 Keywords: jar-pathname | --------------------------+------------------------------------------------- [http://article.gmane.org/gmane.lisp.armedbear.devel/2200 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.
2. 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" }}}
3. 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" }}}
#197: JAR-PATHNAME errors and ambiguities --------------------------+------------------------------------------------- Reporter: mevenson | Owner: mevenson Type: defect | Status: accepted Priority: blocker | Milestone: 1.1.0 Component: interpreter | Version: 1.0.1 Keywords: jar-pathname | --------------------------+------------------------------------------------- Changes (by mevenson):
* owner: ehuelsmann => mevenson * priority: major => blocker * status: new => accepted
#197: JAR-PATHNAME errors and ambiguities ----------------------------------------+----------------------------------- Reporter: mevenson | Owner: mevenson Type: defect | Status: accepted Priority: critical | Milestone: 1.1.0 Component: interpreter | Version: 1.0.1 Keywords: jar-pathname user-feedback | ----------------------------------------+----------------------------------- Changes (by ehuelsmann):
* keywords: jar-pathname => jar-pathname user-feedback * priority: blocker => critical
#197: JAR-PATHNAME errors and ambiguities ----------------------------------------+----------------------------------- Reporter: mevenson | Owner: mevenson Type: defect | Status: accepted Priority: critical | Milestone: 1.1.0 Component: interpreter | Version: 1.0.1 Keywords: jar-pathname user-feedback | ----------------------------------------+-----------------------------------
Comment(by mevenson):
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.
#197: JAR-PATHNAME errors and ambiguities ----------------------------------------+----------------------------------- Reporter: mevenson | Owner: mevenson Type: defect | Status: accepted Priority: critical | Milestone: 1.1.1 Component: interpreter | Version: 1.0.1 Keywords: jar-pathname user-feedback | ----------------------------------------+----------------------------------- Changes (by mevenson):
* milestone: 1.1.0 => 1.1.1
Comment:
Some issues have been addressed.
In general, the Pathname stuff need to be rewritten in Lisp.
#197: JAR-PATHNAME errors and ambiguities ----------------------------------------+----------------------------------- Reporter: mevenson | Owner: mevenson Type: defect | Status: accepted Priority: critical | Milestone: 1.2.0 Component: interpreter | Version: 1.0.1 Keywords: jar-pathname user-feedback | ----------------------------------------+----------------------------------- Changes (by mevenson):
* milestone: 1.1.1 => 1.2.0
armedbear-ticket@common-lisp.net