Here is the o/p,
C:\>ant -buildfile ovmsalpha_client.xml
Unable to locate tools.jar. Expected to find it in C:\Program
Files\Java\jre1.5.
0_10\lib\tools.jar
Buildfile: ovmsalpha_client.xml
init:
[echo] Build machine: dsneng.XX.XX.XXX
buildonly:
BUILD FAILED
java.lang.NoClassDefFoundError:
org/apache/commons/net/telnet/TelnetClient
Total time: 0 seconds
No, I did not try with sshexec.
Shafi
-----Original Message-----
From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 24, 2007 12:12 AM
To: Ant Users List
Subject: RE: OpenVMS system - connection fails
Please post the output also. Does it fail to connect? Does it timeout?
Have you tried using sshexec?
-Rob A
> -----Original Message-----
> From: Shafiulla, Mohammed [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 07, 2007 10:32 PM
> To: Ant Users List
> Cc: mohammed shafiulla
> Subject: RE: OpenVMS system - connection fails
>
> When a telnet command is invoked from command line, it works.
>
> Please find the portion of build,
>
> <property name="ovmsalpha.build.machine"
> value="full_machinename"/> <property
> name="ovmsalpha.build.user" value="barnes"/> <property
> name="ovmsalpha.build.passwd" value="clientteambangalore"/>
> <property name="ovmsalpha.build.dir"
> value="DISK$ENG0:[BARNES]"/> <property
> name="ovmsalpha.telnet.timeout" value="600"/> <property
> name="build.client.workspace" value="Shafi_test"/> <property
> name="ovmsalpha.build.target" value="" />
>
>
> <target name="build" description="build the ovmsalpha client"
> depends="init,buildonly">
> </target>
>
> <target name="init" description="initialize the environment">
> <echo>Build machine: ${ovmsalpha.build.machine}</echo> </target>
>
>
> <!-- <target name="build" description="build the ovmsalpha client"
> depends="init,bootstrap,buildonly,buildandcheckin"> -->
>
>
> <target name="buildonly">
>
> <telnet server="${ovmsalpha.build.machine}"
> timeout="${ovmsalpha.telnet.timeout}" userid="${ovmsalpha.build.user}"
> password="${ovmsalpha.build.passwd}" >
>
> <read>$</read>
> <write>sh def</write>
>
> <echo>Build machine: ${ovmsalpha.build.machine}</echo>
>
> <read>$</read>
> <write>sh logi TRUECM_ACCOUNT</write>
>
> <read>$</read>
> <write>dir PACKAGECLIENT_JRE1426.COM</write>
>
> <read>$</read>
> <write>@PACKAGECLIENT_JRE1426.COM V3.95-34</write>
>
> <read>$</read>
>
> </telnet>
>
>
> </target>
>
>
> Shafi
>
>
>
> -----Original Message-----
> From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 07, 2007 11:49 PM
> To: Ant Users List
> Subject: RE: OpenVMS system - connection fails
>
> Please post the relevant portion of your build.xml. Also, can
> you connect to the system with telnet on the command line? Is
> the system configured to allow telnet connections?
>
> I would recommend using the sshexec rather than telnet.
>
> -Rob Anderson
>
> > -----Original Message-----
> > From: Shafiulla, Mohammed [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, May 03, 2007 2:58 AM
> > To: [email protected]
> > Subject: OpenVMS system - connection fails
> >
> > Hi,
> >
> > I tried connecting to OpenVMS system using telnet command
> (as part of
> > XML file), it fails whereas it connects to HPUX machine.
> >
> > Let me know whether ANT supports connection to OpenVMS Systems. If
> > not, is there any alternate solution in ANT software for connection.
> >
> > Thanks!
> >
> > Regards
> > Shafi
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For
> additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For
> additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]