How to use stdin/stdout with exec

View: New views
9 Messages — Rating Filter:   Alert me  

Urgent : Send me some Initial Docs

by Vipin Batra :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all !

I am a new user to the group. I wanna use ANT for automated testing (In
Webservices). Please send me the Initial docs on ANT covering all the basics
and Examples.
I need to understand the use of ANT with examples so that I am able to
bridge my project.
Thanks in advance,

Vipin Batra.

----- Original Message -----
From: "gboysko" <gboysko@...>
To: <user@...>
Sent: Wednesday, March 29, 2006 6:56 AM
Subject: How to use stdin/stdout with exec


>
> I am using Ant to automate the creation of some Java classes and compile
> them. I also want to be able to execute one of these generated Java
classes
> (which has a builtin command processor). The commands are entered by the
> user (interactively) and the output is sent back to the console (via
> System.out).
>
> I simply want to use either the JAVA or EXEC task to invoke the class, but
I
> can't get the stdin and stdout to be routed to the class. I can see lots
of
> ways to wire up the input/output to files, but no way to have them wired
> back to the Ant console.  Am I missing something? Without specifying
> anything, I don't see anything and can't enter anything.  Is there a way I
> can specify the console/terminal in Windows using the input and output
> attributes?
>
> I am using Ant 1.6.5 on Windows.
> --
> View this message in context:
http://www.nabble.com/How-to-use-stdin-stdout-with-exec-t1360004.html#a36435
92

> Sent from the Ant - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


How to use stdin/stdout with exec

by gboysko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am using Ant to automate the creation of some Java classes and compile them. I also want to be able to execute one of these generated Java classes (which has a builtin command processor). The commands are entered by the user (interactively) and the output is sent back to the console (via System.out).

I simply want to use either the JAVA or EXEC task to invoke the class, but I can't get the stdin and stdout to be routed to the class. I can see lots of ways to wire up the input/output to files, but no way to have them wired back to the Ant console.  Am I missing something? Without specifying anything, I don't see anything and can't enter anything.  Is there a way I can specify the console/terminal in Windows using the input and output attributes?

I am using Ant 1.6.5 on Windows.

Parent Message unknown AW: Urgent : Send me some Initial Docs

by Jan.Materne :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://ant.apache.org/manual/
http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html


Jan

>-----Ursprüngliche Nachricht-----
>Von: Vipin Batra [mailto:vbatra@...]
>Gesendet: Dienstag, 28. März 2006 23:15
>An: Ant Users List
>Betreff: Urgent : Send me some Initial Docs
>
>Hello all !
>
>I am a new user to the group. I wanna use ANT for automated testing (In
>Webservices). Please send me the Initial docs on ANT covering
>all the basics
>and Examples.
>I need to understand the use of ANT with examples so that I am able to
>bridge my project.
>Thanks in advance,
>
>Vipin Batra.
>
>----- Original Message -----
>From: "gboysko" <gboysko@...>
>To: <user@...>
>Sent: Wednesday, March 29, 2006 6:56 AM
>Subject: How to use stdin/stdout with exec
>
>
>>
>> I am using Ant to automate the creation of some Java classes
>and compile
>> them. I also want to be able to execute one of these generated Java
>classes
>> (which has a builtin command processor). The commands are
>entered by the
>> user (interactively) and the output is sent back to the console (via
>> System.out).
>>
>> I simply want to use either the JAVA or EXEC task to invoke
>the class, but
>I
>> can't get the stdin and stdout to be routed to the class. I
>can see lots
>of
>> ways to wire up the input/output to files, but no way to
>have them wired
>> back to the Ant console.  Am I missing something? Without specifying
>> anything, I don't see anything and can't enter anything.  Is
>there a way I
>> can specify the console/terminal in Windows using the input
>and output
>> attributes?
>>
>> I am using Ant 1.6.5 on Windows.
>> --
>> View this message in context:
>http://www.nabble.com/How-to-use-stdin-stdout-with-exec-t136000
>4.html#a36435
>92
>> Sent from the Ant - Users forum at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@...
>> For additional commands, e-mail: user-help@...
>>
>>
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.385 / Virus Database: 268.3.2/294 - Release
>Date: 3/27/2006
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@...
>For additional commands, e-mail: user-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Parent Message unknown RE: Urgent : Send me some Initial Docs

