From: Lars H. <he...@se...> - 2008-11-21 18:08:50
|
Hi all, Since I got some questions regarding the dependencies of the tinytim.mio package, here an overview what's needed if you want to work with the tinytim.mio package: The writers have no dependency on external libs: - CXTMTopicMapWriter - XTM10TopicMapWriter - XTM20TopicMapWriter The readers need at minimum "semagia-mio-0.9.3.jar" and "slf4j-api-1.5.6.jar" plus a SLF4J implementation, i.e. "slf4j-jdk14-1.5.6.jar" Further dependencies: - CTMTopicMapReader: - semagia-mio-snello-0.9.3.jar - semagia-mio-ctm-draft-2008-05-15-0.9.3.jar *or* semagia-mio-ctm-working-draft-2008-11-19-0.9.3.jar - LTMTopicMapReader: semagia-mio-ltm-0.9.3.jar - SnelloTopicMapReader: semagia-mio-snello-0.9.3.jar - TMXMLTopicMapReader: semagia-mio-tmxml-0.9.3.jar and if you want to enable "validation" (disabled by default) - jing.jar - XTM10TopicMapReader XTM20TopicMapReader XTMTopicMapReader: semagia-mio-xtm-0.9.3.jar and if you want to enable "validation" (disabled by default) - jing.jar Example: So, if you just want to read LTM topic maps and you'll never use CTM, XTM, TM/XML, and Snello, you need the the following libs in your classpath: - semagia-mio-0.9.3.jar - slf4j-api-1.5.6.jar - slf4j-jdk14-1.5.6.jar - semagia-mio-ltm-0.9.3.jar There is no need to keep the other libs in the classpath because they are discovered at runtime. You'll get a runtime error if you try to use the SnelloTopicMapReader without the appropriate lib, though. Best regards, Lars -- Semagia <http://www.semagia.com> |