Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 60508 invoked from network); 23 Jan 2005 19:11:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Jan 2005 19:11:32 -0000 Received: (qmail 68040 invoked by uid 500); 23 Jan 2005 19:11:30 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 67110 invoked by uid 500); 23 Jan 2005 19:11:27 -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 67089 invoked by uid 99); 23 Jan 2005 19:11:27 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail-a.stw-bonn.de (HELO mail-a.stw-bonn.de) (212.201.71.8) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 23 Jan 2005 11:11:26 -0800 Received: from localhost (mail-a [127.0.0.1]) by mail-a.stw-bonn.de (Postfix) with ESMTP id E0CC5FC68 for ; Sun, 23 Jan 2005 20:11:22 +0100 (CET) Received: from mail-a.stw-bonn.de ([127.0.0.1]) by localhost (mail-a.stw-bonn.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02222-05 for ; Sun, 23 Jan 2005 20:11:17 +0100 (CET) Received: from mika.stw-bonn.de (dobryn.stw-bonn.de [131.220.156.68]) by mail-a.stw-bonn.de (Postfix) with ESMTP id AB42DFC5A for ; Sun, 23 Jan 2005 20:11:17 +0100 (CET) From: Maik Dobryn To: "Ant Users List" Subject: Re: How can I execute Ant targets from within a Java program? Date: Sun, 23 Jan 2005 20:11:04 +0100 User-Agent: KMail/1.7.2 References: <207fa8f0501230637793f9e82@mail.gmail.com> <200501231858.42785.maik@dobryn.de> <207fa8f05012310385699b4eb@mail.gmail.com> In-Reply-To: <207fa8f05012310385699b4eb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501232011.16806.maik@dobryn.de> X-Virus-Scanned: at mail.stw-bonn.de X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Andy, are You sure about the presence of both, the base directory and the default target definition in Your build.xml file? For example: Maik On Sunday 23 January 2005 19:38, Andy Kriger wrote: > I added in p.init() and now I get during the parse > > java.lang.NullPointerException > at org.apache.tools.ant.Task.perform(Task.java:373) > at org.apache.tools.ant.Target.execute(Target.java:341) > at > org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:133) > -- Maik D o b r y n ____________________________________________ Email : maik@dobryn.de ____________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org