by Manas_Das :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear all,
I tried to use the ant but I am facing some probs. The problem is that I am not getting the class file in my build\classes dir .
Any pointer would be highly appreciated.

Thanks and regards
Manas Ranjan Das
Satyam Computer Service Limited
Chennai Satyam Center, Chennai.
Phone : (044) 32962242
Mobile : 9840589596


-----Original Message-----
From: Jan.Materne@... [mailto:Jan.Materne@...]
Sent: Wednesday, March 29, 2006 11:19 AM
To: user@...
Subject: AW: Urgent : Send me some Initial Docs

http://ant.apache.org/manual/
http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html


Jan

>-----Ursprüngliche Nachricht-----
>Von: Vipin Batra [mailto:vbatra@...]
>Gesendet: Dienstag, 28. März 2006 23:15
>An: Ant Users List
>Betreff: Urgent : Send me some Initial Docs
>
>Hello all !
>
>I am a new user to the group. I wanna use ANT for automated testing (In
>Webservices). Please send me the Initial docs on ANT covering
>all the basics
>and Examples.
>I need to understand the use of ANT with examples so that I am able to
>bridge my project.
>Thanks in advance,
>
>Vipin Batra.
>
>----- Original Message -----
>From: "gboysko" <gboysko@...>
>To: <user@...>
>Sent: Wednesday, March 29, 2006 6:56 AM
>Subject: How to use stdin/stdout with exec
>
>
>>
>> I am using Ant to automate the creation of some Java classes
>and compile
>> them. I also want to be able to execute one of these generated Java
>classes
>> (which has a builtin command processor). The commands are
>entered by the
>> user (interactively) and the output is sent back to the console (via
>> System.out).
>>
>> I simply want to use either the JAVA or EXEC task to invoke
>the class, but
>I
>> can't get the stdin and stdout to be routed to the class. I
>can see lots
>of
>> ways to wire up the input/output to files, but no way to
>have them wired
>> back to the Ant console.  Am I missing something? Without specifying
>> anything, I don't see anything and can't enter anything.  Is
>there a way I
>> can specify the console/terminal in Windows using the input
>and output
>> attributes?
>>
>> I am using Ant 1.6.5 on Windows.
>> --
>> View this message in context:
>http://www.nabble.com/How-to-use-stdin-stdout-with-exec-t136000
>4.html#a36435
>92
>> Sent from the Ant - Users forum at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@...
>> For additional commands, e-mail: user-help@...
>>
>>
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.385 / Virus Database: 268.3.2/294 - Release
>Date: 3/27/2006
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@...
>For additional commands, e-mail: user-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...




DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: Urgent : Send me some Initial Docs

by Jeffrey E Care :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


You might want to try reading the "Smart Questions" FAQ before posting to this list again.

http://www.catb.org/~esr/faqs/smart-questions.html
____________________________________________________________________________________________
Jeffrey E. (Jeff) Care
IBM WebSphere Application Server Development
WAS Pyxis Lead Release Engineer



"Vipin Batra" <vbatra@...> wrote on 03/28/2006 04:15:01 PM:

