ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: build problems task class definitions...
Date Wed, 06 Dec 2000 04:55:06 GMT
You have an older version of Ant -- the <copy> task was submitted in
October, and replaced the <copyfile> and <copydir> tasks. Pick up a later
version of Ant -- either the 1.2 release (I'm pretty sure all the copy
re-work was included in the release), or a recent nightly build.

Diane

--- Aleksandar Kacanski <sasha@phone2networks.com> wrote:
> Hi,
> We have development server where lates tomcat stable installation works
> fine.
> I setup a production server with the same installation
> (tomcat3.2.6/ant1.2/apache1.3.14.,mod_jk)
> tomcat is working fine with apache and services servlets just fine.
> Proble I have is that I recreated build system on the production server
> to compile and build classes, but any attemt to build project fails with
> the error:
> Buildfile: build.xml
> 
> BUILD FAILED
> 
> build.xml:74: Could not create task of type: copy because I can't find
> it in the list of task class definitions
> 
> Total time: 0 seconds
> 
> I saw some other people had a same problem but everything I tried, did
> not help me so far.
> Could anyone point me to symtom of this error.
> examples of the resources files follow:
> PATH="$PATH:/opt/jdk1.2.2/bin:/opt/jakarta-ant/bin:/opt/tomcat3.2.6/bin"
> 
> TOMCAT_HOME=/opt/tomcat3.2.6
> JAVA_HOME=/opt/jdk1.2.2
> ANT_HOME=/opt/jakarta-ant
> XML_HOME=/usr/local/xml
> 
> CLASSPATH="$TOMCAT_HOME/lib/PerlTools.jar:
> $TOMCAT_HOME/lib/servlet.jar:
> $JAVA_HOME/lib/tools.jar:
> $ANT_HOME/lib/parser.jar:
> $ANT_HOME/lib/jaxp.jar:
> $ANT_HOME/lib/ant.jar:
> $XML_HOME/xerces.jar:
> $XML_HOME/xml4j.jar"
> 
> export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC CLASSPATH
> TOMCAT_HOME JAVA_HOME ANT_HOME XML_HOME
> 
> thanks
> /s
> 
> --
> 
> Occupation: Strategic Technical Planning and Advanced Infrastructure
> Development
> Employer: Phone2Networks
> Status: Almost there ...
> Hobbies: Jogging (when?!), reading, music (dance/trans), sleep
> deprivation
> Currently reading: Foucault's Pendulum by Umerto Eco
> Evaluation: Mostly Harmless
> --------------------------------------------------------------------
> 
> 
> 


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

Mime
View raw message