the 1.1b3 version because there are /many /issues with the deprecated 1.0 version)
you need to use an old version of xerces/xalan. Somewhere along the way
they changed the API a tiny bit. You are building with a version of xerces/xalan
that has the change. Make sure you use JDK 1.3 and only have the xerces/xalan
jars that came with xindice 1.0 on your classpath and 1.0 will build fine.
-Terry
Hariharasudhan <[EMAIL PROTECTED]> wrote:
problems when building the xinidice source 1.0
[javac] int endFunc = pos + cmp.getOpMap()[pos+1] - 1; [javac] ^ [javac] C:\xindice\work\xml-xindice\java\src\org\apache\xindice\core\query\X PathQueryResolver.java:502: operator - cannot be applied to java.lang.String,int
Laxma Reddy Dendi wrote:
Hari: this could be the problem with your Java version. if you can use the 1.1b3 or latest versions of xindice, then this problem will not occur.
laxma
On Wed, 20 Oct 2004 12:01:43 +0530, Hariharasudhan <[EMAIL PROTECTED]> wrote:
Terry ,
iam getting problems when building the xinidice source 1.0 prepare: [mkdir] Created dir: C:\xindice\work\xml-xindice\java\classes
clean-jar:
src: [echo] Compiling Source [javac] Compiling 324 source files to C:\xindice\work\xml-xindice\java\class es [javac] C:\xindice\work\xml-xindice\java\src\org\apache\xindice\core\query\X PathQueryResolver.java:502: array required, but org.apache.xpath.compiler.OpMapV ector found [javac] int endFunc = pos + cmp.getOpMap()[pos+1] - 1; [javac] ^ [javac] C:\xindice\work\xml-xindice\java\src\org\apache\xindice\core\query\X PathQueryResolver.java:502: operator - cannot be applied to java.lang.String,int
[javac] int endFunc = pos + cmp.getOpMap()[pos+1] - 1; [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 2 errors
BUILD FAILED C:\xindice\work\xml-xindice\build.xml:123: Compile failed; see the compiler erro r output for details.
Total time: 13 seconds
Iam getting this when i tried to build the xindice source .., iam using the latest xml-xindice-1.0 source .., what am i doing wrong .
Regards , Hari.
/When I do good, I feel good; when I do bad, I feel bad.That's my religion . - Abraham Lincoln /