Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 60808 invoked from network); 9 Nov 2008 12:00:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Nov 2008 12:00:40 -0000 Received: (qmail 27794 invoked by uid 500); 9 Nov 2008 12:00:40 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 27758 invoked by uid 500); 9 Nov 2008 12:00:40 -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 27747 invoked by uid 99); 9 Nov 2008 12:00:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 04:00:40 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fl_comm_loko@hotmail.com designates 65.55.111.177 as permitted sender) Received: from [65.55.111.177] (HELO blu0-omc4-s38.blu0.hotmail.com) (65.55.111.177) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 11:59:18 +0000 Received: from BLU108-W7 ([65.55.111.136]) by blu0-omc4-s38.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 9 Nov 2008 03:59:39 -0800 Message-ID: X-Originating-IP: [78.23.84.155] From: Ward Van Looy To: Subject: sound task - either not doing anything or infinitely looping Date: Sun, 9 Nov 2008 12:59:39 +0100 Importance: Normal Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 09 Nov 2008 11:59:39.0634 (UTC) FILETIME=[A4D3C520:01C94262] X-Virus-Checked: Checked by ClamAV on apache.org I'm getting what I think is very strange behaviour from the sound task. As = I understand it=2C this is supposed to play sounds at the end of a build=2C= depending on whether the build failed or not. My first attempt came down to simply this: =20 =20 =20 =20 This results in absolutely nothing being played=2C regardless of build succ= ess or failure. I am positive that the files are in the correct location an= d that there is nothing out of the ordinary with them. I then started playing around with the attributes=2C and found that if I se= t the duration to anything other than "0"=2C for example: =20 =20 =20 =20 This results in the sound being infinitely repeated=2C keeping the Ant proc= ess from ever terminating until I kill it. The value of "duration" doesn't have any influence on the behaviour=3B exce= pt when it's set to 0 in which case again nothing at all happens (as expect= ed). The value of "loops" does not have any impact at all. I used several different wav files and they all yield the same result. I tried the sound task in all possible locations (inside an "init" target o= n which everything else depends=2C inside its own target=2C at top level)= =2C and the result is always the same. Running with -verbose and -debug didn't yield anything relevant. For completeness' sake=2C I'm running on Windows XP SP2=2C with jdk1.6.0_10= and ant-1.7.1. Summing up=2C without optional attributes nothing happens=3B with any stric= tly positive duration it loops forever. As far as I could google and search= this and other mailing lists=2C no-one else has ever reported this problem= . I'm at a complete loss=2C I think for the first time ever... on what seem= ed like a simple and fun icing on the cake of finishing up a script=2C and = d'oh! :-) Thanks in advance for any tips=2C Best regards=2C Ward _________________________________________________________________ Connect to the next generation of MSN Messenger=A0 http://imagine-msn.com/messenger/launch80/default.aspx?locale=3Den-us&sourc= e=3Dwlmailtagline= --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org