Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 53734 invoked from network); 24 Mar 2003 22:17:03 -0000 Received: from auds952.usa.alcatel.com (143.209.238.7) by daedalus.apache.org with SMTP; 24 Mar 2003 22:17:03 -0000 Received: from alcatel.com (localhost [127.0.0.1]) by auds952.usa.alcatel.com (8.12.8/8.12.8) with ESMTP id h2OMH9wM009260 for ; Mon, 24 Mar 2003 16:17:09 -0600 (CST) Message-ID: <3E7F83DF.1B870060@alcatel.com> Date: Mon, 24 Mar 2003 16:17:03 -0600 From: Sebastien Blanc Organization: Alcatel USA X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Ant Users List Subject: Re: ftp task failing please help References: <2C09BFA69918D411BEC100A0C9EA419413E741F6@mbs-mail-08.mortgagesvcs.com> <3E7F81D3.C53E6A41@alcatel.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N just did the test: will only work until the jar is in the CLASSPATH of ur ANT JVM. either u have a custom startup script, either u did not position ANT_HOME (I guess not), or watever else. anyways I was getting the same error as u until I installed the jar file under ANT_HOME/lib to get: file:c:/Data/EJB/com/alcatel/gem/ejb/build.xml:574: The task doesn't support the nested "description" element. which is correct according the doc. seb. Sebastien Blanc wrote: > add the net jar in the classpath of ur ant startup script I guess. > seb. > > "Gundapu, Srinivasa (MBS)" wrote: > > > I did that already. They are in the classpath. You can find them if you look > > at the build script. They are added to the classpath. > > > > -----Original Message----- > > From: Lee, Michael.M [mailto:Michael.M.Lee@westgroup.com] > > Sent: Monday, March 24, 2003 4:45 PM > > To: 'Ant Users List' > > Subject: RE: ftp task failing please help > > > > You have to install optional library. > > go here > > http://www.savarese.org/oro/downloads/index.html#NetComponents > > > > and download NetComponents-1.3.8.zip file, and unzip the jar file into your > > ant lib directory. > > > > -----Original Message----- > > From: Gundapu, Srinivasa (MBS) > > [mailto:Srinivasa.Gundapu@mortgagefamily.com] > > Sent: Monday, March 24, 2003 3:36 PM > > To: 'Ant Users List' > > Subject: RE: ftp task failing please help > > > > Below is the error that was thrown up onto the console. > > > > ********************************* > > H:\Projects\DoradoRates>ant > > Buildfile: build.xml > > > > prepare: > > > > compile: > > > > package: > > > > deploy8040: > > > > BUILD FAILED > > file:///H:/Projects/DoradoRates/build.xml:35: Could not create task or type > > of type: ftp. > > > > Ant could not find the task or a class this task relies upon. > > > > This is common and has a number of causes; the usual > > solutions are to read the manual pages then download and > > install needed JAR files, or fix the build file: > > - You have misspelt 'ftp'. > > Fix: check your spelling. > > - The task needs an external JAR file to execute > > and this is not found at the right place in the classpath. > > Fix: check the documentation for dependencies. > > Fix: declare the task. > > - The task is an Ant optional task and optional.jar is absent > > Fix: look for optional.jar in ANT_HOME/lib, download if needed > > - The task was not built into optional.jar as dependent > > libraries were not found at build time. > > Fix: look in the JAR to verify, then rebuild with the needed > > libraries, or download a release version from apache.org > > - The build file was written for a later version of Ant > > Fix: upgrade to at least the latest release version of Ant > > - The task is not an Ant core or optional task > > and needs to be declared using . > > > > Remember that for JAR files to be visible to Ant tasks implemented > > in ANT_HOME/lib, the files must be in the same directory or on the > > classpath > > > > Please neither file bug reports on this problem, nor email the > > Ant mailing lists, until all of these causes have been explored, > > as this is not an Ant bug. > > > > Total time: 5 seconds > > H:\Projects\DoradoRates> > > > > -----Original Message----- > > From: Sebastien Blanc [mailto:Sebastien.Blanc@alcatel.com] > > Sent: Monday, March 24, 2003 4:32 PM > > To: Ant Users List > > Subject: Re: ftp task failing please help > > > > just joking; u gave the login/passwd of ur ftp server in ur previous email. > > I do > > hope for u it's an intranet srv. > > did u try turning on the verbose mode both on ant and the ftp task ? wat's > > the > > error thrown, do u get any stack ? > > seb. > > > > "Gundapu, Srinivasa (MBS)" wrote: > > > > > The ldevapp01(name of the server) is the name of the server. Is that not > > > enough when I run the build script in an intranet. > > > > > > -----Original Message----- > > > From: Sebastien Blanc [mailto:Sebastien.Blanc@alcatel.com] > > > Sent: Monday, March 24, 2003 4:04 PM > > > To: Ant Users List > > > Subject: Re: ftp task failing please help > > > > > > wat's the IP of ur ftp srv ;-? > > > > > > "Gundapu, Srinivasa (MBS)" wrote: > > > > > > > Hello Guys, > > > > > > > > I need your help. the target name deploy8040 is failing. Because of > > this, > > > I > > > > am not able to continue with the build process. Please guide me what is > > > > wrong. I kep kept the ANT_HOME/bin;ANT_HOME/lib; in the the System > > > > environment varible PATH.I still the get the probolem with ant. I also > > > kept > > > > optional.jar, NetComponets.jar and other jar that are mentioned in the > > > > dependencies are also in the classpath as you see the build file shown > > > > below. > > > > Please help me overcome this problem. The build file is pasted below for > > > > reference. > > > > > > > > > > > > > > > > > > > > > /> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > value="${java_home}/lib/classes.zip:${libs}/optional.jar:${libs}/NetComponen > > > > ts.jar"/> > > > > > > > > > > > > value="${java_home}/lib/tools.jar:${wls_home}/lib/weblogic_sp.jar:${wls_home > > > > }/lib/weblogic.jar"/> > > > > > > > > > > > > value="${ant_libs}/activation.jar:${ant_libs}/bcel.jar:${ant_libs}/bsf.jar:$ > > > > > > > > > {ant_libs}/jakarta-oro-2.0.6.jar:${ant_libs}/jakarta-regexp-1.2.jar:${ant_li > > > > > > > > > bs}/jdepend.jar:${ant_libs}/junit.jar:${ant_libs}/mail.jar:${ant_libs}/NetCo > > > > > > > > > mponents.jar:${ant_libs}/NetRexxC.jar:${ant_libs}/NetRexxR.jar:${ant_libs}/o > > > > > > > > > ptional.jar:${ant_libs}/xalan.jar:${ant_libs}/xerces.jar:${ant_libs}/xml4j.j > > > > ar" /> > > > > > > > > > > > > value="${ant_classpath}:${wls_classpath}:${java_classpath}:${dist}/${project > > > > }_patch.jar"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > classpath="H:/cendant/patch_1.2.070.jar" /> > > > > > > > > > > > > > > > > > > > basedir="${build}" /> > > > > > > > > > > > > > > > userid="gundaps" > > > > password="0201gsr" > > > > > > > > > > > > > remotedir="/landscape/users/gundaps/wlserver6.1/config/CMEnt/production_apps > > > > /MYPATCH" > > > > depends="yes" > > > > binary="yes" > > > > > connected to server > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thanks, > > > > Srinivasa Gundapu > > > > > > > > --------------------------------------------------------------------- > > > > 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 > > > > --------------------------------------------------------------------- > > 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 > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > For additional commands, e-mail: user-help@ant.apache.org