ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gene Margolin <gmargo...@futuresource.com>
Subject Re: delete file
Date Wed, 30 Aug 2000 14:09:00 GMT
The stack trace:
BUILD CONFIG ERROR:
Could not create task of type:
delete due to java.lang.NullPointerException
org.apache.tools.ant.BuildException:
Could not create task of type:
delete due to java.lang.NullPointerException
at org.apache.tools.ant.Project.createTask<Project.java 344>

Conor MacNeill wrote:

> Gene,
>
> Works for me with release 1.1 and the latest version of ant. Can you give us
> the stack trace from the null pointer exception?
>
> Conor
>
> > -----Original Message-----
> > From: Gene Margolin [mailto:gmargolin@futuresource.com]
> > Sent: Wednesday, 30 August 2000 4:10
> > To: ant-user@jakarta.apache.org
> > Subject: delete file
> >
> >
> > When I  use task <delete file="path/filename"> in my build file I have a
> > NullPointerException.
> > The path and file name are correct. If I use <deltree
> > dir="path/filename">, then
> > it works OK.
> > Is there some problem in ant?
> >
> > Gene Margolin.
> >


Mime
View raw message