[ clocc-Bugs-1740660 ] small fix for lispworks5
"SourceForge.net" <[email protected]> Wed, 20 Jun 2007 18:12:53 -0700
| Newsgroups | gmane.lisp.clocc.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1740660, was opened at 2007-06-21 01:12
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101802&aid=1740660&group_id=1802
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: defsystem
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Aneil Mallavarapu (amallavarapu)
Assigned to: Marco Antoniotti (marcoxa)
Summary: small fix for lispworks5
Initial Comment:
Defsystem-3.x doesn't load in Lispworks5; this prevents CLOCC from loading. Please update code in repository.
Here is a slightly modified version of definition of *central-registry* which fixes the problem. I add handling for the :lispworks5 feature:
(defvar *central-registry*
`(;; Current directory
"./"
#+:LUCID (working-directory)
#+ACLPC (current-directory)
#+:allegro (excl:current-directory)
#+:clisp (ext:default-directory)
#+:sbcl (progn *default-pathname-defaults*)
#+(or :cmu :scl) (ext:default-directory)
;; *** Marco Antoniotti <[email protected]>
;; Somehow it is better to qualify default-directory in CMU with
;; the appropriate package (i.e. "EXTENSIONS".)
;; Same for Allegro.
#+(and :lispworks (not :lispworks4) (not :lispworks5))
,(multiple-value-bind (major minor)
#-:lispworks-personal-edition
(system::lispworks-version)
#+:lispworks-personal-edition
(values system::*major-version-number*
system::*minor-version-number*)
(if (or (> major 3)
(and (= major 3) (> minor 2))
(and (= major 3) (= minor 2)
(equal (lisp-implementation-version) "3.2.1")))
`(make-pathname :directory
,(find-symbol "*CURRENT-WORKING-DIRECTORY*"
(find-package "SYSTEM")))
(find-symbol "*CURRENT-WORKING-DIRECTORY*"
(find-package "LW"))))
#+(or :lispworks4 :lispworks5)
(hcl:get-working-directory)
;; Home directory
#-sbcl
(mk::home-subdirectory "lisp/systems/")
;; Global registry
#+unix (pathname "/usr/local/lisp/Registry/")
)
"Central directory of system definitions.
May be either a single directory pathname, or a list of directory
pathnames to be checked after the local directory.")
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101802&aid=1740660&group_id=1802
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/