-
Notifications
You must be signed in to change notification settings - Fork 3
/
logical-hostnames.lisp
56 lines (50 loc) · 2.14 KB
/
logical-hostnames.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Package: CL-USER; -*-
(in-package "CL-USER")
(setf (logical-pathname-translations "ACL-COMPAT")
`((#-mcl "*.*.*" #+mcl "**;*.*.*" ;mcl gives recording source-file error when redefining anything loaded with this
;; e.g., "/home/jsc/lisp/src/aserve/acl-compat-lw/"
,(merge-pathnames
(make-pathname :host (pathname-host *load-truename*)
:directory '(:relative "acl-compat" #+mcl :wild-inferiors)
:name :wild
:type :wild
:version :wild
; :case :common
)
*load-truename*))))
#+lispworks
(setf (logical-pathname-translations "CL-SSL")
`(("*.*.*"
;; e.g., "/home/jsc/lisp/src/aserve/acl-compat-lw/cl-ssl/"
,(merge-pathnames
(make-pathname :host (pathname-host *load-truename*)
:directory '(:relative "acl-compat-lw" "cl-ssl")
:name :wild
:type :wild
:version :wild
; :case :common
)
*load-truename*))))
(setf (logical-pathname-translations "ASERVE")
`(("**;*.lisp.*" ;,(logical-pathname "**;*.cl.*")
,(merge-pathnames
(make-pathname :host (pathname-host *load-truename*)
:directory '(:relative "aserve"
:wild-inferiors)
:name :wild
:type "cl"
:version :wild)
*load-truename*
))
("**;*.*.*"
;; e.g., "/home/jsc/lisp/src/aserve/aserve-lw/**/"
,(merge-pathnames
(make-pathname :host (pathname-host *load-truename*)
:directory '(:relative "aserve"
:wild-inferiors)
:name :wild
:type :wild
:version :wild
;:case :common
)
*load-truename*))))