Changeset 14166
- Timestamp:
- 10/06/12 06:26:41 (11 years ago)
- Location:
- trunk/abcl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/contrib/abcl-asdf/maven-embedder.lisp
r13907 r14166 48 48 Returns the path of the Maven executable or nil if none are found." 49 49 50 (let ((m2-home ( asdf:getenv "M2_HOME"))51 (m2 ( asdf:getenv "M2"))50 (let ((m2-home (ext:getenv "M2_HOME")) 51 (m2 (ext:getenv "M2")) 52 52 (mvn-executable (if (find :unix *features*) 53 53 "mvn" -
trunk/abcl/src/org/armedbear/lisp/asdf.lisp
r14150 r14166 1 1 ;;; -*- mode: Common-Lisp; Base: 10 ; Syntax: ANSI-Common-Lisp ; coding: utf-8 -*- 2 ;;; This is ASDF 2.2 4: Another System Definition Facility.2 ;;; This is ASDF 2.25: Another System Definition Facility. 3 3 ;;; 4 4 ;;; Feedback, bug reports, and patches are all welcome: … … 119 119 ;; "2.345.0.7" would be your seventh local modification of official release 2.345 120 120 ;; "2.345.6.7" would be your seventh local modification of development version 2.345.6 121 (asdf-version "2.2 4")121 (asdf-version "2.25") 122 122 (existing-asdf (find-class 'component nil)) 123 123 (existing-version *asdf-version*) … … 365 365 #:system-source-registry-directory 366 366 367 ;; Utilities 367 ;; Utilities: please use asdf-utils instead 368 #| 368 369 ;; #:aif #:it 369 #:appendf #:orf370 ;; #:appendf #:orf 370 371 #:length=n-p 371 372 #:remove-keys #:remove-keyword … … 390 391 #:*wild* #:*wild-file* #:*wild-directory* #:*wild-inferiors* 391 392 #:*wild-path* #:wilden 392 #:directorize-pathname-host-device 393 #:directorize-pathname-host-device|# 393 394 ))) 394 395 #+genera (import 'scl:boolean :asdf) … … 463 464 (deftype logical-pathname () nil) 464 465 (defun make-broadcast-stream () *error-output*) 466 (defun translate-logical-pathname (x) x) 465 467 (defun file-namestring (p) 466 468 (setf p (pathname p)) … … 3322 3324 (truenamize 3323 3325 (pathname-directory-pathname 3326 #+cormanlisp (ensure-directory-pathname (user-homedir-pathname)) 3324 3327 #+mcl (current-user-homedir-pathname) 3325 #- mcl(user-homedir-pathname))))3328 #-(or cormanlisp mcl) (user-homedir-pathname)))) 3326 3329 3327 3330 (defun* ensure-pathname* (x want-absolute want-directory fmt &rest args) … … 3357 3360 :collect (subpathname* dir "common-lisp/")))) 3358 3361 ,@(when (os-windows-p) 3359 `(,(subpathname* (or #+lispworks (sys:get-folder-path :local-appdata) 3362 `(,(subpathname* (or #+(and lispworks (not lispworks-personal-edition)) 3363 (sys:get-folder-path :local-appdata) 3360 3364 (getenv-absolute-directory "LOCALAPPDATA")) 3361 3365 "common-lisp/config/") 3362 3366 ;; read-windows-registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\AppData 3363 ,(subpathname* (or #+lispworks (sys:get-folder-path :appdata) 3367 ,(subpathname* (or #+(and lispworks (not lispworks-personal-edition)) 3368 (sys:get-folder-path :appdata) 3364 3369 (getenv-absolute-directory "APPDATA")) 3365 3370 "common-lisp/config/"))) … … 3374 3379 (aif 3375 3380 ;; read-windows-registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Common AppData 3376 (subpathname* (or #+lispworks (sys:get-folder-path :common-appdata) 3381 (subpathname* (or #+(and lispworks (not lispworks-personal-edition)) 3382 (sys:get-folder-path :common-appdata) 3377 3383 (getenv-absolute-directory "ALLUSERSAPPDATA") 3378 3384 (subpathname* (getenv-absolute-directory "ALLUSERSPROFILE") "Application Data/")) … … 3502 3508 (try (getenv-absolute-directory "XDG_CACHE_HOME") "common-lisp" :implementation) 3503 3509 (when (os-windows-p) 3504 (try (or #+lispworks (sys:get-folder-path :local-appdata) 3510 (try (or #+(and lispworks (not lispworks-personal-edition)) 3511 (sys:get-folder-path :local-appdata) 3505 3512 (getenv-absolute-directory "LOCALAPPDATA") 3506 #+lispworks (sys:get-folder-path :appdata) 3513 #+(and lispworks (not lispworks-personal-edition)) 3514 (sys:get-folder-path :appdata) 3507 3515 (getenv-absolute-directory "APPDATA")) 3508 3516 "common-lisp" "cache" :implementation)) … … 4243 4251 '("/usr/local/share" "/usr/share")))) 4244 4252 ,@(when (os-windows-p) 4245 `(,(or #+lispworks (sys:get-folder-path :local-appdata) 4253 `(,(or #+(and lispworks (not lispworks-personal-edition)) 4254 (sys:get-folder-path :local-appdata) 4246 4255 (getenv-absolute-directory "LOCALAPPDATA")) 4247 ,(or #+lispworks (sys:get-folder-path :appdata) 4256 ,(or #+(and lispworks (not lispworks-personal-edition)) 4257 (sys:get-folder-path :appdata) 4248 4258 (getenv-absolute-directory "APPDATA")) 4249 ,(or #+lispworks (sys:get-folder-path :common-appdata) 4259 ,(or #+(and lispworks (not lispworks-personal-edition)) 4260 (sys:get-folder-path :common-appdata) 4250 4261 (getenv-absolute-directory "ALLUSERSAPPDATA") 4251 4262 (subpathname* (getenv-absolute-directory "ALLUSERSPROFILE") "Application Data/")))))
Note: See TracChangeset
for help on using the changeset viewer.