Menu

#6 build fails

closed-later
nobody
None
5
2004-02-19
2004-02-05
John Caron
No

i downloaded your source (dbXML-2.0-Beta3.zip)

john@whoopee /cygdrive/c/dev/lib/dbXML-2.0
$ ant clean compile
Buildfile: build.xml

init:

clean-jar:

clean-classes:
[delete] Deleting directory C:\dev\lib\dbXML-2.0
\java\classes

clean-javadoc:

clean:

init:

prepare:
[mkdir] Created dir: C:\dev\lib\dbXML-2.0
\java\classes

clean-jar:

src:
[echo] Compiling Source
[javac] Compiling 369 source files to
C:\dev\lib\dbXML-2.0\java\classes
[javac] C:\dev\lib\dbXML-2.0
\java\src\com\dbxml\db\common\xpath\XPathQuery.java
:496: array required, but org.apache.xpath.compiler.
OpMapVector found
[javac] int endFunc = pos + cmp.getOpMap()
[pos+1]-1;
[javac] ^
[javac] C:\dev\lib\dbXML-2.0
\java\src\com\dbxml\db\common\xpath\XPathQuery.java
:496: operator - cannot be applied to java.lang.Stri
ng,int
[javac] int endFunc = pos + cmp.getOpMap()
[pos+1]-1;
[javac] ^
[javac] 2 errors

BUILD FAILED
C:\dev\lib\dbXML-2.0\build.xml:94: Compile failed; see
the compiler error output for details.

Total time: 13 seconds

Discussion

  • Paul R. Brown

    Paul R. Brown - 2004-02-14

    Logged In: YES
    user_id=532486

    This is caused by the version of Xalan in the 1.4 SDK preventing the
    Xalan 2.1.0 that dbXML needs from being recognized by the compiler.
    You'll need to update the classpath for the compiler or work with a 1.3
    JDK to get around this issue.

     
  • Tom Bradford

    Tom Bradford - 2004-02-19
    • status: open --> closed-later
     
  • Tom Bradford

    Tom Bradford - 2004-02-19

    Logged In: YES
    user_id=35410

    Beta 3 was only qualified to build and run on Java 1.4.1,
    not Java 1.4.2 or higher. RC3 will be qualified to build
    and run on 1.4.2 or higher, but not 1.4.1 or lower.

     

Log in to post a comment.