ant-dev mailing list archives

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

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

The problem:

compile:
    [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/XslpLiaison.java:81:
Method read(java.lang.String) not found in class com.kvisco.xsl.XSLReader.
    [javac]       xslSheet = xslReader.read( fileName );
    [javac]                                ^
    [javac] /home/weigo/java/classes/antx/src/main/org/apache/tools/ant/taskdefs/optional/XslpLiaison.java:85:
Incompatible type for method. Can't convert java.io.FileWriter to java.io.PrintWriter.
    [javac]       processor.process(infile, xslSheet, new FileWriter(outfile));
    [javac]                                           ^
    [javac] 2 errors

BUILD FAILED


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?

regards,
        Dirk

Mime
View raw message