Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 73935 invoked by uid 500); 13 Apr 2001 00:16:19 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 73906 invoked from network); 13 Apr 2001 00:16:19 -0000 Sender: dcorbin Message-ID: <3AD60B70.AED9E9FE@imperitek.com> Date: Thu, 12 Apr 2001 16:09:20 -0400 From: David Corbin Organization: Mach Turtle Technologies X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Re: Delete fails... References: <007501c0c353$3fe3a7c0$75c03b81@oas.vanderbilt.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-via: mars.corsol.atlanta.ga.us X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Your idea makes sense, but that's not it... Brian Murray wrote: > > Could be a couple of simple causes which I've discovered by beating my head > against a wall: > 1. Command prompt window open with the current directory == ${archive} (or > one of its subdirs) > 2. Windows explorer open and the currently selected folder == ${archive} > > Point 2 doesn't seem to happen consistently, but it does happen to me > occasionally. > > ----- Original Message ----- > From: > To: > Sent: Wednesday, April 11, 2001 11:30 AM > Subject: Delete fails... > > > I've the following ANT script: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm getting the following result: > > > > Buildfile: build.xml > > > > clean: > > [delete] Deleting directory > C:\data\Source\CMS\ThirdParty\junit\junit3.5 > > > > BUILD FAILED > > > > C:\data\Source\CMS\ThirdParty\junit\build.xml:15: Unable to delete file > > C:\data\Source\CMS\ThirdParty\junit\junit3.5\junit.jar > > > > > > ATTRIB shows that the file is not readonly: > > C:\data\Source\CMS\ThirdParty\junit>attrib junit3.5\* > > C:\data\Source\CMS\ThirdParty\junit\junit3.5\junit.jar > > A C:\data\Source\CMS\ThirdParty\junit\junit3.5\README.html > > A C:\data\Source\CMS\ThirdParty\junit\junit3.5\src.jar > > > > This seems to work fine on Linux, and fail on Windows 2000. Any ideas? > > > > -- David Corbin dcorbin@imperitek.com