ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: using existng task in own task
Date Wed, 18 Jul 2001 09:17:30 GMT
On Wed, 18 Jul 2001, <noname23@web.de> wrote:

> jarTask = project.createTask("Jar");

Unless this is a typo in the mail: Task names are case sensitive, this
should be "jar".

> jarTask.setBasedir(new File(basedir));

If you get a NullPointerException here, this probably is because
jarTask is null (caused by the wrong name above).

Stefan

Mime
View raw message