ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Kumar" <>
Subject RE: calling ant from java program
Date Thu, 02 Sep 2004 14:01:10 GMT
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

ClientHandler t = new ClientHandler();
         ProgramMain programMain=new ProgramMain( t);
             try {
             catch (Exception ex) {
               ex.printStackTrace() ;
             catch (Throwable ex) {

-----Original Message-----
From: Olivier Croisier [] 
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.

Software Engineer
Thales IS - ANS

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message