Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 92285 invoked from network); 18 Aug 2009 15:21:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Aug 2009 15:21:20 -0000 Received: (qmail 7775 invoked by uid 500); 18 Aug 2009 15:21:38 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 7722 invoked by uid 500); 18 Aug 2009 15:21:38 -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 7712 invoked by uid 99); 18 Aug 2009 15:21:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 15:21:38 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mgainty@hotmail.com designates 65.55.111.160 as permitted sender) Received: from [65.55.111.160] (HELO blu0-omc4-s21.blu0.hotmail.com) (65.55.111.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 15:21:25 +0000 Received: from BLU142-W17 ([65.55.111.137]) by blu0-omc4-s21.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 18 Aug 2009 08:21:03 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_38f0044a-6dc5-4f2b-9b69-a1ee5a38cf53_" X-Originating-IP: [71.184.164.10] From: Martin Gainty To: Ant Users List , Subject: RE: Unable to delete file Date: Tue, 18 Aug 2009 11:21:03 -0400 Importance: Normal In-Reply-To: <32C9659BBD4DE64DA4B361F6E00FAAE813B1D36E@emss04m23.us.lmco.com> References: <32C9659BBD4DE64DA4B361F6E00FAAE813B1D36E@emss04m23.us.lmco.com> MIME-Version: 1.0 X-OriginalArrivalTime: 18 Aug 2009 15:21:03.0809 (UTC) FILETIME=[800C0B10:01CA2017] X-Virus-Checked: Checked by ClamAV on apache.org --_38f0044a-6dc5-4f2b-9b69-a1ee5a38cf53_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Jeff- here in the US DOD vendors are converting their build.xml and implementing = to maven for: offline repository(secure from middle-eastern attackers) version-specific SCM tagging security (ability to enforce SSH handshake to ftp via sftp and scp) http://www.sonatype.com/people/2009/04/how-to-convert-from-ant-to-maven-in-= 5-minutes/ free free to ping me offline if you need any help in this area Martin Gainty=20 ______________________________________________=20 Verzicht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidentialit= =E9 =20 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiter= leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient l= ediglich dem Austausch von Informationen und entfaltet keine rechtliche Bin= dungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen w= ir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes= pas le destinataire pr=E9vu=2C nous te demandons avec bont=E9 que pour sat= isfaire informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e= ou la copie de ceci est interdite. Ce message sert =E0 l'information seule= ment et n'aura pas n'importe quel effet l=E9galement obligatoire. =C9tant d= onn=E9 que les email peuvent facilement =EAtre sujets =E0 la manipulation= =2C nous ne pouvons accepter aucune responsabilit=E9 pour le contenu fourni= . > Date: Tue=2C 18 Aug 2009 10:05:34 -0400 > From: jeff.w.boring@lmco.com > Subject: Unable to delete file > To: user@ant.apache.org > CC: nirav.shah@lmco.com=3B adil.karamat@lmco.com >=20 > We have a 20+ Java projects (Eclipse Projects) each with its own > build.xml. We group projects into components=3B every component has a > build.xml for building the projects in the component. The component > build.xml files are nothing more than ant (element) calls delegating to > the project builds. Finally=2C there is a simple master build.xml that > makes ant calls to the component build.xml files. >=20 > =20 >=20 > From the master build.xml=2C a call to the first project build produces a > jar. This project build.xml can delete the jar but no other build.xml > can - always gets the "unable to delete file" message. Note that the > file CAN be deleted in windows. I've tried sleeping for 60 secs=2C > thinking something just needed time to clean out but that didn't work. >=20 > =20 >=20 > The compile & jar targets are listed below as is the ant diagnostics > report. Any help would be much appreciated.=20 >=20 > =20 >=20 > Jeff >=20 > =20 >=20 > Jeff W. Boring >=20 > Lockheed Martin >=20 > =20 >=20 > =20 >=20 > >=20 > >=20 > memorymaximumsize=3D"256m"> >=20 > >=20 > >=20 > >=20 > >=20 > =20 >=20 > artifacts (jar/war)" > >=20 > >=20 > basedir=3D"${build.production.dir}" /> >=20 > >=20 > =20 >=20 > [diagnostics] ------- Ant diagnostics report ------- >=20 > [diagnostics] Apache Ant version 1.7.1 compiled on June 27 2008 >=20 > [diagnostics]=20 >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] Implementation Version >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] core tasks : 1.7.1 >=20 > [diagnostics] optional tasks : not available >=20 > [diagnostics]=20 >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] ANT PROPERTIES >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] ant.version: Apache Ant version 1.7.1 compiled on June 27 > 2008 >=20 > [diagnostics] ant.java.version: 1.5 >=20 > [diagnostics] ant.core.lib: D:\dev\lib\apache-ant-1.7.1\lib\ant.jar >=20 > [diagnostics] ant.home: D:\dev\lib\apache-ant-1.7.1 >=20 > [diagnostics]=20 >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] ANT_HOME/lib jar listing >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] ant.home: D:\dev\lib\apache-ant-1.7.1 >=20 > [diagnostics] ant-antlr.jar (5752 bytes) >=20 > [diagnostics] ant-apache-bcel.jar (8611 bytes) >=20 > [diagnostics] ant-apache-bsf.jar (3939 bytes) >=20 > [diagnostics] ant-apache-log4j.jar (3056 bytes) >=20 > [diagnostics] ant-apache-oro.jar (39627 bytes) >=20 > [diagnostics] ant-apache-regexp.jar (3762 bytes) >=20 > [diagnostics] ant-apache-resolver.jar (4071 bytes) >=20 > [diagnostics] ant-commons-logging.jar (3910 bytes) >=20 > [diagnostics] ant-commons-net.jar (47026 bytes) >=20 > [diagnostics] ant-contrib.jar (194050 bytes) >=20 > [diagnostics] ant-jai.jar (21348 bytes) >=20 > [diagnostics] ant-javamail.jar (6998 bytes) >=20 > [diagnostics] ant-jdepend.jar (8132 bytes) >=20 > [diagnostics] ant-jmf.jar (6593 bytes) >=20 > [diagnostics] ant-jsch.jar (30797 bytes) >=20 > [diagnostics] ant-junit.jar (93518 bytes) >=20 > [diagnostics] ant-launcher.jar (12143 bytes) >=20 > [diagnostics] ant-netrexx.jar (9881 bytes) >=20 > [diagnostics] ant-nodeps.jar (431580 bytes) >=20 > [diagnostics] ant-starteam.jar (35355 bytes) >=20 > [diagnostics] ant-stylebook.jar (2330 bytes) >=20 > [diagnostics] ant-swing.jar (6738 bytes) >=20 > [diagnostics] ant-testutil.jar (14941 bytes) >=20 > [diagnostics] ant-trax.jar (6881 bytes) >=20 > [diagnostics] ant-weblogic.jar (14205 bytes) >=20 > [diagnostics] ant.jar (1323005 bytes) >=20 > [diagnostics] xercesImpl.jar (1223877 bytes) >=20 > [diagnostics] xml-apis.jar (194354 bytes) >=20 > [diagnostics]=20 >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] USER_HOME/.ant/lib jar listing >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] user.home: d:\data\boringj >=20 > [diagnostics] No such directory. >=20 > [diagnostics]=20 >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] Tasks availability >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] image : Missing dependency javax.media.jai.PlanarImage >=20 > [diagnostics] sshexec : Missing dependency com.jcraft.jsch.UserInfo >=20 > [diagnostics] scp : Missing dependency com.jcraft.jsch.UserInfo >=20 > [diagnostics] jdepend : Missing dependency jdepend.xmlui.JDepend >=20 > [diagnostics] A task being missing/unavailable should only matter if you > are trying to use it >=20 > [diagnostics]=20 >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] org.apache.env.Which diagnostics >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] Not available. >=20 > [diagnostics] Download it at http://xml.apache.org/commons/ >=20 > [diagnostics]=20 >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] XML Parser information >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] XML Parser : org.apache.xerces.jaxp.SAXParserImpl >=20 > [diagnostics] XML Parser Location: > D:\dev\lib\apache-ant-1.7.1\lib\xercesImpl.jar >=20 > [diagnostics] Namespace-aware parser : > org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser >=20 > [diagnostics] Namespace-aware parser Location: > D:\dev\lib\apache-ant-1.7.1\lib\xercesImpl.jar >=20 > [diagnostics]=20 >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] System properties >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] java.runtime.name : Java(TM) 2 Runtime Environment=2C > Standard Edition >=20 > [diagnostics] sun.boot.library.path : D:\bea\jdk150_06\jre\bin >=20 > [diagnostics] java.vm.version : 1.5.0_06-b05 >=20 > [diagnostics] ant.library.dir : D:\dev\lib\apache-ant-1.7.1\lib >=20 > [diagnostics] java.vm.vendor : Sun Microsystems Inc. >=20 > [diagnostics] java.vendor.url : http://java.sun.com/ >=20 > [diagnostics] path.separator : =3B >=20 > [diagnostics] java.vm.name : Java HotSpot(TM) Client VM >=20 > [diagnostics] file.encoding.pkg : sun.io >=20 > [diagnostics] user.country : US >=20 > [diagnostics] sun.os.patch.level : Service Pack 3 >=20 > [diagnostics] java.vm.specification.name : Java Virtual Machine > Specification >=20 > [diagnostics] user.dir : > D:\EIIProd\dataIntegration\DevTools\ProductBuild >=20 > [diagnostics] java.runtime.version : 1.5.0_06-b05 >=20 > [diagnostics] java.awt.graphicsenv : sun.awt.Win32GraphicsEnvironment >=20 > [diagnostics] java.endorsed.dirs : D:\bea\jdk150_06\jre\lib\endorsed >=20 > [diagnostics] os.arch : x86 >=20 > [diagnostics] java.io.tmpdir : C:\DOCUME~1\boringj\LOCALS~1\Temp\ >=20 > [diagnostics] line.separator :=20 >=20 > [diagnostics]=20 >=20 > [diagnostics] java.vm.specification.vendor : Sun Microsystems Inc. >=20 > [diagnostics] user.variant :=20 >=20 > [diagnostics] os.name : Windows XP >=20 > [diagnostics] ant.home : D:\dev\lib\apache-ant-1.7.1 >=20 > [diagnostics] sun.jnu.encoding : Cp1252 >=20 > [diagnostics] java.library.path : > D:\bea\jdk150_06\bin=3B.=3BC:\WINDOWS\system32=3BC:\WINDOWS=3BD:\bea\jdk1= 50_06\b > in=3BD:\oracle\product\10.2.0\client_1\bin=3BC:\Ent\Appl\Prod\Oracle8i\bi= n=3BC > :\WINDOWS\system32=3Bc:\ent\appl\prod\perl\5.00502\bin\mswin32-x86=3Bc:\e= nt\ > appl\prod\perl\5.00502\bin=3BC:\WINDOWS=3BC:\WINDOWS\system32\wbem=3Bc:\e= nt\ap > pl\prod\bin=3BD:\dev\lib\apache-ant-1.7.1\bin=3BD:\dev\lib\apache-maven-2= .0. > 9\bin=3BC:\Program Files\QuickTime\QTSystem\ >=20 > [diagnostics] java.specification.name : Java Platform API Specification >=20 > [diagnostics] java.class.version : 49.0 >=20 > [diagnostics] sun.management.compiler : HotSpot Client Compiler >=20 > [diagnostics] os.version : 5.1 >=20 > [diagnostics] user.home : d:\data\boringj >=20 > [diagnostics] user.timezone : America/New_York >=20 > [diagnostics] java.awt.printerjob : sun.awt.windows.WPrinterJob >=20 > [diagnostics] file.encoding : Cp1252 >=20 > [diagnostics] java.specification.version : 1.5 >=20 > [diagnostics] user.name : boringj >=20 > [diagnostics] java.class.path : > D:\dev\lib\apache-ant-1.7.1\lib\ant-launcher.jar=3BD:\EIIProd\dataIntegra= t > ion\DevTools\ProductBuild\.\=3BC:\Program > Files\Altova\xmlspy\XMLSpyInterface.jar=3BD:\bea\jdk150_06\=3BC:\Program > Files\Java\jre6\lib\ext\QTJava.zip=3BD:\dev\lib\apache-ant-1.7.1\lib\ant-= a > ntlr.jar=3BD:\dev\lib\apache-ant-1.7.1\lib\ant-apache-bcel.jar=3BD:\dev\l= ib\ > apache-ant-1.7.1\lib\ant-apache-bsf.jar=3BD:\dev\lib\apache-ant-1.7.1\lib= \ > ant-apache-log4j.jar=3BD:\dev\lib\apache-ant-1.7.1\lib\ant-apache-oro.jar= =3B > D:\dev\lib\apache-ant-1.7.1\lib\ant-apache-regexp.jar=3BD:\dev\lib\apache= - > ant-1.7.1\lib\ant-apache-resolver.jar=3BD:\dev\lib\apache-ant-1.7.1\lib\a= n > t-commons-logging.jar=3BD:\dev\lib\apache-ant-1.7.1\lib\ant-commons-net.j= a > r=3BD:\dev\lib\apache-ant-1.7.1\lib\ant-contrib.jar=3BD:\dev\lib\apache-a= nt- > 1.7.1\lib\ant-jai.jar=3BD:\dev\lib\apache-ant-1.7.1\lib\ant-javamail.jar= =3BD > :\dev\lib\apache-ant-1.7.1\lib\ant-jdepend.jar=3BD:\dev\lib\apache-ant-1.= 7 > .1\lib\ant-jmf.jar=3BD:\dev\lib\apache-ant-1.7.1\lib\ant-jsch.jar=3BD:\de= v\l > ib\apache-ant-1.7.1\lib\ant-junit.jar=3BD:\dev\lib\apache-ant-1.7.1\lib\a= n > t-launcher.jar=3BD:\dev\lib\apache-ant-1.7.1\lib\ant-netrexx.jar=3BD:\dev= \li > b\apache-ant-1.7.1\lib\ant-nodeps.jar=3BD:\dev\lib\apache-ant-1.7.1\lib\a= n > t-starteam.jar=3BD:\dev\lib\apache-ant-1.7.1\lib\ant-stylebook.jar=3BD:\d= ev\ > lib\apache-ant-1.7.1\lib\ant-swing.jar=3BD:\dev\lib\apache-ant-1.7.1\lib\= a > nt-testutil.jar=3BD:\dev\lib\apache-ant-1.7.1\lib\ant-trax.jar=3BD:\dev\l= ib\ > apache-ant-1.7.1\lib\ant-weblogic.jar=3BD:\dev\lib\apache-ant-1.7.1\lib\a= n > t.jar=3BD:\dev\lib\apache-ant-1.7.1\lib\xercesImpl.jar=3BD:\dev\lib\apach= e-a > nt-1.7.1\lib\xml-apis.jar=3BD:\bea\jdk150_06\lib\tools.jar >=20 > [diagnostics] java.vm.specification.version : 1.0 >=20 > [diagnostics] sun.arch.data.model : 32 >=20 > [diagnostics] java.home : D:\bea\jdk150_06\jre >=20 > [diagnostics] java.specification.vendor : Sun Microsystems Inc. >=20 > [diagnostics] user.language : en >=20 > [diagnostics] awt.toolkit : sun.awt.windows.WToolkit >=20 > [diagnostics] java.vm.info : mixed mode >=20 > [diagnostics] java.version : 1.5.0_06 >=20 > [diagnostics] java.ext.dirs : D:\bea\jdk150_06\jre\lib\ext >=20 > [diagnostics] sun.boot.class.path : > D:\bea\jdk150_06\jre\lib\rt.jar=3BD:\bea\jdk150_06\jre\lib\i18n.jar=3BD:\= bea > \jdk150_06\jre\lib\sunrsasign.jar=3BD:\bea\jdk150_06\jre\lib\jsse.jar=3BD= :\b > ea\jdk150_06\jre\lib\jce.jar=3BD:\bea\jdk150_06\jre\lib\charsets.jar=3BD:= \be > a\jdk150_06\jre\classes >=20 > [diagnostics] java.vendor : Sun Microsystems Inc. >=20 > [diagnostics] file.separator : \ >=20 > [diagnostics] java.vendor.url.bug : > http://java.sun.com/cgi-bin/bugreport.cgi >=20 > [diagnostics] sun.cpu.endian : little >=20 > [diagnostics] sun.io.unicode.encoding : UnicodeLittle >=20 > [diagnostics] sun.desktop : windows >=20 > [diagnostics] sun.cpu.isalist :=20 >=20 > [diagnostics]=20 >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] Temp dir >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] Temp dir is C:\DOCUME~1\boringj\LOCALS~1\Temp\ >=20 > [diagnostics] Temp dir is writeable >=20 > [diagnostics] Temp dir alignment with system clock is 0 ms >=20 > [diagnostics]=20 >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] Locale information >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] Timezone Eastern Standard Time offset=3D-14400000 >=20 > [diagnostics]=20 >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] Proxy information >=20 > [diagnostics] ------------------------------------------- >=20 > [diagnostics] Java1.5+ proxy settings: >=20 > [diagnostics] Direct connection >=20 > =20 >=20 _________________________________________________________________ Hotmail=AE is up to 70% faster. Now good news travels really fast.=20 http://windowslive.com/online/hotmail?ocid=3DPID23391::T:WLMTAGL:ON:WL:en-U= S:WM_HYGN_faster:082009= --_38f0044a-6dc5-4f2b-9b69-a1ee5a38cf53_--