Changeset 14373
- Timestamp:
- 02/13/13 19:29:31 (11 years ago)
- Location:
- branches/1.1.x/contrib/abcl-asdf
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1.x/contrib/abcl-asdf/abcl-asdf.lisp
r14237 r14373 132 132 (unless (java:jinstance-of-p (java:java-exception-cause e) 133 133 "java.lang.ClassNotFoundException") 134 (error "Unexpected Java exception~&~A.~&" e)) 135 136 137 138 139 140 (error "Failed to resolve MVN component name ~A." name)))))))))134 (error "Unexpected Java exception~&~A.~&" e)))) 135 (if (find-mvn) 136 (resolve-dependencies group-id artifact-id version) 137 (if alternate-uri 138 (values (namestring alternate-uri) alternate-uri) 139 (t 140 (error "Failed to resolve MVN component name ~A." name))))))) 141 141 142 142 (defun as-classpath (classpath) -
branches/1.1.x/contrib/abcl-asdf/maven-embedder.lisp
r14259 r14373 51 51 "Attempt to find a suitable Maven ('mvn') executable on the hosting operating system. 52 52 53 Returns the path of the Maven executable or nil if none are found." 53 Returns the path of the Maven executable or nil if none are found. 54 55 Emits warnings if not able to find a suitable executable." 54 56 55 57 (let ((m2-home (ext:getenv "M2_HOME")) … … 98 100 mvn-path e))))) 99 101 (when mvn 100 (return-from find-mvn mvn)))))))) 102 (return-from find-mvn mvn))))))) 103 (warn "Unable to locate Maven executable.")) 101 104 102 105 (defun find-mvn-libs () -
branches/1.1.x/contrib/abcl-asdf/tests/example.lisp
r13808 r14373 1 (in-package : abcl-asdf-test)1 (in-package :cl-user) 2 2 3 ;;;(deftest LOG4J.24 ;;; (progn5 3 (defun test-LOG4J.2 () 6 (asdf:load-system "log4j") 7 (let ((logger (#"getLogger" 'log4j.Logger (symbol-name (gensym))))) 8 (#"trace" logger "Kilroy wuz here."))) 9 ;;; t) 4 "Output a message to the Console. 5 6 Note: for users of SLIME, this will appear in the associated *inferior-lisp* buffer." 7 (#"configure" 'log4j.BasicConfigurator) 8 (#"info" (#"getRootLogger" 'log4j.Logger) "Kilroy wuz here.")) 10 9 11 10 12 11 13 12 13 14 15 -
branches/1.1.x/contrib/abcl-asdf/tests/log4j.asd
r13867 r14373 1 1 ;;;; -*- Mode: LISP -*- 2 (in-package :asdf)3 2 4 ( defsystem :log4j5 : components6 ((:module log4j.jar :components3 (asdf:defsystem :log4j 4 :defsystem-depends-on (abcl-asdf) 5 :components ((:module log4j.jar :components 7 6 ((:mvn "log4j/log4j/1.2.15"))) 8 7 (:module source :pathname "" :components … … 10 9 :depends-on (log4j.jar)))) 11 10 12 11 (defmethod perform ((o asdf:test-op) (s (eql (asdf:find-system :log4j)))) 12 (asdf:load-system :log4j) 13 (eval (read-from-string "(cl-user::test-log4j.2)")))
Note: See TracChangeset
for help on using the changeset viewer.