Re: ASDF depends-on / do-first
Richard M Kreuter <[email protected]> Mon, 25 Jun 2007 17:18:50 -0400
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
Kilian Sprotte <[email protected]> writes: > I am trying to understand the ASDF traverse method - > could anyone give me a hint to better grasp the > difference between depends-on and do-first dependencies? The DEFSYSTEM transforms :DEPENDS-ON into :IN-ORDER-TO and :DO-FIRST dependencies; :DEPENDS-ON is just syntax. Perhaps this will help: CL-USER> (asdf:defsystem sys :components ((:file "f1") (:file "f2" :depends-on ("f1")))) #<ASDF:SYSTEM "sys" {50DAF1F1}> CL-USER> (describe (second (asdf:module-components (asdf:find-system "sys")))) #<ASDF:CL-SOURCE-FILE "f2" {50EC6EA9}> is an instance of class #<STANDARD-CLASS ASDF:CL-SOURCE-FILE>. The following slots have :INSTANCE allocation: NAME "f2" VERSION #<unbound slot> IN-ORDER-TO ((ASDF:LOAD-OP (ASDF:LOAD-OP "f1")) (ASDF:COMPILE-OP (ASDF:COMPILE-OP "f1"))) DO-FIRST ((ASDF:COMPILE-OP (ASDF:LOAD-OP "f1"))) INLINE-METHODS NIL PARENT #<ASDF:SYSTEM "sys" {50DAF1F1}> RELATIVE-PATHNAME NIL OPERATION-TIMES #<HASH-TABLE :TEST EQL :COUNT 0 {50EC70E9}> PROPERTIES NIL ; No value -- RmK ------------------------------------------------------------------------- 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/