Hi Rupert, yes that should exactly do what I had in my mind :) Have you tried it already?
Thanks Andrea 2013/1/16 Rupert Westenthaler <rupert.westentha...@gmail.com> > Hi Anrea, > > if I understand correctly you suggest converting > > <copy todir="${target.directory}" flatten="true"> > <resources> > <url url="${model.url}/da-sent.bin"/> > <url url="${model.url}/da-pos-maxent.bin"/> > <url url="${model.url}/da-chunker.bin"/> > </resources> > </copy> > > to something like > > <parallel threadCount="3" timeout="120000"> <!-- 2min timeout --> > <copy todir="${target.directory}" flatten="true" > url="${model.url}/da-sent.bin"/ > > <copy todir="${target.directory}" flatten="true" > url="${model.url}/da-pos-maxent.bin"/ > > <copy todir="${target.directory}" flatten="true" > url="${model.url}/da-chunker.bin"/ > > </parallel> > > would be fine with me > > best > Rupert > > On Tue, Jan 15, 2013 at 11:30 AM, Andrea Di Menna <ninn...@gmail.com> > wrote: > > Hi all, > > > > looks like today there are some problems downloading opennlp lang data > for > > es, from github. > > The download blocks and the compilation halts forever. > > > > Would it be possible to add timeouts to the Ant Copy tasks used to > download > > these kind of files? > > > > Reading Ant docs looks like it is possible to use parallel tasks which > can > > define timeouts [1] > > Moreover, it would be good to have parallel downloads. > > > > What do you think? > > > > Cheers > > Andrea > > > > [1] http://ant.apache.org/manual/Tasks/parallel.html > > > > -- > | Rupert Westenthaler rupert.westentha...@gmail.com > | Bodenlehenstraße 11 ++43-699-11108907 > | A-5500 Bischofshofen >