--- "Linskey, Patrick" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
 * @fax 1.309.424.4982
 */

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

Reply via email to