Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 45967 invoked from network); 2 Nov 2007 11:47:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Nov 2007 11:47:20 -0000 Received: (qmail 95962 invoked by uid 500); 2 Nov 2007 11:47:00 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 95844 invoked by uid 500); 2 Nov 2007 11:47:00 -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 95773 invoked by uid 99); 2 Nov 2007 11:46:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 04:46:59 -0700 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [192.6.10.60] (HELO tobor.hpl.hp.com) (192.6.10.60) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 11:46:59 +0000 Received: from localhost (localhost [127.0.0.1]) by tobor.hpl.hp.com (Postfix) with ESMTP id 23585B7B51 for ; Fri, 2 Nov 2007 11:46:38 +0000 (GMT) X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com Received: from tobor.hpl.hp.com ([127.0.0.1]) by localhost (tobor.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oSN3VZ5leY0c for ; Fri, 2 Nov 2007 11:46:36 +0000 (GMT) Received: from ha-node-br3.hpl.hp.com (ha-node-br3.hpl.hp.com [16.25.144.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tobor.hpl.hp.com (Postfix) with ESMTPS id 7316DB7B4F for ; Fri, 2 Nov 2007 11:46:36 +0000 (GMT) Received: from [16.25.171.118] ([16.25.171.118]) by ha-node-br2.hpl.hp.com (8.14.1/8.13.4) with ESMTP id lA2B4FbV021713 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 2 Nov 2007 11:04:16 GMT Message-ID: <472B042F.9070202@apache.org> Date: Fri, 02 Nov 2007 11:04:15 +0000 From: Steve Loughran User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: Ant Users List Subject: Re: deploy task to Tomcat partially works References: <47289279.2040403@apache.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org Rob Wilson wrote: > Hi Steve, > > Thank you for the tips, for some strange reason the file never gets > created?! I have included verbose in the copy task, with the output I > copied+paste the source file and destination dir into explorer to confirm > the source file and destination directory exists... > > I assume it's because of the c:/program files bit? - I also have drive E on > my machine, if I remove c: it copies to e:/Program Files/Apache Software > Foundation/Tomcat 5.5/webapps ok. So whats the format to force it to go to > c:.... ? > > Cheers, > Rob. > > 1. You could change that to and then out the values to see what path Ant is thinking of here. 2. Try using c:\program files\apache software foundation\tomcat 5.5\webapps instead of forward slashes > > > file="${warfile}" > > failonerror="yes" > > overwrite="yes" > > verbose="yes"/> looks good to me. -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org