ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Dirk.Weigenand)
Subject building ant and
Date Wed, 11 Oct 2000 08:48:08 GMT

i'm having problems building ant with respect to and i think
my version of xslp.jar.

The problem:

    [mkdir] Created dir: /home/weigo/java/classes/build/ant/classes
    [javac] Compiling 135 source files to /home/weigo/java/classes/build/ant/classes
    [javac] /home/weigo/java/classes/antx/src/main/org/apache/tools/ant/taskdefs/optional/
Method read(java.lang.String) not found in class com.kvisco.xsl.XSLReader.
    [javac]       xslSheet = fileName );
    [javac]                                ^
    [javac] /home/weigo/java/classes/antx/src/main/org/apache/tools/ant/taskdefs/optional/
Incompatible type for method. Can't convert to
    [javac]       processor.process(infile, xslSheet, new FileWriter(outfile));
    [javac]                                           ^
    [javac] 2 errors


I have installed XSL:P Version 1.0 Beta (19991017). The API documentation
states that for reading from a File via a name the method
xslReader.readStylesheet(String name) shall be used.

The closest method signatures to the second compile failure are the ones that
use either a string as the first two arguments or a document.

So my question is am i using an outdated library or what else is the problem?


View raw message