ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nico Seessle <>
Subject [PATCH] Jar throwing NPE with empty fileset
Date Wed, 26 Feb 2003 00:35:30 GMT
Hi all,

after a long time a small contribution again :-)

Unfortunately I was unable to create a test (at least one integrated 
with the Ant build) for this and got some unexpected errors while trying 
to do so.

So I would like someone to have a look at it. I don't think it should 
affect something else, but it seems I'm not really up-to-date with Ant :-(

The problem:

If you update a jar file and one of the filesets that are passed to the 
task are empty it throws a NPE.

Attached files:
- jar.patch.txt - the patch to
- jar.test.patch - How I tried to integrate a test for that case - maybe
   someone can explain what I did wrong?
- testcase.jar - a simple testcase, throws if NPE if Ant is run for the
   second time.


View raw message