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
context.

Regards,
Nagendra



Jeffrey E Care wrote:
> 
> Raja Nagendra Kumar <nagendra.r...@tejasoft.com> 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: 
http://www.nabble.com/FileSet-with-copy-fails-with-NPE..-tp20935877p21015811.html
Sent from the Ant - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to