You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Rafizan Baharum <ud...@umich.edu> on 2000/10/13 13:04:46 UTC
Compilation
hi
is the fopbuildtree(Document doc) bugs fixed? if not ..im applying the hack myself..
im getting build error..i have everything(bsf,xalan,xml,ant..etc etc) in jdk/jre/lib/ext
im using fop014
whats wrong with my build?? thanks..
.u
im getting
Building with classpath C:/jdk1.2.2/lib/ext/;C:/fop-0_14_0/fop-0_14_0/lib
Starting Ant...
Buildfile: build.xml
taskdef class Xslt cannot be found
at org.apache.tools.ant.taskdefs.Taskdef.init(Taskdef.java:86)
at org.apache.tools.ant.ProjectHelper$TaskHandler.init(ProjectHelper.java, Compiled Code)
at org.apache.tools.ant.ProjectHelper$TargetHandler.startElement(ProjectHelper.java, Compiled Code)
at com.sun.xml.parser.Parser.maybeElement(Parser.java:1391)
at com.sun.xml.parser.Parser.content(Parser.java:1499)
at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
at com.sun.xml.parser.Parser.content(Parser.java:1499)
at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
at com.sun.xml.parser.Parser.parse(Parser.java:284)
at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:102)
at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
at org.apache.tools.ant.Main.main(Main.java:107)
BUILD FAILED
build.xml:277: Could not create task of type: xslt because I can't find it in the list of task class definitions
Total time: 2 seconds
Re: Compilation
Posted by Fotis Jannidis <fo...@lrz.uni-muenchen.de>.
The xslt task for ant is missing. It should be in your fop directory in
/lib in the class file Xslt.class
Your classpath entry looks rather strange:
C:/fop-0_14_0/fop-0_14_0/lib
Do you really have your fop directory under a fop directory?
Fotis
> whats wrong with my build?? thanks..
> im getting
> Building with classpath C:/jdk1.2.2/lib/ext/;C:/fop-0_14_0/fop-0_14_0/lib
> Starting Ant...
> Buildfile: build.xml
> taskdef class Xslt cannot be found
> at org.apache.tools.ant.taskdefs.Taskdef.init(Taskdef.java:86)
> at org.apache.tools.ant.ProjectHelper$TaskHandler.init(ProjectHelper.java, Compiled Code)
> at org.apache.tools.ant.ProjectHelper$TargetHandler.startElement(ProjectHelper.java, Compiled Code)
> at com.sun.xml.parser.Parser.maybeElement(Parser.java:1391)
> at com.sun.xml.parser.Parser.content(Parser.java:1499)
> at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
> at com.sun.xml.parser.Parser.content(Parser.java:1499)
> at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
> at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
> at com.sun.xml.parser.Parser.parse(Parser.java:284)
> at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:102)
> at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
> at org.apache.tools.ant.Main.main(Main.java:107)
>
> BUILD FAILED
>
> build.xml:277: Could not create task of type: xslt because I can't find it in the list of task cl
ass definitions
>
> Total time: 2 seconds
>