Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 82798 invoked from network); 30 Jul 2004 16:26:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 30 Jul 2004 16:26:37 -0000 Received: (qmail 73436 invoked by uid 500); 30 Jul 2004 16:26:28 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 73406 invoked by uid 500); 30 Jul 2004 16:26:28 -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 73393 invoked by uid 99); 30 Jul 2004 16:26:28 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [66.163.170.249] (HELO web20426.mail.yahoo.com) (66.163.170.249) by apache.org (qpsmtpd/0.27.1) with SMTP; Fri, 30 Jul 2004 09:26:24 -0700 Message-ID: <20040730162624.17233.qmail@web20426.mail.yahoo.com> Received: from [65.247.233.98] by web20426.mail.yahoo.com via HTTP; Fri, 30 Jul 2004 09:26:24 PDT Date: Fri, 30 Jul 2004 09:26:24 -0700 (PDT) From: Matt Benson Subject: Re: Call an ant build file from a java file? To: Ant Users List In-Reply-To: <410A75B7.6000500@branaghgroup.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --- Chris wrote: > Is it possible to execute ant build files from a > java source? > > Chris Yes, one quick place to look would be in the testcases subdivision of Ant's source--org.apache.tools.ant.BuildFileTest in particular may give you a nice head start. Also you should definitely read "Developing with Ant">"Using Ant Tasks Outside of Ant" from the manual. -Matt __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org