I tried to use properties in telnet write - tags,
but the properties don't get replaced before execution.

f.e.
     <telnet
          server="${deployment.server}"
          initialCR="YES">
       <read>ogin:</read>
       <write>wasadm</write>
       <write>was#9436</write>
       <read>ome/wasadm</read>
       ...

       <read>ome/wasadm</read>
       <write>cd projects/${ant.projekt.name}</write>

       <write>exit</write>
       <read>logout</read>
     </telnet>

I also recognized that working with <env> tags is not
possible in telnet tasks.

f.e.
       <env>export ANT_PROJEKT=${ant.projekt.name}</env>
       <write>cd projects</write>
       <write>cd $ANT_PROJEKT</write>

Is there any possibility to work with variables in telnet tags?

Any help is very much appreciated.

thanks in advance

A. Grimm

****************************************************
MAN Nutzfahrzeuge AG
Anton Grimm
Abt. IDP (SoftwareProduktionsumgebungen)
Dachauerstr.667
80995 M�nchen

Tel.:      089/1580-1054
Fax:      089/1580-911054
E-Mail: [EMAIL PROTECTED]
****************************************************

Reply via email to