Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 88599 invoked from network); 23 Jun 2009 22:55:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jun 2009 22:55:54 -0000 Received: (qmail 49403 invoked by uid 500); 23 Jun 2009 22:56:04 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 49314 invoked by uid 500); 23 Jun 2009 22:56:04 -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 49304 invoked by uid 99); 23 Jun 2009 22:56:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2009 22:56:04 +0000 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of prvs=6425a482ee=shawn.castrianni@halliburton.com designates 34.254.247.12 as permitted sender) Received: from [34.254.247.12] (HELO NP1MAIL002.halliburton.com) (34.254.247.12) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2009 22:55:53 +0000 Received: from NP1EXHU010.corp.halliburton.com (np1exhu010.corp.halliburton.com [34.34.132.66]) by NP1MAIL002 (8.14.3/8.14.3) with ESMTP id n5NMtSwY025884 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Tue, 23 Jun 2009 17:55:31 -0500 Received: from NP1EXCH012.corp.halliburton.com ([34.34.132.75]) by NP1EXHU010.corp.halliburton.com ([34.34.132.66]) with mapi; Tue, 23 Jun 2009 17:55:29 -0500 From: Shawn Castrianni To: "'Ant Users List'" Date: Tue, 23 Jun 2009 17:55:28 -0500 Subject: run script after ant finished Thread-Topic: run script after ant finished Thread-Index: Acn0VbV4QNdEAwraTZuoXesJLwu7ug== Message-ID: <34721A41A7BCF54ABC3B116219A8C1C2057B68A393@NP1EXCH012.corp.halliburton.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_34721A41A7BCF54ABC3B116219A8C1C2057B68A393NP1EXCH012cor_" MIME-Version: 1.0 X-HALSTAMP: TRUE X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.7400:2.4.4,1.2.40,4.0.166 definitions=2009-06-23_13:2009-06-01,2009-06-23,2009-06-23 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0811170000 definitions=main-0906230205 X-Virus-Checked: Checked by ClamAV on apache.org --_000_34721A41A7BCF54ABC3B116219A8C1C2057B68A393NP1EXCH012cor_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="ISO-8859-1" Is there a way to run something after ANT has finished with log output? I = am trying to implement an auto-update feature of my ant scripts. They are = in a SVN sandbox that all my users checkout. I would like the ANT scripts = to check if the user's sandbox is up to date and run svn update if not. Th= e problem is that you can't update yourself since some files will be locked= by the OS since they are in use at the time. So I was thinking I could ru= n the svn update command after ANT has completed the up to date check of th= e sandbox. I did this using the java svn client and the spawn/fork options= of the java task. The spawn/fork options allow this svn update command to= outlive the ANT process which allows the ANT process to die unlocking the = files allowing them to be updated. Everything works well except the spawn/= fork options prevent the output of the svn update command from displaying i= n the console. I would like the end user to see the update take place to k= now when it is complete. Anybody have any ideas? --- Shawn Castrianni ---------------------------------------------------------------------- This e-mail, including any attached files, may contain confidential and pri= vileged information for the sole use of the intended recipient. Any review= , use, distribution, or disclosure by others is strictly prohibited. If yo= u are not the intended recipient (or authorized to receive information for = the intended recipient), please contact the sender by reply e-mail and dele= te all copies of this message. --_000_34721A41A7BCF54ABC3B116219A8C1C2057B68A393NP1EXCH012cor_--