From user-return-36643-apmail-ant-user-archive=ant.apache.org@ant.apache.org Wed Sep 03 17:29:04 2003 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 3184 invoked from network); 3 Sep 2003 17:29:04 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Sep 2003 17:29:04 -0000 Received: (qmail 25350 invoked by uid 500); 3 Sep 2003 16:57:22 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 25291 invoked by uid 500); 3 Sep 2003 16:57:21 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 25164 invoked from network); 3 Sep 2003 16:57:19 -0000 Received: from unknown (HELO relay.t-online-com.de) (62.156.147.74) by daedalus.apache.org with SMTP; 3 Sep 2003 16:57:19 -0000 Received: from DJ0X820J (p5080ea0b.dip0.t-ipconnect.de [80.128.234.11]) by relay.t-online-com.de (SMTPSVC(1.0.0.1)) with ESMTP id 979EF15000E for ; Wed, 3 Sep 2003 18:53:40 +0200 (CEST) Message-ID: <013201c3723c$a2ede610$020200c0@DJ0X820J> From: "Antoine Levy-Lambert" To: "Ant Users List" References: Subject: Re: can't execute an ant execution Date: Wed, 3 Sep 2003 18:58:44 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N One possibility is that the environment is not OK at the remote end to start ant or to find java. You might want to do to see if it looks OK. Antoine ----- Original Message ----- From: "David" To: "Ant Apache User List" Sent: Wednesday, September 03, 2003 6:15 PM Subject: can't execute an ant execution > Dear members, > > If I want to invoke a ant command during a telnet target it seem to me it > doesn't work. If I do: > > password = "${telnet.password}" > port = "${telnet.port}" > server = "${telnet.server}" > userid = "${telnet.userid}" > > > ant -l log.txt usage > > > > the build file is on the $HOME directory so it should be executed. At the > end of the execution the log.txt file exist, but it is empty. > > Nevertheless if I invoke a ls command in the following way: > > password = "${telnet.password}" > port = "${telnet.port}" > server = "${telnet.server}" > userid = "${telnet.userid}" > > > ls > output.txt > > > > at the end of the execution the output.txt file contents the output of the > ls command. > > I have tried to simple invoke a task that rename an existing file. But under > telnet the ant command: ant rename-file, is not executed. The file doesn't > change the name. > > Do you have any idea about why it doesn't work. > > Note: I am using the latest ant version. > > Thanks in advance, > > David > > > --------------------------------------------------------------------- > 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