ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: NullPointerException when calling execTask from API
Date Thu, 27 Mar 2003 13:37:39 GMT
On Thu, 27 Mar 2003, Oliver Alth <OALTH@de.ibm.com> wrote:

> Hello, I am trying to call the exec task from the api.
> I get this nullPointerExecption

You forgot to invoke setProject() on your exec member.

BTW, you will want to look at the Execute class which may be better
suited for being used as delegate.

Stefan

Mime
View raw message