Changeset 13432


Ignore:
Timestamp:
08/01/11 21:34:43 (9 years ago)
Author:
Mark Evenson
Message:

Fix the ABCL-ASDF:*ADDED-TO-CLASSPATH* to actually record additions.

The use of this variable is perhaps slightly obsolescent with the use
of JAVA:DUMP-CLASSPATH, but provides a convenient shortcut to
quickly find out what has been added by JAVA:ADD-TO-CLASSPATH.

Location:
trunk/abcl/contrib/abcl-asdf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/contrib/abcl-asdf/abcl-asdf.asd

    r13431 r13432  
    44(defsystem :abcl-asdf
    55  :author "Mark Evenson"
    6   :version "0.3.1"
     6  :version "0.3.2"
    77  :depends-on ("jss")
    88  :components
  • trunk/abcl/contrib/abcl-asdf/asdf-jar.lisp

    r13431 r13432  
    2727                (return-from need-to-add-directory-jar? t)))
    2828  nil)
     29
     30(defmethod java:add-to-classpath :around ((uri-or-uris t) &optional classloader)
     31  (declare (ignore classloader))
     32  (call-next-method)
     33  (if (listp uri-or-uris)
     34      (dolist (uri uri-or-uris)
     35        (pushnew uri *added-to-classpath*))
     36      (pushnew uri-or-uris *added-to-classpath*)))
    2937
    3038(in-package :asdf)
Note: See TracChangeset for help on using the changeset viewer.