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:
>
> 1. 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).
>
> 1.
> 2. 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 '**').
> 3. 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