Thank you Frank In step 4, my environment is pointing to jdk1.3. I haven't jdk1.4.1. I wrote an error. All my system is pointing to jdk1.3, I haven't tzmappings in /usr/java1.3/lib/. In step 5, what you told me worked ok. Thanks. But I am with the problem in step 9. Could anybody help me? Thanks in advance.
--- Frank Burough <[EMAIL PROTECTED]> escribi�: > Hi- > > In step 4, your output shows the line: "can't open > /usr/java1.3/lib/tzmappings". Looks like something > in your environment > is still pointing to jdk1.3. > > In step 5 it looks like you issue the command > 'bin/ant war'. I think you > should just '/bin/ant release' to build the war > files. > > Frank > > > > On Thu, 2003-01-30 at 05:59, Llerta amat wrote: > > > Please, I am installing xindice1.1 from cvs, Could > anybody tell me > > what it's happening? > > > > My configuration is as follows: > > > > xml-xindice from cvs (fresh download 1/29/03) > > Tomcat version 4.1.18 > > Java JDK version j2sdk1.4.1_01 > > > > Thanks for any help,Shell > > > > > > Installation steps: > > 1. Login to Apache public CVS: > > cvs -d > :pserver:[EMAIL PROTECTED]:/home/cvspublic > login > > password: anoncvs > > > > OK > > > > 2. Checkout Xindice from CVS > > cvs -d > :pserver:[EMAIL PROTECTED]:/home/cvspublic > checkout > > xml-xindice > > > > OK > > > > 3. Change to the xml-xindice directory which > you've just checked out > > cd xml-xindice/ > > > > OK > > > > 4. Build Xindice with ant > > bin/ant > > > > bash-2.05$ bin/ant > > dirname bin > > > /var/home/xindiceadm/xindice/xindice_cvs/tomcat/jakarta-tomcat-4.1.18/lib/common > > > /servlet.jar:bin/../java/lib/xmlrpc-1.1.jar:bin/../java/lib/xmldb-xupdate.jar:bi > > > n/../java/lib/xmldb-common.jar:bin/../java/lib/xmldb-api-sdk-20021118.jar:bin/.. > > > /java/lib/xmldb-api-20021118.jar:bin/../java/lib/xml-apis-1.1.jar:bin/../java/li > > > b/xercesImpl-2.1.0.jar:bin/../java/lib/xerces-2.2.1.jar:bin/../java/lib/xalan-2. > > > 4.0.jar:bin/../java/lib/servlet.jar:bin/../java/lib/junitperf-1.8.jar:bin/../jav > > > a/lib/junit-addons-1.1.jar:bin/../java/lib/junit-3.8.1.jar:bin/../java/lib/commo > > > ns-logging-1.0.1.jar:bin/../java/lib/ant-1.5.1.jar:bin/../lib/*.jar:/usr/java1.3 > > /lib/tools.jar > > security properties not found. using defaults. > > Buildfile: build.xml > > > > init: > > can't open /usr/java1.3/lib/tzmappings > > > > src-build: > > > > test-build: > > > > jar-release: > > > > war-release: > > > > release: > > > > BUILD SUCCESSFUL > > Total time: 9 seconds > > > > 5. Build the Xindice.war file > > bin/ant war > > > > bash-2.05$ bin/ant war > > dirname bin > > > /var/home/xindiceadm/xindice/xindice_cvs/tomcat/jakarta-tomcat-4.1.18/lib/common > > > /servlet.jar:bin/../java/lib/xmlrpc-1.1.jar:bin/../java/lib/xmldb-xupdate.jar:bi > > > n/../java/lib/xmldb-common.jar:bin/../java/lib/xmldb-api-sdk-20021118.jar:bin/.. > > > /java/lib/xmldb-api-20021118.jar:bin/../java/lib/xml-apis-1.1.jar:bin/../java/li > > > b/xercesImpl-2.1.0.jar:bin/../java/lib/xerces-2.2.1.jar:bin/../java/lib/xalan-2. > > > 4.0.jar:bin/../java/lib/servlet.jar:bin/../java/lib/junitperf-1.8.jar:bin/../jav > > > a/lib/junit-addons-1.1.jar:bin/../java/lib/junit-3.8.1.jar:bin/../java/lib/commo > > > ns-logging-1.0.1.jar:bin/../java/lib/ant-1.5.1.jar:bin/../lib/*.jar:/usr/java1.3 > > /lib/tools.jar > > security properties not found. using defaults. > > Buildfile: build.xml > > > > BUILD FAILED > > Target `war' does not exist in this project. > > > > Total time: 4 seconds > > > > > > 6. Copy Xindice.war into Tomcat's webapps > directory > > cp Xindice.war [Tomcat home]/webapps/ > > > > OK > > 7. Restart Tomcat > > > > OK > > 8. Change to the bin directory of your Xindice > installation > > cd [path to xml-xindice]/bin > > > > OK > > 9. Test your installation by adding a new Xindice > collection > > ./xindice ac -c /db -n test > > > > bash-2.05$ ./xindice ac -c /db -n test > > ERROR : Collection not found! > > > > > > 10. Add a document to the collection > > ./xindice ad -c /db/test -f test.xml -n test > > 11. And query it > > ./xindice xpath -c /db/test -q > "//[EMAIL PROTECTED]'99:1']" > > > > > > > > > > > > > > Notes: > > > > > > 1. You'll see an error if you point your browser > to the Xindice > > servlet, which currently is only designed for > XML-RPC access. Work is > > in progress to provide a browser interface. > > 2. xindice lc -l -c /db accesses the database > locally (-l) and looks > > into the XINDICE_HOME directory for the db. > > xindice lc -c /db accesses the database via > XML-RPC and looks into > > where you started your Tomcat server: [Tomcat > home] or [Tomcat > > home]/bin for the db. > > Since Xindice still automatically creates a db, > you'll have 2 dbs if > > you use the local and XML-RPC versions. > > 3. General questions and offers of support should > be directed to the > > Xindice mailing list. > > > > > > > > > ______________________________________________________________________ > > Yahoo! M�viles > > Personaliza tu m�vil con tu logo y melod�a > favorito > ___________________________________________________ Yahoo! M�viles Personaliza tu m�vil con tu logo y melod�a favorito en http://moviles.yahoo.es
