I had some some errors that I did not understand but finally works. This is what I did:
1) I proved what Georg said with xindice v1.0 and v1.1b4 but it did not work. 2) I did what Vadim said: checkout Xindice from subversion. To build this Xindice version with Java 1.5 OK, but the deploying on the tomcat server did not work. This is what happened: - From the Web: Tomcat said that the deploy was OK, but it did not create the folder - Copying in webapps folder: The folder disappeared when Tomcat started up 3) Doing it with Georg technic did not work because the folder created disappeared when I reloaded Tomcat Web application. So, I did the next: - I deployed the xindice.war (built from subversion) from the Tomcat Web application - I followed same steps Georg said: So, shutdown Tomcat, mkdir xindice in the webapps folder,
copy xindice.war to your newly created webapps/xindice folder, do jar xf xindice.war there and then start Tomcat again.
- Although I restarted Tomcat, I maintained the Tomcat Web application page on the navigator - Once Tomcat was started up, I reloaded the xindice application on it (without doing any other action before on the Tomcat Web application or the folder had disappeared again) and it worked. I hope this will be helpfull for someone. Thanks both! Iñaki 2007/2/28, Vadim Gritsenko <[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