ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "michael ramati" <rama...@bgumail.bgu.ac.il>
Subject SOS
Date Mon, 10 Nov 2003 10:32:18 GMT
can somebody please instruct me on the matter below?
the problem is i do not know of any exernal jars that
should probably be referenced from a taskdef element
in a targets.xml file. i am just trying to compile simple
examples from http://java.sun.com/webservices/tutorial.html,
and after typing 'ant' i get messages like the following:
    BUILD FAILED
    file:C:/jwstutorial13/examples/jaxrpc/common/targets.xml:30: taskdef
class
    org.apache.catalina.ant.DeployTask cannot be found
thanks.

----- Original Message ----- 
From: "michael ramati" <ramatim@bgumail.bgu.ac.il>
To: "Ant Users List" <user@ant.apache.org>
Sent: Sunday, November 09, 2003 17:47
Subject: Re: taskdef class cannot be found


> hi there,
> thank you antoine for detailed and patient answer.
> indeed, i was aware to the classpath issue, but i
> knew nothing about any external jars that i use,
> except those that are already in $ant_home/lib.
> again, i work according to the instructions in
> The Java Web Services Tutorial.
> appreciate your kind help.
>
>
> ----- Original Message ----- 
> From: "Antoine L?vy-Lambert" <antoine@antbuild.com>
> To: "Ant Users List" <user@ant.apache.org>
> Sent: Saturday, November 08, 2003 19:11
> Subject: AW: taskdef class cannot be found
>
>
> > Hi Michael,
> >
> > this sounds like a classpath issue.
> >
> > Have a look at the definition of the taskdef task in the ant manual (
> > http://ant.apache.org/manual/CoreTasks/taskdef.html )
> >
> > You will see that the taskdef task can have a nested element
<classpath/>
> .
> > this one should contain the path(s) to the jar(s) containing for
instance
> in
> > this case org.apache.catalina.ant.DeployTask
> >
> > Alternatively, you can set your CLASSPATH environment variable to
include
> > all the jars which you are going to use and which are not part of the
ant
> > distribution.
> >
> > You can also copy to $ANT_HOME/lib these external jars, but then you
will
> > soon have a jar supermarket in this directory.
> >
> > Cheers,
> >
> > Antoine
> >
> > -----Urspr?ngliche Nachricht-----
> > Von: michael ramati [mailto:ramatim@bgumail.bgu.ac.il]
> > Gesendet: Freitag, 7. November 2003 22:08
> > An: user@ant.apache.org
> > Betreff: taskdef class cannot be found
> >
> >
> > hi,
> > i get the following message after typing 'ant':
> >
> > BUILD FAILED
> > file:C:/jwstutorial13/examples/jaxrpc/common/targets.xml:30: taskdef
class
> > org.apache.catalina.ant.DeployTask cannot be found
> >
> > i get similar messages for different projects in The Java Web Services
> > Tutorial.
> > thanks in advance.
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message