From: SourceForge.net <no...@so...> - 2004-03-22 21:59:39
|
Support Requests item #787735, was opened at 2003-08-13 02:31 Message generated for change (Settings changed) made by kal_ahmed You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391880&aid=787735&group_id=27895 Category: Install Problem (example) Group: v1.0 (example) >Status: Closed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: getting the examples running Initial Comment: Hi, I installed tm4j and tried to get the examples running with the ant and the built.xml file. Nearly all examples are giving an output that seems to be correct. But not the parse.xtm and parse.ltm My java installation is: j2sdk1.4.1_02, Tomcat4.1, ant_1.5.3, tm4j_0.82. I have set up all the jar-files in the classpath environment The output is allways like this: I also tried the included xtm-examples! C:\tm4j\examples>ant parse.xtm Buildfile: build.xml init: parse.xtm: [java] Parsing topic map: file:/C:/tm4j/examples/topicmaps/opera.xtm as XTM [java] TopicMapProviderException. Caused by: . Cause: org.tm4j.topicmap.TopicMapRuntimeException: [java] Cause: org.tm4j.topicmap.DuplicateObjectIDException: x1iersmkj8-0 [java] Cause:x1iersmkj8-0 [java] at org.tm4j.topicmap.TopicMapProviderBase.addTopicMap (TopicMapProviderBase.java:293) [java] at org.tm4j.topicmap.memory.TopicMapProviderImpl.addTopi cMap(TopicMapProviderImpl.java:259) [java] Error encountered: TopicMapProviderException. Caused by: . Cause: org.tm4j.topicmap.TopicMapRuntimeException: [java] at examples.basic.ParseTopicMap.run (Unknown Source) [java] at examples.basic.ParseTopicMap.main (Unknown Source) [java] Cause: org.tm4j.topicmap.DuplicateObjectIDException: x1iersmkj8-0 [java] Cause:x1iersmkj8-0 [java] Stack trace follows... [java] TopicMapProviderException. Caused by: . Cause: org.tm4j.topicmap.TopicMapRuntimeException: [java] Cause: org.tm4j.topicmap.DuplicateObjectIDException: x1iersmkj8-0 [java] Cause:x1iersmkj8-0 [java] at org.tm4j.topicmap.TopicMapProviderBase.addTopicMap (TopicMapProviderBase.java:293) [java] at org.tm4j.topicmap.memory.TopicMapProviderImpl.addTopi cMap(TopicMapProviderImpl.java:259) [java] at examples.basic.ParseTopicMap.run (Unknown Source) [java] at examples.basic.ParseTopicMap.main (Unknown Source) BUILD SUCCESSFUL Total time: 2 seconds ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391880&aid=787735&group_id=27895 |