> Hello all !
>
> I am a new user to the group. I wanna use ANT for automated testing (In
> Webservices). Please send me the Initial docs on ANT covering all the basics
> and Examples.
> I need to understand the use of ANT with examples so that I am able to
> bridge my project.
> Thanks in advance,
>
> Vipin Batra.
>
> ----- Original Message -----
> From: "gboysko" <gboysko@...>
> To: <user@...>
> Sent: Wednesday, March 29, 2006 6:56 AM
> Subject: How to use stdin/stdout with exec
>
>
> >
> > I am using Ant to automate the creation of some Java classes and compile
> > them. I also want to be able to execute one of these generated Java
> classes
> > (which has a builtin command processor). The commands are entered by the
> > user (interactively) and the output is sent back to the console (via
> > System.out).
> >
> > I simply want to use either the JAVA or EXEC task to invoke the class, but
> I
> > can't get the stdin and stdout to be routed to the class. I can see lots
> of
> > ways to wire up the input/output to files, but no way to have them wired
> > back to the Ant console.  Am I missing something? Without specifying
> > anything, I don't see anything and can't enter anything.  Is there a way I
> > can specify the console/terminal in Windows using the input and output
> > attributes?
> >
> > I am using Ant 1.6.5 on Windows.
> > --
> > View this message in context:
> http://www.nabble.com/How-to-use-stdin-stdout-with-exec-t1360004.html#a36435
> 92
> > Sent from the Ant - Users forum at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@...
> > For additional commands, e-mail: user-help@...
> >
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>

Parent Message unknown RE: Urgent : Send me some Initial Docs

by Anderson, Rob (Global Trade) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please read this:
http://www.catb.org/~esr/faqs/smart-questions.html 

You have provided too little information for anyone to effectively provide help. What have you tried? Does the build succeed or fail? Is there an error message? Send the relevant portion of your build.xml.

-Rob Anderson


> -----Original Message-----
> From: Manas_Das [mailto:Manas_Das@...]
> Sent: Tuesday, March 28, 2006 11:38 PM
> To: Ant Users List
> Subject: RE: Urgent : Send me some Initial Docs
>
> Dear all,
> I tried to use the ant but I am facing some probs. The
> problem is that I am not getting the class file in my
> build\classes dir .
> Any pointer would be highly appreciated.
>
> Thanks and regards
> Manas Ranjan Das
> Satyam Computer Service Limited
> Chennai Satyam Center, Chennai.
> Phone : (044) 32962242
> Mobile : 9840589596
>
>
> -----Original Message-----
> From: Jan.Materne@... [mailto:Jan.Materne@...]
> Sent: Wednesday, March 29, 2006 11:19 AM
> To: user@...
> Subject: AW: Urgent : Send me some Initial Docs
>
> http://ant.apache.org/manual/
> http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html
>
>
> Jan
>
> >-----Ursprüngliche Nachricht-----
> >Von: Vipin Batra [mailto:vbatra@...]
> >Gesendet: Dienstag, 28. März 2006 23:15
> >An: Ant Users List
> >Betreff: Urgent : Send me some Initial Docs
> >
> >Hello all !
> >
> >I am a new user to the group. I wanna use ANT for automated
> testing (In
> >Webservices). Please send me the Initial docs on ANT
> covering all the
> >basics and Examples.
> >I need to understand the use of ANT with examples so that I
> am able to
> >bridge my project.
> >Thanks in advance,
> >
> >Vipin Batra.
> >
> >----- Original Message -----
> >From: "gboysko" <gboysko@...>
> >To: <user@...>
> >Sent: Wednesday, March 29, 2006 6:56 AM
> >Subject: How to use stdin/stdout with exec
> >
> >
> >>
> >> I am using Ant to automate the creation of some Java classes
> >and compile
> >> them. I also want to be able to execute one of these generated Java
> >classes
> >> (which has a builtin command processor). The commands are
> >entered by the
> >> user (interactively) and the output is sent back to the
> console (via
> >> System.out).
> >>
> >> I simply want to use either the JAVA or EXEC task to invoke
> >the class, but
> >I
> >> can't get the stdin and stdout to be routed to the class. I
> >can see lots
> >of
> >> ways to wire up the input/output to files, but no way to
> >have them wired
> >> back to the Ant console.  Am I missing something? Without
> specifying
> >> anything, I don't see anything and can't enter anything.  Is
> >there a way I
> >> can specify the console/terminal in Windows using the input
> >and output
> >> attributes?
> >>
> >> I am using Ant 1.6.5 on Windows.
> >> --
> >> View this message in context:
> >http://www.nabble.com/How-to-use-stdin-stdout-with-exec-t136000
> >4.html#a36435
> >92
> >> Sent from the Ant - Users forum at Nabble.com.
> >>
> >>
> >>
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@... For
> >> additional commands, e-mail: user-help@...
> >>
> >>
> >>
> >> --
> >> No virus found in this incoming message.
> >> Checked by AVG Free Edition.
> >> Version: 7.1.385 / Virus Database: 268.3.2/294 - Release
> >Date: 3/27/2006
> >>
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@... For
> additional
> >commands, e-mail: user-help@...
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@... For
> additional commands, e-mail: user-help@...
>
>
>
>
> DISCLAIMER:
> This email (including any attachments) is intended for the
> sole use of the intended recipient/s and may contain material
> that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any
> review or reliance by others or copying or distribution or
> forwarding of any or all of the contents in this message is
> STRICTLY PROHIBITED. If you are not the intended recipient,
> please contact the sender by email and delete all copies;
> your cooperation in this regard is appreciated.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@... For
> additional commands, e-mail: user-help@...
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: Urgent : Send me some Initial Docs

