Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 50990 invoked from network); 9 Aug 2005 10:04:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Aug 2005 10:04:55 -0000 Received: (qmail 64497 invoked by uid 500); 9 Aug 2005 10:04:47 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 64439 invoked by uid 500); 9 Aug 2005 10:04:45 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 64425 invoked by uid 99); 9 Aug 2005 10:04:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2005 03:04:45 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_HELO_FAIL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of BYROMCA@uk.ibm.com designates 195.212.29.135 as permitted sender) Received: from [195.212.29.135] (HELO mtagate2.uk.ibm.com) (195.212.29.135) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2005 03:05:06 -0700 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate2.uk.ibm.com (8.12.10/8.12.10) with ESMTP id j79A4fSk320000 for ; Tue, 9 Aug 2005 10:04:41 GMT Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1407.portsmouth.uk.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j79A4fbo278366 for ; Tue, 9 Aug 2005 11:04:41 +0100 Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.12.11/8.13.3) with ESMTP id j7998jdb024919 for ; Tue, 9 Aug 2005 10:08:45 +0100 Received: from d06ml066.portsmouth.uk.ibm.com (d06ml066.portsmouth.uk.ibm.com [9.149.38.139]) by d06av04.portsmouth.uk.ibm.com (8.12.11/8.12.11) with ESMTP id j7998jRQ024911 for ; Tue, 9 Aug 2005 10:08:45 +0100 In-Reply-To: <200507291950.j6TJoocH028675@barrierb241.nike.com> Subject: RE: Cannot get FTP to get/list files on RHEL3 machine To: "Ant Users List" X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: From: Calum Byrom Date: Tue, 9 Aug 2005 11:04:39 +0100 X-MIMETrack: Serialize by Router on D06ML066/06/M/IBM(Release 6.53HF247 | January 6, 2005) at 09/08/2005 11:04:40 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for the response, Rob (sorry, been on holiday for the last week). Have uninstalled an existing version and this hasn't fixed the problem. The install may be causing the problem, though, since I didn't use rpm to install ANT - I just copied over an existing install that worked on another machine. I initially tried to install ant-1.6.2-3jpp.noarch.rpm (from http://www.jpackage.org/rpm.php?id=18 - using rpm -iv ant...) but this had too many nested dependencies so gave up after a while and just copied over the relevant files directly (this process worked fine on another machine). Is there an easy way to do a clean install with all the necessary dependencies? NB, I also need to use commons-net-1.2.2.jar and jakarta-oro-2.0.7.jar to access the required FTP functionality. If you could provide me with any further detail, it would be greatly appreciated. Cheers, Calum. ------------------------------------------------------------------------- Dr Calum Byrom Sun Certified Java Programmer WebSphere ESB Test IBM Hursley MP211, Hursley Park, Winchester, SO21 2JN, UK Tel/Fax: +44 1962 815483 Internal: 245483 "Anderson, Rob (Global Trade)" "Ant Users List" 29/07/2005 20:50 cc Subject Please respond to RE: Cannot get FTP to get/list "Ant Users List" files on RHEL3 machine I seem to recal some discussion about Ant on Red Hat. There may be a version of Ant installed as an RPM, that came with the distro, which for some reason is conflicting with the Ant installation that you think you are using. If you do find an Ant RPM installed, uninstall it and you should be fine. Search the list archives and you may find more info about Red Hat and Ant. -Rob A > -----Original Message----- > From: Calum Byrom [mailto:BYROMCA@uk.ibm.com] > Sent: Friday, July 29, 2005 8:40 AM > To: user@ant.apache.org > Subject: Fw: Cannot get FTP to get/list files on RHEL3 machine > > > > > > > Hi, > I'm having problems getting my ANT build to transfer files > from a remote > system to my RHEL3 box. This works fine on my WindowsXP and > SuSE9 machines > - using the following: > > > server="${server}" > userid="${userID}" remotedir="${sourceDir}"> > > > > > > > Running in verbose mode, gives the following output (on the > RH machine): > > [ftp] Opening FTP connection to > [ftp] connected > [ftp] logging in to FTP server > [ftp] login succeeded > [ftp] changing the remote directory > [ftp] getting files > Could not load a dependent class > (com/sun/media/jai/codec/FileSeekableStream) for type image > Could not load a dependent class (com/jcraft/jsch/UserInfo) for type > sshexec > Could not load a dependent class (com/jcraft/jsch/UserInfo) > for type scp > Could not load class > (org.apache.tools.ant.tasksdefs.cvslib.CvsVersion) for > type cvsversion > Could not load a dependent class (jdepend/xmlui/JDepend) for > type jdepend > Could not load a dependent class > (junit/framework/TestListener) for type > junit > fileset: Setup scanner in dir /root/build with patternSet{ includes: > [**/mantis.zip] excludes: [] } > [ftp] 0 files retrieved > [ftp] disconnecting > [antcall] Exiting /root/build.xml. > > - and similarly running a 'list' request - with a '**' > wildcard to try and > pick up anything also results in '0 files listed'. It seems that > everything works up to the point where the script is trying > to detect the > remote files (i.e. the login and change dirs) - it then just > fails to spot > the relevant files. I've played around with the access > permissions here > and it doesn't seem to make a difference. Additionally, the > same missing > dependencies show up in the other machine builds, but the ftp > still works, > so I don't think these are the source of the problem. I also > copied over > all the ANT files between the different machines and they > still work fine > on XP and SLES9 - but not RHEL. > > This is driving me up the wall, so if anyone can provide any > help here, it > will be much appreciated. > > Thanks, > > Calum. > > PS, if it's any help, here's the output using the diagnostic option: > > ant -diagnostics > ------- Ant diagnostics report ------- > Apache Ant version 1.6.2 compiled on July 16 2004 > > ------------------------------------------- > Implementation Version (JDK1.2+ only) > ------------------------------------------- > core tasks : 1.6.2 > optional tasks : 1.6.2 > > ------------------------------------------- > ANT_HOME/lib jar listing > ------------------------------------------- > ant.home: /usr/local/apache-ant-1.6.2 > commons-net-1.2.2.jar (153280 bytes) > ant-jai.jar (21351 bytes) > ant-antlr.jar (5659 bytes) > ant-starteam.jar (35463 bytes) > ant-icontract.jar (9713 bytes) > ant-jdepend.jar (8152 bytes) > ant-apache-oro.jar (48015 bytes) > ant-trax.jar (68833 bytes) > ant-apache-regexp.jar (3706 bytes) > ant-jmf.jar (6596 bytes) > ant-jsch.jar (22604 bytes) > ant-apache-bsf.jar (12589 bytes) > ant-netrexx.jar (9990 bytes) > ant-swing.jar (6755 bytes) > xercesImpl.jar (1010675 bytes) > ant-apache-bcel.jar (8609 bytes) > ant-stylebook.jar (2320 bytes) > ant-javamail.jar (6753 bytes) > ant-junit.jar (73665 bytes) > ant-xalan1.jar (4457 bytes) > ant-commons-net.jar (35242 bytes) > ant-commons-logging.jar (3856 bytes) > ant-weblogic.jar (14355 bytes) > ant-apache-log4j.jar (3014 bytes) > ant.jar (999966 bytes) > xml-apis.jar (124724 bytes) > jakarta-oro-2.0.7.jar (65425 bytes) > ant-vaj.jar (48623 bytes) > ant-xslp.jar (2236 bytes) > ant-nodeps.jar (407573 bytes) > ant-launcher.jar (8673 bytes) > ant-apache-resolver.jar (4073 bytes) > > ------------------------------------------- > Tasks availability > ------------------------------------------- > image : Missing dependency com.sun.media.jai.codec.FileSeekableStream > sshexec : Missing dependency com.jcraft.jsch.UserInfo > scp : Missing dependency com.jcraft.jsch.UserInfo > cvsversion : Not Available > jdepend : Missing dependency jdepend.xmlui.JDepend > junit : Missing dependency junit.framework.TestListener > > ------------------------------------------- > org.apache.env.Which diagnostics > ------------------------------------------- > Not available. > Download it at http://xml.apache.org/commons/ > > ------------------------------------------- > XML Parser information > ------------------------------------------- > XML Parser : org.apache.xerces.jaxp.SAXParserImpl > XML Parser Location: /root/tmp/java/jre/lib/xml.jar > > ------------------------------------------- > System properties > ------------------------------------------- > java.assistive : ON > java.runtime.name : Java(TM) 2 Runtime Environment, Standard Edition > sun.boot.library.path : /root/tmp/java/bin/../jre/bin > java.vm.version : 1.4.2 > ant.library.dir : /usr/local/apache-ant-1.6.2/lib > java.vm.vendor : IBM Corporation > java.vendor.url : http://www.ibm.com/ > path.separator : : > java.vm.name : Classic VM > file.encoding.pkg : sun.io > user.country : GB > sun.os.patch.level : unknown > java.vm.specification.name : Java Virtual Machine Specification > user.dir : /root > java.runtime.version : 1.4.2 > java.fullversion : J2RE 1.4.2 IBM build cxia32142sr1a-20050209 (JIT > enabled: jitc) > java.awt.graphicsenv : sun.awt.X11GraphicsEnvironment > java.endorsed.dirs : /root/tmp/java/bin/../jre/lib/endorsed > os.arch : x86 > com.ibm.vm.bitmode : 32 > java.io.tmpdir : /tmp > line.separator : > > java.vm.specification.vendor : Sun Microsystems Inc. > java.awt.fonts : > os.name : Linux > ant.home : /usr/local/apache-ant-1.6.2 > sun.java2d.fontpath : > java.library.path : > /root/tmp/java/bin/../jre/bin:/root/tmp/java/jre/bin/classic > :/root/tmp/java/jre/bin:/usr/lib > java.specification.name : Java Platform API Specification > java.class.version : 48.0 > ibm.system.encoding : UTF-8 > invokedviajava : > java.util.prefs.PreferencesFactory : > java.util.prefs.FileSystemPreferencesFactory > os.version : 2.4.21-15.EL > user.home : /root > user.timezone : Europe/London > java.awt.printerjob : sun.print.PSPrinterJob > file.encoding : UTF-8 > java.specification.version : 1.4 > java.class.path : /usr/local/apache-ant-1.6.2 > /lib/ant-launcher.jar:/usr/local/ap > ache-ant-1.6.2/lib/commons-net-1.2.2.jar:/usr/local/apache-ant-1.6.2 > /lib/ant-jai > .jar:/usr/local/apache-ant-1.6.2 > /lib/ant-antlr.jar:/usr/local/apache-ant-1.6.2/l > ib/ant-starteam.jar:/usr/local/apache-ant-1.6.2 > /lib/ant-icontract.jar:/usr/local > /apache-ant-1.6.2/lib/ant-jdepend.jar:/usr/local/apache-ant-1.6.2 > /lib/ant-apache > -oro.jar:/usr/local/apache-ant-1.6.2 > /lib/ant-trax.jar:/usr/local/apache-ant-1.6. > 2/lib/ant-apache-regexp.jar:/usr/local/apache-ant-1.6.2 > /lib/ant-jmf.jar:/usr/loc > al/apache-ant-1.6.2/lib/ant-jsch.jar:/usr/local/apache-ant-1.6.2 > /lib/ant-apache- > bsf.jar:/usr/local/apache-ant-1.6.2 > /lib/ant-netrexx.jar:/usr/local/apache-ant-1. > 6.2/lib/ant-swing.jar:/usr/local/apache-ant-1.6.2 > /lib/xercesImpl.jar:/usr/local/ > apache-ant-1.6.2/lib/ant-apache-bcel.jar:/usr/local/apache-ant-1.6.2 > /lib/ant-sty > lebook.jar:/usr/local/apache-ant-1.6.2 > /lib/ant-javamail.jar:/usr/local/apache-an > t-1.6.2/lib/ant-junit.jar:/usr/local/apache-ant-1.6.2 > /lib/ant-xalan1.jar:/usr/lo > cal/apache-ant-1.6.2/lib/ant-commons-net.jar:/usr/local/apache > -ant-1.6.2 > /lib/ant > -commons-logging.jar:/usr/local/apache-ant-1.6.2 > /lib/ant-weblogic.jar:/usr/local > /apache-ant-1.6.2/lib/ant-apache-log4j.jar:/usr/local/apache-ant-1.6.2 > /lib/ant.j > ar:/usr/local/apache-ant-1.6.2/lib/xml-apis.jar:/usr/local/apa > che-ant-1.6.2 > /lib/ > jakarta-oro-2.0.7.jar:/usr/local/apache-ant-1.6.2 > /lib/ant-vaj.jar:/usr/local/apa > che-ant-1.6.2/lib/ant-xslp.jar:/usr/local/apache-ant-1.6.2 > /lib/ant-nodeps.jar:/u > sr/local/apache-ant-1.6.2/lib/ant-launcher.jar:/usr/local/apac > he-ant-1.6.2 > /lib/a > nt-apache-resolver.jar:/root/tmp/java/bin/../lib/tools.jar > user.name : root > java.vm.specification.version : 1.0 > java.home : /root/tmp/java/bin/../jre > sun.arch.data.model : 32 > user.language : en > java.specification.vendor : Sun Microsystems Inc. > java.vm.info : J2RE 1.4.2 IBM build cxia32142sr1a-20050209 > (JIT enabled: > jitc) > java.version : 1.4.2 > java.ext.dirs : /root/tmp/java/bin/../jre/lib/ext > sun.boot.class.path : > /root/tmp/java/bin/../jre/lib/core.jar:/root/tmp/java/bin/ > ../jre/lib/graphics.jar:/root/tmp/java/bin/../jre/lib/security > .jar:/root/tmp/jav > a/bin/../jre/lib/server.jar:/root/tmp/java/bin/../jre/lib/xml. > jar:/root/tmp/java > /bin/../jre/lib/charsets.jar:/root/tmp/java/bin/../jre/lib/ibm > orbapi.jar:/root/t > mp/java/bin/../jre/lib/ibmorb.jar:/root/tmp/java/bin/../jre/li > b/ibmjsseprovider. > jar:/root/tmp/java/bin/../jre/lib/ibmjssefips.jar:/root/tmp/ja > va/bin/../jre/lib/ > ibmcertpathprovider.jar:/root/tmp/java/bin/../jre/lib/ibmjcefw > .jar:/root/tmp/jav > a/bin/../jre/lib/ibmjgssprovider.jar:/root/tmp/java/bin/../jre > /lib/ibmpkcs.jar:/ > root/tmp/java/bin/../jre/lib/ibmjaaslm.jar > java.vendor : IBM Corporation > file.separator : / > java.vendor.url.bug : > java.compiler : jitc > sun.io.unicode.encoding : UnicodeLittle > > > --------------------------------------------------------------------- > 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