ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject Re: using existing task in own task
Date Wed, 18 Jul 2001 14:37:26 GMT
Try "jar", not "Jar"

Conor

----- Original Message -----
From: "Jens Kumpfmüller" <jens.kumpfmueller@stud.uni-rostock.de>
To: <ant-user@jakarta.apache.org>
Sent: Wednesday, July 18, 2001 5:05 PM
Subject: using existing task in own task


> hi,
>
> i tried to use the Jar task in my own task:
>
> Jar jarTask;
> jarTask = (Jar)project.createTask("Jar");
> jarTask.setBasedir(new File(basedir));
>
>
> but i always get a NUllPointerException at the third line.
>
> so what's wrong with it?
>
> thx
>
> jens
>


Mime
View raw message