no. I run this from the command-line shell (bash in this case, but I get the same result when running this from windows command prompt).
-----Original Message----- From: Alexey Solofnenko [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 3:58 PM To: 'Ant Users List' Subject: RE: Access is denied Do you have your program or an IDE like JBuilder running during the build? They can cause the jar file to be locked. - Alexey. -- { http://trelony.cjb.net/ } Alexey N. Solofnenko { http://www.inventigo.com/ } Inventigo LLC Pleasant Hill, CA (GMT-8 usually) -----Original Message----- From: David McTavish [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 12:07 PM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]; David McTavish Subject: RE: Access is denied Actually, I thought about that, and verified that the folders have permission for all access (read/write/execute ie: chmod+777 on all files/directories) . The odd thing is that sometimes the copy process works, and sometimes it doesn't. It leads me to wonder if the jar process is properly releasing its file locks or if ant is really waiting until the jar process finishes before going forward. -----Original Message----- From: Martin Gainty [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 2:57 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Access is denied David The Process (ant) which are using does not have create/write access to the target folder. try chmod on that directory to enable Ant and you both to have create/write access best, Martin Gainty ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relating to the official business of Laconia Data Systems (LDS) is proprietary to the company. It is confidential, legally privileged and protected by law. LDS does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of LDS. The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way. LDS can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference. _____________GMT-5___________________ >From: David McTavish >Reply-To: "Ant Users List" >To: 'Ant Users List' >Subject: Access is denied >Date: Thu, 5 Sep 2002 14:43:59 -0400 >MIME-Version: 1.0 >Received: from nagoya.betaversion.org ([192.18.49.131]) by mc1-f34.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Thu, 5 Sep 2002 11:44:18 -0700 >Received: (qmail 21058 invoked by uid 97); 5 Sep 2002 18:44:38 -0000 >Received: (qmail 21034 invoked by uid 98); 5 Sep 2002 18:44:38 -0000 >Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm >Precedence: bulk >List-Unsubscribe: >List-Subscribe: >List-Help: >List-Post: >List-Id: "Ant Users List" >Delivered-To: mailing list [EMAIL PROTECTED] >X-Antivirus: nagoya (v4218 created Aug 14 2002) >Message-ID: >X-Mailer: Internet Mail Service (5.5.2653.19) >X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N >Return-Path: [EMAIL PROTECTED] >X-OriginalArrivalTime: 05 Sep 2002 18:44:18.0908 (UTC) FILETIME=[3E1139C0:01C2550C] > > > >Has anybody else experienced this message when trying to copy a jar file >that has just recently been built? It's an on-again, off-again problem that >always happens at about the same file, but doesn't happen every time. >Basically, all I'm doing is doing an to another folder to compile and >build dependency code, and then copy the resulting jar file to the local >package lib directory. > >sample ant script: > >project/build.xml > > > > > > >util/build.xml > > > destdir="${target.dir}/${compile.dir}" > debug="on" > classpathref="build.classpath" > deprecation="yes" /> > > > > > jarfile="${target.dir}/${build.dir}/${build.archive}" > basedir="${target.dir}/${compile.dir}"> > > > > > >Also, if you try to manually copy the file using cp or copy, it always >works, even though its seconds after the fact. > > >Environment: >OS: Win2K using Cygwin Bash >Ant version 1.50 (July 9/02) > >-- >To unsubscribe, e-mail: >For additional commands, e-mail: _____ Join the world's largest e-mail service with MSN Hotmail. Click <http://g.msn.com/1HM1ENUS/c157??PI=44364> Here -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
