calling ant from java program 2004-09-01 - By Ashutosh Kumar
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@(protected)] 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@(protected)
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|