You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Louis <zx...@yahoo.com.cn> on 2006/07/16 20:57:35 UTC

Install Xindice with an error about enum varible

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.
-- 
View this message in context: http://www.nabble.com/Install-Xindice-with-an-error-about-enum-varible-tf1951481.html#a5351474
Sent from the Xindice - Users forum at Nabble.com.


Re: Install Xindice with an error about enum varible

Posted by Jon Oakes <jo...@markem.com>.
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.
>  
>