ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Rytov" <rry...@entopia.com>
Subject RE: <telnet> can't execute an ant execution
Date Thu, 19 Feb 2004 15:29:04 GMT
As written below add <read> tag. It really looks like the proccess is
being killed.

RomanR 

> -----Original Message-----
> From: David [mailto:achepati67@yahoo.es] 
> Sent: Thursday, September 04, 2003 11:19 AM
> To: Ant Users List
> Subject: RE: <telnet> can't execute an ant execution
> 
> The output.txt file is empty!!!!, it is created but is empty.
> 
> Do you have any idea?
> 
> Thanks,
> 
> David
> 
> -----Mensaje original-----
> De: Roman Rytov [mailto:rrytov@entopia.com] Enviado el: 
> miercoles, 03 de septiembre de 2003 21:11
> Para: Ant Users List
> Asunto: RE: <telnet> can't execute an ant execution
> 
> 
> Try
> ant usage -verbose -debug > output.txt
> And then analize output.txt file
> 
> > -----Original Message-----
> > From: David [mailto:achepati67@yahoo.es]
> > Sent: Wednesday, September 03, 2003 19:16 PM
> > To: Ant Apache User List
> > Subject: <telnet> 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:
> > 
> >     <target name = "remote-build"
> >         <telnet
> >             password    = "${telnet.password}"
> >             port        = "${telnet.port}"
> >             server      = "${telnet.server}"
> >             userid      = "${telnet.userid}"
> >             >
> >             <write>ant -l log.txt usage</write>
> >         </telnet>
> >     </target>
> > 
> > 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:
> > 
> >     <target name = "remote-build"
> >         <telnet
> >             password    = "${telnet.password}"
> >             port        = "${telnet.port}"
> >             server      = "${telnet.server}"
> >             userid      = "${telnet.userid}"
> >             >
> >             <write>ls > output.txt </write>
> >         </telnet>
> >     </target>
> > 
> > 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
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message