Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 86148 invoked from network); 25 Sep 2009 18:38:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Sep 2009 18:38:51 -0000 Received: (qmail 26675 invoked by uid 500); 25 Sep 2009 18:38:50 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 26616 invoked by uid 500); 25 Sep 2009 18:38:50 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 26606 invoked by uid 99); 25 Sep 2009 18:38:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 18:38:49 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MISSING_MID,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.247.81.205] (HELO tss3.serverconfig.com) (63.247.81.205) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 18:38:40 +0000 Received: from chello080108012065.4.11.vie.surfer.at ([80.108.12.65] helo=MIPOSAT.byrden.com) by tss3.serverconfig.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MrFgQ-00035u-Iy for user@ant.apache.org; Fri, 25 Sep 2009 20:38:19 +0200 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Fri, 25 Sep 2009 20:38:13 +0200 To: "Ant Users List" From: David Byrden Subject: Re: Launch Ant build from Java In-Reply-To: References: <958D9F21-6285-4900-8EAE-CBEA4B7B9C98@novlog.com> <20090925174556.D4238816018@nike.apache.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_7366671==_" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - tss3.serverconfig.com X-AntiAbuse: Original Domain - ant.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - byrden.com X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20090925183849.B4CB9724882@athena.apache.org> --=====================_7366671==_ Content-Type: text/plain; charset="us-ascii"; format=flowed Here are the classes. The entry point is main() in com.byrden.ant.launch.DavesAntLauncher This is just a launcher, like the existing ANT launcher, and you must specify the "main" class you want it to use, via a command line option: -main com.byrden.ant.launch.DavesMain Also feed it any other command-line parameters that you have, e.g. the target name, as Strings. And remember to put any extra library JARs that you need on your classpath, e.g. the commons JARs. David --=====================_7366671==_ Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --=====================_7366671==_--