Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 55071 invoked from network); 17 Apr 2002 12:16:49 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 17 Apr 2002 12:16:49 -0000 Received: (qmail 20630 invoked by uid 97); 17 Apr 2002 12:16:41 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 20614 invoked by uid 97); 17 Apr 2002 12:16:41 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 20603 invoked from network); 17 Apr 2002 12:16:40 -0000 Message-ID: <72D488FDEADFD41185C100D0B781F93A01059457@INDIA> From: Sujan Digumarti To: 'Ant Users List' Subject: RE: Run time commands Date: Wed, 17 Apr 2002 17:43:57 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Command Line input is not possible any ways.. only thing possible is to redirect the result of a previous exec to another exec task for example -----Original Message----- From: Oisin Kim [mailto:oisin.kim@aurium.net] Sent: Wednesday, April 17, 2002 5:36 PM To: 'Ant Users List' Subject: RE: Run time commands Hi again, I've tried using the exec aommand but the result is exactly the same. Commandline input is not possible. Any ideas are welcome! Oisin Heres the new test task: I've also tried: -----Original Message----- From: Oisin Kim [mailto:oisin.kim@aurium.net] Sent: 17 April 2002 12:29 To: 'Ant Users List' Subject: RE: Run time commands Hi Stefan, Thanks for the reply, I'm using the tag to call run a class which then reads reads some properties files and runs some other java classe(s) using reflection, not the exec command. I have seen the command but thought it wasn't as clean a solution as using . The excerpt from the ant XML file is: The module-test simply builds the classes the net.aurium.Harness will run using reflection. As I mentioned to Kevin off-list, the command line question is actually a simplification of the real problem, but I'd hope I wan't too wrong when I made the simplification, as I think they're related. The thing I didn't mention is that I'm also using JNI to receive native Event calls from a MFC/C++ application, the MFC application is frozen as I start it from one of the relfected classes and it seems that Ant won't allow me to use runtime data input to the running application from commandline or from this MFC app. Apologies if I've misled you with my original question, I was hoping someone would know a solution to the simpler version I gave first and I could work the rest out myself! Thanks again for the reply, Oisin -----Original Message----- From: Stefan Bodewig [mailto:bodewig@apache.org] Sent: 17 April 2002 10:52 To: ant-user@jakarta.apache.org Subject: Re: Run time commands On Wed, 17 Apr 2002, Oisin Kim wrote: > I know I can pass inputs using an argument but I > need to input data base on the output from the program I'm running! I assume you run that command via , yes? If so, you can set a property to the output of your command ('s outputpropoperty attribute) and later use that property inside . Stefan -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: