You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Stephen Carville <st...@totalflood.com> on 2003/01/16 22:41:27 UTC
Building Mod_jk on Redhat 7.2
I am trying to build mod_jk for Apache 1.3.X running on Redhat 7.2.
I downloaded the source, read README.txt set the path to tomcat and
apache in build.properties, typed 'ant', and I am rewarded with:
Buildfile: build.xml
detect:
[echo] -------- jakarta-tomcat-connectors --------
BUILD FAILED
/home/stephen/src/jakarta-tomcat-connectors-jk-1.2.2-src/jk/build.xml:62:
Could not create task of type: condition. Common solutions are to use
taskdef to declare your task, or, if this is an optional task, to put
the optional.jar in the lib directory of your ant installation
(ANT_HOME).
Total time: 0 seconds
I have no idea what the above means or how to fix it.
--
Stephen Carville <st...@totalflood.com>
UNIX and Network Administrator
DPSI
6033 W. Century Blvd, Ste 1075
Los Angeles, CA 90045
310-342-3602
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Building Mod_jk on Redhat 7.2
Posted by Stephen Carville <st...@totalflood.com>.
On Thursday 16 January 2003 01:54 pm, Will Hartung wrote:
> > From: "Stephen Carville" <st...@totalflood.com>
> > Sent: Thursday, January 16, 2003 1:41 PM
> > Subject: Building Mod_jk on Redhat 7.2
> >
> >
> > I am trying to build mod_jk for Apache 1.3.X running on Redhat
> > 7.2. I downloaded the source, read README.txt set the path to
> > tomcat and apache in build.properties, typed 'ant', and I am
> > rewarded with:
> >
> > Buildfile: build.xml
> >
> > detect:
> > [echo] -------- jakarta-tomcat-connectors --------
> >
> > BUILD FAILED
> >
> > /home/stephen/src/jakarta-tomcat-connectors-jk-1.2.2-src/jk/build
> >.xml:62: Could not create task of type: condition. Common
> > solutions are to use taskdef to declare your task, or, if this is
> > an optional task, to put the optional.jar in the lib directory of
> > your ant installation
>
> This looks like you have the wrong version of Ant installed. You
> need the latest (1.5.x as I recall) in order to build the projects.
>
> Try upgrading Ant and let us know what happens.
Well. that got me a little further :-)
Buildfile: build.xml
detect:
[echo] -------- jakarta-tomcat-connectors --------
prepare:
[mkdir] Created dir:
/home/stephen/src/jakarta-tomcat-connectors-jk-1.2.2-src/jk/build
[mkdir] Created dir:
/home/stephen/src/jakarta-tomcat-connectors-jk-1.2.2-src/jk/build/conf
[mkdir] Created dir:
/home/stephen/src/jakarta-tomcat-connectors-jk-1.2.2-src/jk/build/classes
[mkdir] Created dir:
/home/stephen/src/jakarta-tomcat-connectors-jk-1.2.2-src/jk/build/classes/META-INF
[mkdir] Created dir:
/home/stephen/src/jakarta-tomcat-connectors-jk-1.2.2-src/jk/build/lib
[copy] Copying 8 files to
/home/stephen/src/jakarta-tomcat-connectors-jk-1.2.2-src/jk/build/conf
BUILD FAILED
file:/home/stephen/src/jakarta-tomcat-connectors-jk-1.2.2-src/jk/build.xml:105:
Warning: Could not find file
/home/stephen/src/jakarta-tomcat-connectors-jk-1.2.2-src/coyote/build/lib/tomcat-coyote.jar
to copy.
However, I was able to build it from the native directory usig
autocong and make.
--
Stephen Carville <st...@totalflood.com>
UNIX and Network Administrator
DPSI
6033 W. Century Blvd, Ste 1075
Los Angeles, CA 90045
310-342-3602
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Building Mod_jk on Redhat 7.2
Posted by Will Hartung <wi...@msoft.com>.
> From: "Stephen Carville" <st...@totalflood.com>
> Sent: Thursday, January 16, 2003 1:41 PM
> Subject: Building Mod_jk on Redhat 7.2
> I am trying to build mod_jk for Apache 1.3.X running on Redhat 7.2.
> I downloaded the source, read README.txt set the path to tomcat and
> apache in build.properties, typed 'ant', and I am rewarded with:
>
> Buildfile: build.xml
>
> detect:
> [echo] -------- jakarta-tomcat-connectors --------
>
> BUILD FAILED
>
> /home/stephen/src/jakarta-tomcat-connectors-jk-1.2.2-src/jk/build.xml:62:
> Could not create task of type: condition. Common solutions are to use
> taskdef to declare your task, or, if this is an optional task, to put
> the optional.jar in the lib directory of your ant installation
This looks like you have the wrong version of Ant installed. You need the
latest (1.5.x as I recall) in order to build the projects.
Try upgrading Ant and let us know what happens.
Regards,
Will Hartung
(willh@msoft.com)
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>