Peter,

Thank you for your report. The cause of the error is XMLLoader uses Java 1.6 feature.
I just committed revert XMLLoader.java in r732576.

Koji

Peter Wolanin wrote:
Trying to build Solr from the current svn HEAD with java 1.5 (on Mac
OS 10.5), the build (ant example) fails:

    [javac] 
/Users/Shared/engineering/apachesolr-trunk/src/java/org/apache/solr/handler/XMLLoader.java:73:
cannot find symbol
    [javac] symbol  : constructor
IOException(java.lang.String,javax.xml.stream.XMLStreamException)
    [javac] location: class java.io.IOException
    [javac]       throw new IOException(e.getMessage(), e);

If I take the version a couple commits back (svn up -r732229) the
build succeeds.

-Peter

--------------------------------------------------------------
Peter M. Wolanin, Ph.D.
Momentum Specialist,  Acquia. Inc.
[email protected]



--
==========================================
株式会社 ロンウイット
関口宏司
100-0005 東京都千代田区丸の内1-1-3
AIGビルB1F
TEL 03-5288-5927
FAX 03-5288-5928
http://www.rondhuit.com/
ブログ http://lucene.jugem.jp/

Reply via email to