Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 24344 invoked from network); 17 Apr 2002 11:33:06 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 17 Apr 2002 11:33:06 -0000 Received: (qmail 16575 invoked by uid 97); 17 Apr 2002 11:32:58 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 16559 invoked by uid 97); 17 Apr 2002 11:32:57 -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 16548 invoked from network); 17 Apr 2002 11:32:57 -0000 From: "Oisin Kim" To: "'Ant Users List'" Subject: RE: Run time commands Date: Wed, 17 Apr 2002 12:28:47 +0100 Message-ID: <000501c1e603$0d44fd40$4300a8c0@ring> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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: