Changeset 14504
- Timestamp:
- 05/21/13 12:04:57 (10 years ago)
- Location:
- trunk/abcl/contrib/abcl-asdf
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/contrib/abcl-asdf/abcl-asdf.asd
r14305 r14504 3 3 (asdf:defsystem :abcl-asdf 4 4 :author "Mark Evenson" 5 :version "1. 1.0"6 :description "<> asdf:defsystem <urn:abcl.org/release/1. 1.0/contrib/abcl-asdf#1.1.0>"5 :version "1.2.0" 6 :description "<> asdf:defsystem <urn:abcl.org/release/1.2.0/dev/contrib/abcl-asdf#1.1.0>" 7 7 :depends-on (jss) 8 8 :components … … 21 21 (asdf:defsystem :abcl-asdf-test 22 22 :author "Mark Evenson" 23 :depends-on (abcl abcl-test-lisp abcl-asdf )23 :depends-on (abcl abcl-test-lisp abcl-asdf rt) 24 24 :components ((:module tests :serial t 25 25 :components ((:file "example") … … 27 27 (:file "test"))))) 28 28 29 #| 30 (defmethod perform ((o test-op) (c (eql (find-system 'abcl-asdf-test))))29 30 (defmethod asdf:perform ((o asdf:test-op) (c (eql (asdf:find-system 'abcl-asdf-test)))) 31 31 (funcall (intern (symbol-name 'run) 'abcl-asdf-test))) 32 32 33 (defmethod perform ((o test-op) (c (eql (find-system 'abcl-asdf))))34 (asdf:load-system :abcl-asdf-test) )33 (defmethod asdf:perform ((o asdf:test-op) (c (eql (asdf:find-system 'abcl-asdf)))) 34 (asdf:load-system :abcl-asdf-test) 35 35 (asdf:test-system :abcl-asdf-test)) 36 36 37 37 ;;; FIXME 38 (defmethod perform ((o test-op) (c (eql (find-system 'abcl-asdf)))) 38 #+nil 39 (defmethod asdf:perform ((o asdf:test-op) (c (eql (asdf:find-system 'abcl-asdf)))) 39 40 "Invoke tests with (asdf:test-system 'abcl-asdf)." 40 41 (asdf:load-system 'abcl) … … 42 43 (asdf:load-system 'abcl-asdf-test) 43 44 (funcall (intern (symbol-name 'run) 'abcl-asdf-test))) 44 |# 45 -
trunk/abcl/contrib/abcl-asdf/maven-embedder.lisp
r14364 r14504 52 52 53 53 Returns the path of the Maven executable or nil if none are found. 54 55 Returns the version of Maven found as the second value. 54 56 55 57 Emits warnings if not able to find a suitable executable." … … 67 69 (mvn (truename mvn-path))) 68 70 (if mvn 69 (return-from find-mvn mvn) 71 (values (return-from find-mvn mvn) 72 (ensure-mvn-version)) 70 73 (warn "M2_HOME was set to '~A' in the process environment but '~A' doesn't exist." 71 74 m2-home mvn-path)))) … … 75 78 (mvn (truename mvn-path))) 76 79 (if mvn 77 (return-from find-mvn mvn) 80 (values (return-from find-mvn mvn) 81 (ensure-mvn-version)) 78 82 (warn "M2 was set to '~A' in the process environment but '~A' doesn't exist." 79 83 m2 mvn-path)))) … … 101 105 (when mvn 102 106 (return-from find-mvn mvn))))))) 103 (warn "Unable to locate Maven executable ."))107 (warn "Unable to locate Maven executable to find Maven Aether adaptors.")) 104 108 105 109 (defun find-mvn-libs () … … 143 147 (minor (second version)) 144 148 (patch (third version))) 145 (or 146 (and (>= major 3) 147 (>= minor 1)) 148 (and (>= major 3) 149 (>= minor 0) 150 (>= patch 3))))) 149 (values 150 (or 151 (and (>= major 3) 152 (>= minor 1)) 153 (and (>= major 3) 154 (>= minor 0) 155 (>= patch 3))) 156 (list major minor patch)))) 151 157 152 158 (defparameter *init* nil) -
trunk/abcl/contrib/abcl-asdf/packages.lisp
r13903 r14504 5 5 #:resolve 6 6 7 #:ensure-mvn-version 8 9 ;;; Leaning towards deprecation 7 10 #:resolve-dependencies 8 11 #:resolve-artifact … … 39 42 40 43 (defpackage #:abcl-asdf-test 41 (:use :cl #+nil :abcl-test-lisp) ;;; FIXME include some sort of test framework44 (:use :cl :abcl-asdf) 42 45 (:export #:run)) -
trunk/abcl/contrib/abcl-asdf/tests/example.lisp
r14364 r14504 1 (in-package : cl-user)1 (in-package :abcl-asdf-test) 2 2 3 3 (defun test-LOG4J.2 () … … 8 8 (#"info" (#"getRootLogger" 'log4j.Logger) "Kilroy wuz here.")) 9 9 10 (rt:deftest LOG4j.2 11 (test-LOG4J.2) 12 t) 10 13 11 14 … … 14 17 15 18 19 -
trunk/abcl/contrib/abcl-asdf/tests/maven.lisp
r13808 r14504 10 10 (in-package :abcl-asdf-test) 11 11 12 ;;;;(deftest LOG4J.1 13 (defun test-LOG4J.1 () 12 (rt:deftest LOG4J.1 14 13 (let ((result (abcl-asdf:resolve-dependencies "log4j" "log4j"))) 15 14 (and result 16 15 (format *standard-output* "~&~A~%" result) 17 (type-p result 'cons))) )18 ;;;t)16 (type-p result 'cons))) 17 t) 19 18 20 19 21 ;;;;(deftest ABCL.1 22 (defun test-ABCL.1 () 23 (let ((result (abcl-asdf:resolve-dependencies "org.armedbear.lisp" "abcl"))) 24 (and result 25 (format *standard-output* "~&~A~%" result) 26 (type-p result 'cons)))) 27 ;;; t) 20 (rt:deftest ABCL.1 21 (let ((result (abcl-asdf:resolve-dependencies "org.armedbear.lisp" "abcl"))) 22 (and result 23 (format *standard-output* "~&~A~%" result) 24 (type-p result 'cons))) 25 t) 28 26 29 27 -
trunk/abcl/contrib/abcl-asdf/tests/test.lisp
r14197 r14504 2 2 3 3 (defun run (&rest args) 4 (abcl-rt:do-test 'test-log4j.2)) 4 (abcl-rt:do-tests)) 5 6 (rt:deftest ABCL-ASDF.MAVEN.1 7 (multiple-value-list (ensure-mvn-version)) 8 (t (3 0 4))) 5 9 6 10
Note: See TracChangeset
for help on using the changeset viewer.