forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Jose Pablos <che...@che-che.com>
Subject Re: [patch] faster, better copy-content
Date Wed, 23 Jul 2003 18:07:58 GMT
Dave,

Adding the patch on the copy-content adds a bug (people can run forrest 
copy-content ).
I know that this would be removed on the next version, so what about if 
we only apply your patch on the copy-xdocs task only?

Cheers,
Cheche

Dave Brondsema wrote:
> Quoting Juan Jose Pablos <cheche@che-che.com>:
> 
> 
>>Dave,
>>
>>
>>>
>>>Since 'xdocs' is a subdirectory of 'content', copy-content needs to execute
>>
>>before copy-xdocs otherwise the copy-content sync task will delete the
>>'xdocs' dir.
>>
>>Ok, I will test this and apply soon, but then:
>>
>>
>>    <target name="copy-content" if="real-content.present">
>>..
>>        <fileset dir="${project.real-content-dir}">
>>          <exclude name="xdocs/**"/>
>>        </fileset>
>>
>><exclude/> does not work?
>>
> 
> 
> That excludes 'xdocs' from the source.  If copy-xdocs already ran, the 'xdocs'
> dir exists in the destination and is considered to be "hanging" by <sync> and is
> deleted.
> 
> It could potentially get much worse if non-standard 'content' and 'xdocs'
> locations are used.  If these directories weren't nested, writing the <sync>
> tasks would be easier and they would be more efficient.
> 



Mime
View raw message