by Vipin Batra :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All !!

I have started using ANT and deploying applications. Can anyone send me the
Useful Code examples to show the tasks I can accomplish using ANT. It would
be great if I am able to get these... Great Thanks in advance ...
Keep booming ..
Cheers !!!
----- Original Message -----
From: <Jan.Materne@...>
To: <user@...>
Sent: Wednesday, March 29, 2006 7:48 AM
Subject: AW: Urgent : Send me some Initial Docs


http://ant.apache.org/manual/
http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html


Jan

>-----Ursprüngliche Nachricht-----
>Von: Vipin Batra [mailto:vbatra@...]
>Gesendet: Dienstag, 28. März 2006 23:15
>An: Ant Users List
>Betreff: Urgent : Send me some Initial Docs
>
>Hello all !
>
>I am a new user to the group. I wanna use ANT for automated testing (In
>Webservices). Please send me the Initial docs on ANT covering
>all the basics
>and Examples.
>I need to understand the use of ANT with examples so that I am able to
>bridge my project.
>Thanks in advance,
>
>Vipin Batra.
>
>----- Original Message -----
>From: "gboysko" <gboysko@...>
>To: <user@...>
>Sent: Wednesday, March 29, 2006 6:56 AM
>Subject: How to use stdin/stdout with exec
>
>
>>
>> I am using Ant to automate the creation of some Java classes
>and compile
>> them. I also want to be able to execute one of these generated Java
>classes
>> (which has a builtin command processor). The commands are
>entered by the
>> user (interactively) and the output is sent back to the console (via
>> System.out).
>>
>> I simply want to use either the JAVA or EXEC task to invoke
>the class, but
>I
>> can't get the stdin and stdout to be routed to the class. I
>can see lots
>of
>> ways to wire up the input/output to files, but no way to
>have them wired
>> back to the Ant console.  Am I missing something? Without specifying
>> anything, I don't see anything and can't enter anything.  Is
>there a way I
>> can specify the console/terminal in Windows using the input
>and output
>> attributes?
>>
>> I am using Ant 1.6.5 on Windows.
>> --
>> View this message in context:
>http://www.nabble.com/How-to-use-stdin-stdout-with-exec-t136000
>4.html#a36435
>92
>> Sent from the Ant - Users forum at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@...
>> For additional commands, e-mail: user-help@...
>>
>>
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.385 / Virus Database: 268.3.2/294 - Release
>Date: 3/27/2006
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@...
>For additional commands, e-mail: user-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


RE: Urgent : Send me some Initial Docs

by Brian McCallion :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Checkout http://www.bronzedrum.com/product.html



-----Original Message-----
From: Vipin Batra [mailto:vbatra@...]
Sent: Friday, March 31, 2006 9:11 PM
To: Ant Users List
Subject: Re: Urgent : Send me some Initial Docs

Hi All !!

