From: <mag...@st...> - 2006-01-30 22:02:26
|
thanks guys! I see now that I obviously should have been able to get that out of the javadocs.. oh well. I'm off to re-implement a large topicmap application based on Python, using TM4J. Huess you'll be hearing a lot from me the next couple of months ;) Kal Ahmed wrote: > Hi Magnus > > Your import is wrong. The Topic interface is actually defined in the package > org.tm4j.topicmap. Change your import to: > > import org.tm4j.topicmap.*; > > (or better: import org.tm4j.topicmap.Topic; ) > > Cheers > > Kal > > >>-----Original Message----- >>From: tm4...@li... [mailto:tm4j-users- >>ad...@li...] On Behalf Of Magnus Folgerø >>Sent: 30 January 2006 19:35 >>To: Lars Heuer >>Cc: tm4...@li... >>Subject: Re: [TM4J-users] Need help getting started using TM4J >> >>it's as simple as this, but "Topic cannot be resolved to a type" >> >> >>/*****************************************/ >>import org.tm4j.*; >> >>public class MyClass { >> >> Topic tp; >> /** >> * @param args >> */ >> public static void main(String[] args) { >> // TODO Auto-generated method stub >> >> }//main >> >>}//class >>/*****************************************/ >> >>Lars Heuer wrote: >> >>>Hi Magnus, >>> >>> >>> >>>>thx for the reply! alas, I still don't get it rigth: >>> >>> >>>>I'm not quite sure which .jar to add in the build-path, so I just added >>>>the lot. But I'm not able to use classes like TopicMap [TopicMap cannot >>>>be resolved to a type] >>> >>>[...] >>> >>> >>>>$ cat tm4j_test/.classpath >>> >>>[...] >>> >>>Cannot see a failure here. >>> >>>Are you trying to work with TMAPI? >>> >>>What kind of imports do you have in "MyClass.java"? >>> >>>Can you post an excerpt of your class? >>> >>>Best regards, >>>Lars >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: Splunk Inc. Do you grep through log >>files >>for problems? Stop! Download the new AJAX search engine that makes >>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >>_______________________________________________ >>Tm4j-users mailing list >>Tm4...@li... >>https://lists.sourceforge.net/lists/listinfo/tm4j-users >> > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users |