[Ecls-list] error with logical pathname

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Mon Nov 24 11:21:50 UTC 2008


On Sat, Nov 22, 2008 at 10:16 PM, Pedro Kröger <pedro.kroger at gmail.com> wrote:
> ;;; Number of wildcards in #P"rameau:**;*.*.*" do not match  #P"/home/kroger/src/rameau/**/"Broken at SI:BYTECODES.Available restarts:

Have you tried using rameau/**/*.* ? Without the last two wildcards
ECL will not know how to translate file name components (even if they
are nil)

> (setf (logical-pathname-translations "rameau")
     `(("user-data;*.*.*"      ,(merge-pathnames ".rameau/"
(user-homedir-pathname)))
       ("**;*.*.*" "/home/kroger/src/rameau/**/*.*")))

((#P"rameau:user-data;*.*.*" #P"/Users/jjgarcia/.rameau/")
 (#P"rameau:**;*.*.*" #P"/home/kroger/src/rameau/**/*.*"))
> (translate-logical-pathname "rameau:lib;")

#P"/home/kroger/src/rameau/lib/"


-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28009 (Spain)
http://juanjose.garciaripoll.googlepages.com


More information about the ecl-devel mailing list