Can't able to telnet a Windows Mac using ANT build

Hi,

I am trying to Access a Windows Machine via telent using the ANT build

But while using the ANT, I can't able to telnet the Windows Machine.

if I uses command Propmt,I can able to Connect the Windows Mac.

The Following is a ANT build.

<project name="prm" default="release">

<target name="release">

<echo message = "Sample Build via Telnet" />

<exec executable="cmd.exe" output="dir.txt">

<arg line="telnet oak"/>

</exec>

</target>

</project>

Waiting for the solution,

Thanks

[625 byte] By [PrathapSundar] at [2007-11-26 6:44:43]
# 1

Seriously: I'm going to need more beer to understand what you're saying. I'm sorry.

You're mixing up all kinds of things in your message, so let me try to get a few things clear.

1. You are running on a Windows system. Correct?

This is hinted at by the fact that you're trying to run "cmd.exe telnet oak".

2. You are trying to use Telnet to connect to a remote system (called oak), from your Windows system. Correct?

3. This remote system (called oak) is also a Windows system. Correct?

If all three of my assumptions are correct, then why the fsck are you posting them here? This is a forum dedicated to Sun hardware and the Solaris OS.

Cheers!

Thomas

Cailin_Coilleach at 2007-7-6 15:03:40 > top of Java-index,General,Talk to the Sysop...
# 2

Awwww ! C'Mon, now !

In my utter confusion from reading their original post, I was

anxiously expecting to learn how to use some particular Apple software,

from their new Apple MAC (x86) system, that they'd installed the MicroSoft OS onto ...

... or is their Aunt, nicknamed ANT ?

rukbat at 2007-7-6 15:03:40 > top of Java-index,General,Talk to the Sysop...
# 3

Yeah, I was starting to think along those lines as well :)

Maybe he wants to telnet from a normal Windows box, to Windows running on an Apple.

Or, maybe he wants to telnet from a normal Windows box, to Windows running in a Virtual Machine, on Mac OS X, on an Apple.

Any which way: it has even less to do with Solaris. Although, if you look at it sideways, it gets closer since OS X has BSD underpinnings...

All in all: what the fsck? :)

Cailin_Coilleach at 2007-7-6 15:03:40 > top of Java-index,General,Talk to the Sysop...