Re: installing xindice.war in TOMCAT 5.0 for JWSDP

Vadim Gritsenko <[email protected]> Tue, 27 Feb 2007 19:57:13 -0500
Newsgroups gmane.text.xml.xindice.user
Message-ID <[email protected]>
Iñaki Salinas Bueno wrote:
> More information, I hope it helps:
> 
> I am using Xindice 1.1b4.
> The Java WSDP needs SDK 1.5 or later, so I change from 1.4 to 1.5.
> I try to build Xindice 1.1b4 with this version of Java but I have 51 
> errors like this:

Current trunk of Xindice works with java 1.5. Last release, Xindice 1.1b4, does 
not. If you want to use Java 5, please checkout Xindice from subversion.

Vadim

> [javac] 
> /.../xindice-1.1b4/java/src/org/apache/xindice/xml/sax/SetContentHandler.java:230: 
> as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
> [javac} (try -source 1.4 or lower to use 'enum' as an identifier)
> 
> Does it means that Xindice-1.1b4 needs SDK 1.4?
> Does it means that I have to choose between Java WSDP or Xindice?
> I don't know how can I use both, if it is possible.
> 
> Thanks for your help
> Iñaki