You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Chris Knight <ck...@mail.arc.nasa.gov> on 2001/01/02 18:58:13 UTC

build problem...(org.apache.tools.ant.taskdefs.optional.XalanLiason?)

(I originally sent this to slide-user but I'm unsure whether that was the
write list or not...)

All, I've been unable to build Slide on my system...Below is the error
message I get.  I've searched everywhere and I have no idea where this class
should be coming from...Any hints?  (I've tried building Xalan from source
as well, in the hopes that it would somehow create a XalanLiason class.)

Two other minor comments with regards to the online documentation on
jakarta.apache.org/slide: 1) versioning (and showing those version numbers
in the) documentation would be helpful...I realized after a couple minutes
of personal confusion with regards to valid Domain.xml directives, that I
was looking at newer documentation than what came with the "release".  2)
any possibility of not specifying a width to the documentation?  Many pages
end up with a horizontal scroll bar.  Yeah, these are minor beefs...Ignore
at will. ;)

Anyways, as for my error message:

BUILD FAILED

/export/home/id1/cknight/jakarta-slide/build.xml:147:
java.lang.ClassNotFoundException:
org.apache.tools.ant.taskdefs.optional.XalanLiaison
java.lang.ClassNotFoundException:
org.apache.tools.ant.taskdefs.optional.XalanLiaison
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.setProcessor(XSLTProcess.java
:210)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:133)
        at org.apache.tools.ant.Target.execute(Target.java:142)
        at org.apache.tools.ant.Project.runTarget(Project.java:818)
        at org.apache.tools.ant.Project.executeTarget(Project.java:532)
        at org.apache.tools.ant.Project.executeTargets(Project.java:506)
        at org.apache.tools.ant.Main.runBuild(Main.java:420)
        at org.apache.tools.ant.Main.main(Main.java:149)


Re: build problem...(org.apache.tools.ant.taskdefs.optional.XalanLiason?)

Posted by Remy Maucherat <re...@apache.org>.
> it is in optional.jar from
> http://jakarta.apache.org/builds/jakarta-ant/release/v1.2/bin/
>
> stick it in your jakarta-ant/lib directory

I didn't know it was in the optional package. I'll make the style task
optional in the default build, then.

Remy


Re: build problem...(org.apache.tools.ant.taskdefs.optional.XalanLiason?)

Posted by Jason Harrop <jh...@bigpond.net.au>.
it is in optional.jar from 
http://jakarta.apache.org/builds/jakarta-ant/release/v1.2/bin/

stick it in your jakarta-ant/lib directory

cheers,

jason

Chris Knight wrote:

> (I originally sent this to slide-user but I'm unsure whether that was the
> write list or not...)
> 
> All, I've been unable to build Slide on my system...Below is the error
> message I get.  I've searched everywhere and I have no idea where this class
> should be coming from...Any hints?  (I've tried building Xalan from source
> as well, in the hopes that it would somehow create a XalanLiason class.)
> 
> Two other minor comments with regards to the online documentation on
> jakarta.apache.org/slide: 1) versioning (and showing those version numbers
> in the) documentation would be helpful...I realized after a couple minutes
> of personal confusion with regards to valid Domain.xml directives, that I
> was looking at newer documentation than what came with the "release".  2)
> any possibility of not specifying a width to the documentation?  Many pages
> end up with a horizontal scroll bar.  Yeah, these are minor beefs...Ignore
> at will. ;)
> 
> Anyways, as for my error message:
> 
> BUILD FAILED
> 
> /export/home/id1/cknight/jakarta-slide/build.xml:147:
> java.lang.ClassNotFoundException:
> org.apache.tools.ant.taskdefs.optional.XalanLiaison
> java.lang.ClassNotFoundException:
> org.apache.tools.ant.taskdefs.optional.XalanLiaison
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:120)
>         at
> org.apache.tools.ant.taskdefs.XSLTProcess.setProcessor(XSLTProcess.java
> :210)
>         at
> org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:133)
>         at org.apache.tools.ant.Target.execute(Target.java:142)
>         at org.apache.tools.ant.Project.runTarget(Project.java:818)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:532)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:506)
>         at org.apache.tools.ant.Main.runBuild(Main.java:420)
>         at org.apache.tools.ant.Main.main(Main.java:149)