It is a bug. It is fixed in CVS and will be in a 1.4.1 release. A
workaround is to specify a cache directory.
Conor
Hakan Koseoglu wrote:
> Hi all,
>
> I'm trying to use Ant 1.4 instead of 1.3 and my build fails with the
> following error:
>
> check:
>
> BUILD FAILED
>
> /home/hakank/file.xml:85: java.lang.NullPointerException
>
> where line 85 and abouts are as follows
>
> Line 82: <target name="check" depends="tools">
> Line 83: <!-- this will recursively delete any class -->
> Line 84: <!-- files that depend on out-of-date source -->
> Line 85: <depend srcdir="${src}" closure="true">
> Line 86: <patternset refid="SOURCE"/>
> Line 87: </depend>
> Line 88: </target>
>
> This bit works fine with Ant 1.3.
> What is wrong here?
>