lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Isakson" <Eric.Isak...@sas.com>
Subject RE: FSDirectory won't compile
Date Mon, 17 Mar 2003 22:23:05 GMT
Adding a root cause to the exception was added to the RuntimeException signature in 1.4. I
just compiled the latest CVS against JDK 1.2 and these are the only compile errors.

Here is a trivial patch to get back to 1.2 compliance...I'm using Eclipse to create this,
I think it complies with the guidelines at http://jakarta.apache.org/site/source.html#Patches

Eric
--
Eric D. Isakson        SAS Institute Inc.
Application Developer  SAS Campus Drive
XML Technologies       Cary, NC 27513
(919) 531-3639         http://www.sas.com


-----Original Message-----
From: Ype Kingma [mailto:ykingma@xs4all.nl] 
Sent: Tuesday, March 18, 2003 12:48 AM
To: lucene-dev@jakarta.apache.org
Subject: FSDirectory won't compile


Dear Lucene developers,

In the current CVS version, FSDirectory.java won't compile.
A fix is could be to replace the , on  both lines by a +, evt. appending a space and/or a
colon to both argument strings.

I'm using java 1.3.1 on linux.

Kind regards,
Ype Kingma


compile:
    [javac] Compiling 72 source files to 
/home/ype/lcncvs/jakarta-lucene/bin/classes
    [javac] 
/home/ype/lcncvs/jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java:246: 
cannot resolve symbol
    [javac] symbol  : constructor RuntimeException  
(java.lang.String,java.io.IOException)
    [javac] location: class java.lang.RuntimeException
    [javac]             throw new RuntimeException("could not close input 
stream", e);
    [javac]                   ^
    [javac] 
/home/ype/lcncvs/jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java:253: 
cannot resolve symbol
    [javac] symbol  : constructor RuntimeException  
(java.lang.String,java.io.IOException)
    [javac] location: class java.lang.RuntimeException
    [javac]             throw new RuntimeException("could not close output 
stream", e);
    [javac]                   ^
    [javac] 2 errors



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


Mime
View raw message