If you're using a binary distribution of Ant 1.1 or 1.2, you need to add
the "optional.jar" file from Ant to your classpath.  If you build Ant
from source, you have to make sure that Xerces and Xalan are visible on
the classpath so that Ant will compile in the <style> task.

Craig


Ron Bolin wrote:

> I am making my first attempt at building jakarta-struts from
> 11-09-2000 CVS source.
>
> Setup
> ------
> To build struts I first downloaded Ant 1.1 and 1.2 distribution,
> servletapi source,
> tomcat source and the tools distribution. I also used Xalan 1.x and
> 2.0 and Sun Jaxp 1.0.1
> where necessary.
>
> I built the servletapi and tomcat successfully, however when I tried
> to build struts
> I got the following error:
>
> Searching for build.xml ...
> Buildfile: /home1/src/tomcat/tmp/jakarta-struts/build.xml
>
> prepare.library:
>
> compile.library:
>     [style] Transforming into
> /home1/src/tomcat/tmp/build/struts/library
>
> BUILD FAILED
>
> /home1/src/tomcat/tmp/jakarta-struts/build.xml:108:
> java.lang.ClassNotFoundException:
> org.apache.tools.ant.taskdefs.optional.XalanLiaison
>
> I checked the tools and ant distribution for "optional.XalanLiaison"
> but could
> not find the class.
>
> I looked at Ant 1.1 and 1.2 as well as xalan 1.x and 2.X, but could
> not find this class.
> If you know where this class resides, please advise.
>
> Thanks
>
> Ron
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to