Changeset 452 for trunk/src/xml/xtm
- Timestamp:
- 05/04/11 16:46:51 (14 years ago)
- Location:
- trunk/src/xml/xtm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/xml/xtm/importer.lisp ¶
r450 r452 45 45 :from-topic-elem-to-stub 46 46 :from-type-elem 47 :get-store-spec48 47 :get-topicref-uri 49 48 :import-only-topics … … 77 76 78 77 (in-package :xtm-importer) 79 80 ;(declaim (optimize (debug 3)))81 82 (defun get-store-spec (pathname)83 "return the store spec for elephant and ensure that the path name is absolute"84 (list :BDB (truename pathname)))85 78 86 79 -
TabularUnified trunk/src/xml/xtm/setup.lisp ¶
r450 r452 14 14 (format nil "~a" (uuid:make-v4-uuid))) 15 15 16 16 17 (defun import-from-xtm (xtm-path repository-path &key 17 18 (tm-id (error "you must provide a stable identifier (PSI-style) for this TM")) … … 27 28 (truename xtm-path) (cxml-dom:make-dom-builder))))) 28 29 (unless elephant:*store-controller* 29 (elephant:open-store 30 (get-store-spec repository-path))) 30 (open-tm-store repository-path)) 31 31 ;create the topic stubs so that we can refer to them later on 32 32 (setf d:*current-xtm* xtm-id) … … 50 50 (Keyword xtm-format)) 51 51 (unless elephant:*store-controller* 52 (elephant:open-store 53 (get-store-spec repository-path))) 52 (open-tm-store repository-path)) 54 53 (init-isidorus) 55 54 (import-from-xtm xtm-path repository-path :tm-id tm-id :xtm-id xtm-id 56 55 :xtm-format xtm-format) 57 56 (when elephant:*store-controller* 58 ( elephant:close-store)))57 (close-tm-store)))
Note: See TracChangeset
for help on using the changeset viewer.