Re: Install Xindice with an error about enum varible

Jon Oakes <[email protected]> Mon, 17 Jul 2006 08:09:02 -0400
Newsgroups gmane.text.xml.xindice.user
Message-ID <[email protected]>
Hi Louis,
I am also a user, not a contributor, so someone else might give you a 
better answer.  I am pretty sure you must still be compiling with Java 
1.5 somehow.  Check your path and java_home variables and make sure they 
are all set to 1.4.  I looked at updating the source to 1.5 but it 
looked like a lot of work.
Jon


Louis wrote:

>I am new to Xindice. I downloaded Tomcat5028 and Xindice 1.1b4 (all jar.zip,
>war.zip and src.zip). When I run build.bat, it came out 51 errors about
>C:\xindice-1.1b4\java\src\org\apache\xindice\core\filer\BTreeFilter.java,
>basically about the var enum in BTreeFilter.java file:
>* as of release of 1.5, "enum" is a keyward, and may not be used as an
>identifier
>I can visit localhost:8080/xindice, and a new 'dist' folder was created by
>build.bat without any file in. But when I type xindice in command line, it's
>not recognized as any type of command, program or batch file. 
>
>So I reinstalled Tomcat, using j2re1.4.2-04, same result. 
>
>Did I do anything wrong? would you give me some suggestion? thank you in
>advance.
>  
>