1 | ABCL-ASDF |
---|
2 | ========= |
---|
3 | |
---|
4 | CL-USER> (require 'abcl-contrib) |
---|
5 | |
---|
6 | CL-USER> (require 'abcl-asdf) |
---|
7 | |
---|
8 | |
---|
9 | ABCL specific contributions to ASDF system definition mainly concerned |
---|
10 | with finding JVM artifiacts such as jar archives to be loaded. |
---|
11 | |
---|
12 | Examples |
---|
13 | -------- |
---|
14 | |
---|
15 | ;;;; -*- Mode: LISP -*- |
---|
16 | (in-package :asdf) |
---|
17 | |
---|
18 | (defsystem :log4j |
---|
19 | :components ((:mvn "log4j/log4j" |
---|
20 | :version "1.4.9"))) |
---|
21 | |
---|
22 | API |
---|
23 | --- |
---|
24 | |
---|
25 | We define out API as consisting of the following ASDF classes: |
---|
26 | |
---|
27 | JAR-DIRECTORY, JAR-FILE, and CLASS-FILE-DIRECTORY for JVM artifacts |
---|
28 | that have a currently valid pathname representation |
---|
29 | |
---|
30 | mvn |
---|
31 | |
---|
32 | iri |
---|
33 | |
---|
34 | |
---|
35 | |
---|
36 | Example 2 |
---|
37 | --------- |
---|
38 | |
---|
39 | For a filesystem of jar archives: |
---|
40 | |
---|
41 | ./lib/ext/flora2-reasoner/XSBFlora.jar |
---|
42 | ./lib/ext/iris-reasoner/iris/iris-0.58.jar |
---|
43 | ./lib/ext/iris-reasoner/jgrapht/jgrapht-jdk1.5-0.7.1.jar |
---|
44 | ./lib/ext/log4j/log4j-1.2.14.jar |
---|
45 | ./lib/ext/mandrax-reasoner/commons-collections-2.1.jar |
---|
46 | ./lib/ext/mandrax-reasoner/jdom-b10.jar |
---|
47 | ./lib/ext/mandrax-reasoner/log4j-1.2.8.jar |
---|
48 | ./lib/ext/mandrax-reasoner/mandarax-3.4.jar |
---|
49 | ./lib/ext/mins-reasoner/mins-v0_3.jar |
---|
50 | ./lib/ext/pellet-reasoner/aterm/1.6/aterm-java-1.6.jar |
---|
51 | ./lib/ext/pellet-reasoner/commons-logging/1.1/commons-logging-1.1.jar |
---|
52 | ./lib/ext/pellet-reasoner/kaon/1.2.9/rdfapi.jar |
---|
53 | ./lib/ext/pellet-reasoner/owl-api/1.4.3/abstractparser.jar |
---|
54 | ./lib/ext/pellet-reasoner/owl-api/1.4.3/io.jar |
---|
55 | ./lib/ext/pellet-reasoner/owl-api/1.4.3/rdfparser.jar |
---|
56 | ./lib/ext/pellet-reasoner/owl-api/1.4.3/validation.jar |
---|
57 | ./lib/ext/pellet-reasoner/owl-api/owl-api-econn/2006-04-27/api.jar |
---|
58 | ./lib/ext/pellet-reasoner/owl-api/owl-api-econn/2006-04-27/impl.jar |
---|
59 | ./lib/ext/pellet-reasoner/pellet/pellet.jar |
---|
60 | ./lib/ext/pellet-reasoner/relaxng/1.0/relaxngDatatype.jar |
---|
61 | ./lib/ext/pellet-reasoner/xsdlib/xsdlib.jar |
---|
62 | ./lib/ext/wsmo/WSML-grammar-20081202.jar |
---|
63 | ./lib/ext/wsmo/wsmo-api-0.6.2.jar |
---|
64 | ./lib/ext/wsmo/wsmo4j-0.6.2.jar |
---|
65 | ./lib/ext/xsb-system/interprolog.jar |
---|
66 | |
---|
67 | The following ASDF defintion loads enough JVM artifacts to use the |
---|
68 | IRIS reasoner: |
---|
69 | |
---|
70 | (defsystem :wsml2reasoner-jars |
---|
71 | :version "0.6.4" ;; last sync with SVN |
---|
72 | :depends-on (:abcld) :components |
---|
73 | ((:module wsml2reasoner |
---|
74 | :pathname "lib/" :components |
---|
75 | ((:jar-file "wsml2reasoner"))) |
---|
76 | (:module iris-libs |
---|
77 | :pathname "lib/ext/iris-reasoner/iris/" :components |
---|
78 | ((:jar-file "iris-0.58"))) |
---|
79 | (:module jgrapht-libs |
---|
80 | :pathname "lib/ext/iris-reasoner/jgrapht/" :components |
---|
81 | ((:jar-file "jgrapht-jdk1.5-0.7.1"))) |
---|
82 | (:module wsmo-libs |
---|
83 | :pathname "lib/ext/wsmo/" :components |
---|
84 | ((:jar-file "WSML-grammar-20081202") |
---|
85 | (:jar-file "wsmo-api-0.6.2") |
---|
86 | (:jar-file "wsmo4j-0.6.2"))) |
---|
87 | (:module log4j-libs |
---|
88 | :pathname "lib/ext/log4j/" :components |
---|
89 | ((:jar-file "log4j-1.2.14"))))) |
---|