lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From surab...@gmail.com
Subject missing RTFEditorKit in LIA example code
Date Fri, 14 Oct 2005 15:18:11 GMT
Hello,

I am trying to build from a clean copy of LIA example code, on Linux 
Fedora Core 4
The import of RTFEditorKit keeps failing. Am I missing something here?
Thank you in advance for your help.
SJ
---
lucene-1.4.3-1jpp_3fc
ant-1.6.2-3jpp_8fc
j2sdk-1.4.2_08-fcs

$ ant Indexer
Buildfile: build.xml
check-environment:
compile:
    [javac] Compiling 1 source file to 
/home/karl/Lucene/1.1/Sources/LuceneInAction/build/classes
    [javac] 1. ERROR in 
/src/lia/handlingtypes/rtf/JavaBuiltInRTFHandler.java
    [javac]  (at line 16)
    [javac]  import javax.swing.text.rtf.RTFEditorKit;
    [javac] The import javax.swing.text.rtf cannot be resolved
    [javac] 2. ERROR in 
/src/lia/handlingtypes/rtf/JavaBuiltInRTFHandler.java
    [javac]  (at line 30)
    [javac]  new RTFEditorKit().read(is, styledDoc, 0);
    [javac] RTFEditorKit cannot be resolved to a type


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message