You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Ron Bolin <rb...@issl.atl.hp.com> on 2000/11/10 13:23:08 UTC

Re: Struts Build Problems from 11-09-2000 CVS Source

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

Re: Struts Build Problems from 11-09-2000 CVS Source

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
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: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org