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:45:09 GMT
My ant does not understand -version option.
So, I think, It's of a very old version :).
Where can I get the last one?

Conor MacNeill wrote:

> Gene,
>
> What version of ant are you running?
>
> Can you do an ant -version
> and then
> ant -verbose
>
> Cheers
> Conor
>
> > -----Original Message-----
> > From: Gene Margolin [mailto:gmargolin@futuresource.com]
> > Sent: Thursday, 31 August 2000 1:09
> > To: ant-user@jakarta.apache.org
> > Subject: Re: delete file
> >
> >
> > 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