ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hakan Koseoglu <>
Subject Null pointer exception with depend
Date Mon, 17 Sep 2001 13:14:49 GMT
Hi all,

I'm trying to use Ant 1.4 instead of 1.3 and my build fails with the 
following error:



/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?
Hakan Koseoglu

PCMS Datafit Ltd.
3 Avro Court
Ermine Business Park
Cambs PE29 6XS

Tel: +44-1480-435456
Fax: +44-1480-434012

The information contained in this e-mail is intended only for the person
or entity to which it is addressed and may contain confidential and/or
privileged material. If you are not the intended recipient of this
e-mail, the use of this information or any disclosure, copying or
distribution is prohibited and may be unlawful.

If you received this in error, please contact the sender and delete the
material from any computer.

The views expressed in this e-mail may not necessarily be the views of
The PCMS Group plc and should not be taken as authority to carry out any
instruction contained.

View raw message