Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 79816 invoked from network); 1 Sep 2004 14:01:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Sep 2004 14:01:34 -0000 Received: (qmail 70869 invoked by uid 500); 1 Sep 2004 14:01:08 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 70836 invoked by uid 500); 1 Sep 2004 14:01:08 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 70803 invoked by uid 99); 1 Sep 2004 14:01:07 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=DATE_IN_FUTURE_24_48 X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [203.123.176.52] (HELO satyaki.pacific.net.in) (203.123.176.52) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Sep 2004 07:01:07 -0700 Received: from mail2.bgr.ionidea.com (sixz0035.bgr.ionidea.com [203.123.184.35] (may be forged)) by satyaki.pacific.net.in with SMTP id TAA12695 for ; Wed, 1 Sep 2004 19:31:03 +0530 (IST) Received: from ionlifesci19 (W186.bgr.ionidea.com [10.91.1.186] (may be forged)) by mail2.bgr.ionidea.com (8.12.8p1/8.12.2) with ESMTP id i81E12Kh010920 for ; Wed, 1 Sep 2004 19:31:03 +0530 From: "Ashutosh Kumar" To: "'Ant Users List'" Subject: RE: calling ant from java program Date: Thu, 2 Sep 2004 19:31:10 +0530 Message-ID: <00a001c490f5$4d3fa360$ba015b0a@ionlifesci19> 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 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I am trying to execute a Ant program It works fine in stand alone , but when integarted with swing GUI it does not work.What may be the reason.?? ClientHandler t = new ClientHandler(); ProgramMain programMain=new ProgramMain( t); try { programMain.executeBuild(); } catch (Exception ex) { ex.printStackTrace() ; } catch (Throwable ex) { ex.printStackTrace(); -----Original Message----- From: Olivier Croisier [mailto:Olivier.Croisier@thales-is.com] Sent: Thursday, August 26, 2004 7:47 PM To: Ant Users List Subject: Re: calling ant from java program Ah, that explains many things ! I thought you wanted to call build.xml's targets... Anyway, according to your previous post, the error message you got was related to a "name" attribute, that couldn't be set for some object. Check that all the "setName" methods you call actually work, ie that "name" attributes exist for each "setName"-ed objects, as it seems to be a javabean reflection problem. -- CROISIER Olivier Software Engineer Thales IS - ANS olivier.croisier@thales-is.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org