ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja Nagendra Kumar <>
Subject Re: FileSet with copy fails with NPE..
Date Mon, 15 Dec 2008 15:25:11 GMT

Ok Jeff.

I take the documentation of the base and close this..  Though I would
personally loved this to be resolved differently by way of parent and child
approach or by some global defaults automatically initialized in this


Jeffrey E Care wrote:
> Raja Nagendra Kumar <> wrote on 12/15/2008 
> 08:40:48 AM:
>>        <DeepCopy dir="${foundation.j2me.buildutils.root}/props"
>>           patterns="${deviceID}.*,*.xml,vendor.*, global.*">
>>       <include name="**/${deviceID}.properties"/>
>>        </DeepCopy>
> This is very simple: Ant is creating DeepCopy & that's it. Since Ant is 
> creating DeepCopy as a result of parsing a project file (i.e. build.xml) 
> it will configure DeepCopy. 
> You're creating copy instances within the DeepCopy code, so Ant has no 
> idea that you've created them. You created them so you're responsible for 
> configuring them correctly. It's unreasonable to expect Ant to be 
> omniscient about what you apparently expect it to be omniscient about.
> I understand you're upset that you lost three hours trying to figure this 
> out, but your intransigent pursuit of this issue is baffling considering 
> that you've already been told multiple times what the problem is and 
> pointed to the documentation that explains how all of this works.

View this message in context:
Sent from the Ant - Dev mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message