ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simeon Fitch <meta...@yahoo.com>
Subject Re: [PATCH] Easily invoking ant via Java APIs
Date Tue, 10 Apr 2001 01:50:45 GMT

--- "Linskey, Patrick" <plinskey@techtrader.com> wrote:
> Hello,
> 
> I'm integrating ant into an IDE as the primary compilation tool, and
> was hoping to be able to trivially invoke ant as if it were invoked
> from a shell prompt. Unfortunately, the 'main' method in
> org.apache.tools.ant.Main invokes System.exit(), and the Main
> constructor and 'runBuild' methods are protected and private,
> respectively. 

<snip>

Check out the class org.apache.tools.ant.gui.core.ProjectManager for a
"non-invasive" (but still not pretty) approach to doing what you want. 

=====
/** 
 * @author Simeon H.K. Fitch
 * @organization Mustard Seed Software
 * @see http://www.mustardseedsoftware.com
 * @mail mailto:simeon.fitch@mseedsoft.com
 * @fax 1.309.424.4982
 */

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Mime
View raw message