First thing I would check is to make sure the SoundCard vendor's driver is installed and working Nota Bene: All of the available (Sound) drivers are supposed to be located in windows /INF folder
I know my vendor's SC is so outdated that it wont work with any of the newer OS's Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > From: [EMAIL PROTECTED] > To: [email protected] > Subject: sound task - either not doing anything or infinitely looping > Date: Sun, 9 Nov 2008 12:59:39 +0100 > > > I'm getting what I think is very strange behaviour from the sound task. As I > understand it, this is supposed to play sounds at the end of a build, > depending on whether the build failed or not. > My first attempt came down to simply this: > > > > > > > This results in absolutely nothing being played, regardless of build success > or failure. I am positive that the files are in the correct location and that > there is nothing out of the ordinary with them. > I then started playing around with the attributes, and found that if I set > the duration to anything other than "0", for example: > > > > > > > > > > > This results in the sound being infinitely repeated, keeping the Ant process > from ever terminating until I kill it. > > The value of "duration" doesn't have any influence on the behaviour; except > when it's set to 0 in which case again nothing at all happens (as expected). > 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 on > which everything else depends, inside its own target, at top level), and the > result is always the same. > Running with -verbose and -debug didn't yield anything relevant. > For completeness' sake, I'm running on Windows XP SP2, with jdk1.6.0_10 and > ant-1.7.1. > > Summing up, without optional attributes nothing happens; with any strictly > positive duration it loops forever. As far as I could google and search this > and other mailing lists, no-one else has ever reported this problem. I'm at a > complete loss, I think for the first time ever... on what seemed like a > simple and fun icing on the cake of finishing up a script, and d'oh! :-) > > Thanks in advance for any tips, > Best regards, > Ward > > _________________________________________________________________ > Connect to the next generation of MSN Messenger > http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Get 5 GB of storage with Windows Live Hotmail. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_5gb_112008
