Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 51380 invoked from network); 14 Jun 2007 10:46:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jun 2007 10:46:54 -0000 Received: (qmail 61020 invoked by uid 500); 14 Jun 2007 10:46:52 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 60989 invoked by uid 500); 14 Jun 2007 10:46:52 -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 60978 invoked by uid 99); 14 Jun 2007 10:46:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 03:46:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [80.76.149.213] (HELO ch-smtp02.sth.basefarm.net) (80.76.149.213) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 03:46:48 -0700 Received: from c213-89-102-190.bredband.comhem.se ([213.89.102.190]:33620 helo=[192.168.0.2]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.66) (envelope-from ) id 1HymqQ-0007vB-9D for user@ant.apache.org; Thu, 14 Jun 2007 12:46:27 +0200 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <11114377.post@talk.nabble.com> References: <11114377.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <17D6AB8F-41BA-4078-A9B0-5A84E00BE1B2@comhem.se> Content-Transfer-Encoding: 7bit From: Tommy Nordgren Subject: Re: ANT - copy file to network drive Date: Thu, 14 Jun 2007 12:46:24 +0200 To: "Ant Users List" X-Mailer: Apple Mail (2.752.2) X-Originating-IP: 213.89.102.190 X-Scan-Result: No virus found in message 1HymqQ-0007vB-9D. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1HymqQ-0007vB-9D fe6bf13865e4730a559d3b017cb7253e X-Virus-Checked: Checked by ClamAV on apache.org On 14 jun 2007, at 08.00, sarancse wrote: > > Hi > I am trying to copy my war file from local drive[Windows] to network > drive[Linux] using my ANT script. > My network drive path is \\\\\\usr\\local\\java\\jboss-4.2.0-GA > I got "the network path was not found" error. > Please help on this. > -- > View this message in context: http://www.nabble.com/ANT---copy-file- > to-network-drive-tf3919812.html#a11114377 > Sent from the Ant - Users mailing list archive at Nabble.com. 1. There are far too many backslashes between each path segment. In ant properties you should use a single backslash between each path segment. 2. The access paths to file or directories will be different locally on your linux can, and remotely on your windows can. 3. I suggest writing a small windows app to choose a file with a standard dialog, and print it's full path. Then, from your windows can, select a file in the directory you want, and you will SEE what path you need to use. ------------------------------------- This sig is dedicated to the advancement of Nuclear Power Tommy Nordgren tommy.nordgren@comhem.se --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org