Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 45491 invoked from network); 21 Dec 2005 19:43:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Dec 2005 19:43:58 -0000 Received: (qmail 25022 invoked by uid 500); 21 Dec 2005 19:43:52 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 24978 invoked by uid 500); 21 Dec 2005 19:43:52 -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 24965 invoked by uid 99); 21 Dec 2005 19:43:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2005 11:43:52 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of rhino1@sympatico.ca designates 209.226.175.54 as permitted sender) Received: from [209.226.175.54] (HELO tomts10-srv.bellnexxia.net) (209.226.175.54) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2005 11:43:51 -0800 Received: from athlon ([65.95.129.190]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20051221194330.IRSK14963.tomts10-srv.bellnexxia.net@athlon> for ; Wed, 21 Dec 2005 14:43:30 -0500 Received: from 127.0.0.1 (AVG SMTP 7.1.371 [267.14.2/208]); Wed, 21 Dec 2005 14:43:48 -0500 Message-ID: <011101c60666$dc73b840$0d02a8c0@athlon> From: "Rhino" To: "Ant Users List" References: <200512211907.jBLJ7Rjb007981@barrierb241.nike.com> Subject: Re: Intermittent problem with input task Date: Wed, 21 Dec 2005 14:43:48 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original X-Originating-IP: [0] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I just tried the build from the command line outside of Eclipse. I got the build to work but it definitely acted wonky on the getserver target: - Ant displayed the message asking me to choose a server - I typed 2 and pressed Enter - the build just sat there until I pressed Enter - Ant displayed the message asking me to choose a server AGAIN - I typed 2 and pressed Enter - this time it accepted the answer and went on to other targets, some of which included their own input tasks. But all of the other input tasks worked fine, i.e. they accepted the input the first time. I tried the build from the command line a second time and got exactly the same behaviour the second time choosing the other server. I haven't changed the getserver target one iota since running it successfully in older versions of Ant - 1.6.1 and 1.6.2 - so I'm wondering if a new bug has been introduced to 'input' between 1.6.2 and 1.6.5? Mind you, that doesn't explain why the other input tasks work fine; you'd think they'd misbehave, too. Or is this normal behaviour for 'input' when executed from the command line? I don't think I've ever executed a build with an input task from the command line before. Rhino ----- Original Message ----- From: "Anderson, Rob (Global Trade)" To: "Ant Users List" Sent: Wednesday, December 21, 2005 1:58 PM Subject: RE: Intermittent problem with input task Does it work consistenly from the command line, outside of eclipse? If so, it is likely a problem with the input handler that eclipse uses, or eclipse itself, not ant. -Rob Anderson > -----Original Message----- > From: Rhino [mailto:rhino1@sympatico.ca] > Sent: Wednesday, December 21, 2005 10:00 AM > To: ant-user > Subject: Intermittent problem with input task > > I've been having an intermittent problem with the 'input' > task for the past several days. I'm baffled by what causes it > and would like to know if anyone else has seen this or knows > of a solution/workaround to keep it from happening? > > I'm using Ant 1.6.5 in Eclipse 3.1.1 and my problem is > simple: my 'input' > task _occasionally_ fails to bring up the input dialog. Even > with -verbose and -debug in my startup parameters, the Ant > output simply shows the name of the target that contains the > input task with no other output, like so: > getserver: > > > The build doesn't seem to succeed _or_ fail; there is nothing > after the 'getserver:' line. However, the build seems to have > ended because I can launch it again without a problem. > > I was getting this problem very persistently a few days ago, > then it went away suddenly. Now it is back. I can't think of > anything I have done in my build script or my environment to > cause my 'input' task to work or fail intermittently; the > target is itself has been working unchanged for a couple of > years until this problem started the other day. Here is the target: > > > validargs="1,2" > addproperty="server.choice" > defaultvalue="2"/> > > > > > > > > > Can anyone help me figure out how to get the 'input' task > working _all_ of the time? This is really messing me up. I > have several input tasks to prompt for input that should not > be hard-coded in the script for security reasons. > > Rhino > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.371 / Virus Database: 267.14.2/208 - Release > Date: 20/12/2005 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.2/208 - Release Date: 20/12/2005 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.2/208 - Release Date: 20/12/2005 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org