Ah, I'll stick with the slightly more verbose solution then; I'll give the 
sugar another try when 0.9 is released. Thanks for the insight.

Op 16 jul. 2010 om 17:01 heeft John Murph <[email protected]> het volgende 
geschreven:

> On Fri, Jul 16, 2010 at 10:05 AM, Levi Hoogenberg <[email protected]> 
> wrote:
> Hello,
> 
> I've just upgradled my build file to 0.9-preview-3 and I ran into some 
> problems with the copy spec's from method. I've got a working build again, 
> but it would be nice if someone could answer the following questions:
> Should
> 
> from(someDir).include('**/*.java')
> 
> have the same effect as
> 
> from(someDir) {
>     include '**/*.java'
> }
> 
> ? (For me it doesn't, so I'm sticking to the second form ATM.)
> 
> We have noticed some problems with preview 3 and using the fluent style 
> interfaces for copy.  We don't understand what is going on yet, but Steve has 
> been looking into it (in between meetings and vacation and such).  The second 
> form is a workaround until this problem is identified and fixed (I'm pretty 
> sure 0.9 final will have a fix for this).
>  
> When building an archive, should it be possible to use from(someDir) without 
> any configuration? This works for my source zip files, but not for my 
> project's distribution (in the latter case, nothing gets added to the zip 
> file until I add include '**').
> I thought that I had a third question, but I can't seem to remember it. Oh 
> well.
> Thanks in advance,
>   Levi
> 
> 
> 
> -- 
> John Murph
> Automated Logic Research Team

Reply via email to