I have started using ANT and deploying applications. Can anyone send me the
Useful Code examples to show the tasks I can accomplish using ANT. It would
be great if I am able to get these... Great Thanks in advance ...
Keep booming ..
Cheers !!!
----- Original Message -----
From: <Jan.Materne@...>
To: <user@...>
Sent: Wednesday, March 29, 2006 7:48 AM
Subject: AW: Urgent : Send me some Initial Docs


http://ant.apache.org/manual/
http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html


Jan

>-----Ursprüngliche Nachricht-----
>Von: Vipin Batra [mailto:vbatra@...]
>Gesendet: Dienstag, 28. März 2006 23:15
>An: Ant Users List
>Betreff: Urgent : Send me some Initial Docs
>
>Hello all !
>
>I am a new user to the group. I wanna use ANT for automated testing (In
>Webservices). Please send me the Initial docs on ANT covering
>all the basics
>and Examples.
>I need to understand the use of ANT with examples so that I am able to
>bridge my project.
>Thanks in advance,
>
>Vipin Batra.
>
>----- Original Message -----
>From: "gboysko" <gboysko@...>
>To: <user@...>
>Sent: Wednesday, March 29, 2006 6:56 AM
>Subject: How to use stdin/stdout with exec
>
>
>>
>> I am using Ant to automate the creation of some Java classes
>and compile
>> them. I also want to be able to execute one of these generated Java
>classes
>> (which has a builtin command processor). The commands are
>entered by the
>> user (interactively) and the output is sent back to the console (via
>> System.out).
>>
>> I simply want to use either the JAVA or EXEC task to invoke
>the class, but
>I
>> can't get the stdin and stdout to be routed to the class. I
>can see lots
>of
>> ways to wire up the input/output to files, but no way to
>have them wired
>> back to the Ant console.  Am I missing something? Without specifying
>> anything, I don't see anything and can't enter anything.  Is
>there a way I
>> can specify the console/terminal in Windows using the input
>and output
>> attributes?
>>
>> I am using Ant 1.6.5 on Windows.
>> --
>> View this message in context:
>http://www.nabble.com/How-to-use-stdin-stdout-with-exec-t136000
>4.html#a36435
>92
>> Sent from the Ant - Users forum at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@...
>> For additional commands, e-mail: user-help@...
>>
>>
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.385 / Virus Database: 268.3.2/294 - Release
>Date: 3/27/2006
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@...
>For additional commands, e-mail: user-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: How to use stdin/stdout with exec

by toadFrog :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I read through all the responses to your question. I saw nothing that addressed this.

Your question addresses an issue with is the same problem as running a KSH interactive script from the ant exec command. Specifically, ant does not block for user input when a script executes a read command  ,at least,  using the following configuration:

ant build.xml snippet:

   <target name="promote" depends=""
      description="Usage: ant promote">
      <echo message="running: build-promote.sh"/>
     <exec
        dir="${clearance.dir}"
        spawn="false"
        executable="/bin/ksh">
        <arg line='-c "build-promote.sh < $STDIN"'/>
     </exec>
   </target>


ksh: build-promote.sh  snippet:

echo
echo "Select kit number: "
typeset -i akit
read aKit
echo "Is this kit number ok? $aKit"


Upon execution of the read command, ant must stop and allow the user to enter a response.  Instead what is happening is execution continues with the next line in the shell pgm. I can't enter a response to any of the reads in the pgm.

Seems this is just operator error on our part. But, I've messed around with this too long and tried several different approaches.

Were you able to get this working?

thx in advance. kev.


gboysko wrote:
I am using Ant to automate the creation of some Java classes and compile them. I also want to be able to execute one of these generated Java classes (which has a builtin command processor). The commands are entered by the user (interactively) and the output is sent back to the console (via System.out).

I simply want to use either the JAVA or EXEC task to invoke the class, but I can't get the stdin and stdout to be routed to the class. I can see lots of ways to wire up the input/output to files, but no way to have them wired back to the Ant console.  Am I missing something? Without specifying anything, I don't see anything and can't enter anything.  Is there a way I can specify the console/terminal in Windows using the input and output attributes?

I am using Ant 1.6.5 on Windows.