Why don't you run "build.bat" instead of "bin\ant" ?

Also check your classpath variable, make sure it doesn't contains spaces. In
my case it helps when I first reset this variable by typing
    set classpath=
before I run the build or xindice or xindiceadmin commands.

Hope it helps.

Jelle

----- Original Message ----- 
From: "Sandeep Dhawan" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, May 27, 2004 11:50 AM
Subject: RE: NullPointer Exception:Xindice


> Okay ,
>   Another problem which i am facing is that when i am trying to
>   build the source file of the database server , a starnge message
> is coming
>
> ================ OUTPUT==============================
> D:\SANDEEP\D\XINDICE\xml-xindice-1.0>bin\ant
> ECHO is off.
> The system cannot find the path specified.
> C:\j2sdk1.4.1_01\bin\java -classpath
>
D:\SANDEEP\D\XINDICE\xml-xindice-1.0\java\lib\ant-1.4.1.jar;\config;\java\li
> b\xerces_1.4.3.jar -Dant.home=  org.apache.tools.ant.Main
> Buildfile: build.xml
>
> init:
>
> idl:
>
> prepare:
>
> clean-jar:
>
> src:
>      [echo] Compiling Source : Sandeep Dhawan
>     [javac] Modern compiler is not available - using classic compiler
>     [javac] Compiling 1 source file to
> D:\SANDEEP\D\XINDICE\xml-xindice-1.0\java\classes
>
> BUILD FAILED
>
> D:\SANDEEP\D\XINDICE\xml-xindice-1.0\build.xml:123: Cannot use classic
> compiler, as it is not available A common solution is to set the
environment
> variable JAVA_HOME to your jdk directory.
>
> Total time: 0 seconds
> ========================OUTPUT==================================
>
> I have already set the path of JAVA_HOME to the java installation
directory
> Can someone atleast tell me how can i atleast build the source files......
>
>
>
>
>
> -----Original Message-----
> From: Jelle Alten [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 27, 2004 3:12 PM
> To: [email protected]
> Subject: Re: NullPointer Exception:Xindice
>
>
> Hi Sandeep,
>
> Strange problem, I never got that problem, not even with 1.0. But why
don't
> you switch to 1.1b4? It is better, newer and even shines a little. Try it.
>
> Jelle
>
> ----- Original Message -----
> From: "Sandeep Dhawan" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Thursday, May 27, 2004 11:30 AM
> Subject: NullPointer Exception:Xindice
>
>
> > hi xindicians,
> >
> >   I have downlaoded the xml-xindice-1.0.zip file for windows platform.
> >   After installing the XINDICE database i execute the startup script
after
> >   which it displays a message "Server is ruuning"
> >
> >   Now when i try to add a collection by firing the following
> >   command:
> > xindiceadmin ac -c /db -n addressbook
> >   I get a NullPointer Exception from XMLTools.java ..
> >   I am not able to provide you the compelete stack trace but has
> >   someone faced this kind of a problem ....
> >
> >  thanks,
> > sandeep
> >
> >
> >
> >
> >
>
>

Reply via email to