You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Matt Benson <gu...@yahoo.com> on 2005/10/21 16:49:12 UTC

Re: Size of zip file

--- Dale Anson <da...@grafidog.com> wrote:

> This sounded familiar, so I looked around and found
> a split task that 
> I'd done a while back.  It seems to me I wanted to
> send a largish log 
> file by email from Ant (like 4 or 5 megs), but the
> mail server had a 1MB 
> limit.  I added the task to Antelope, docs for it
> are at:
> 
>
http://antelope.tigris.org/nonav/docs/manual/bk03ch21.html

Cool...
> 
> It is more or less modeled after the Linux/Unix
> split utility.  There is 
> an example of using the task to split a file, then
> it shows how to put 
> it back together with Ant's concat task.
> 
> The Antelope home page is at:
> 
> http://antelope.tigris.org.
> I'm okay with adding this task to the Ant tasks, or
> to AntContrib if 
> that would help.
> 

Hmm... you could add to ac with no work from us. 
haha, always a plus.  But if core has <concat> then it
really makes sense IMO that it should also have
<split>.  So I leave it up to you, Dale.  If you are
willing, just open up an RFE in Bugzilla and attach
the task as an attachment.  Or if you'd just as soon
put it in ant-contrib, it wouldn't be the first time
we had to redirect folks.  :)

-Matt

> Dale
> 
> 
> Matt Benson wrote:
> 
> >--- Ed Moon <em...@lowermybills.com> wrote:
> >
> >  
> >
> >>Here's how to use cat to put a file back together
> >>again:
> >>	cat part1 part2 part3 part4 > wholefile
> >>
> >>Or
> >>	cat part1 > wholefile
> >>	cat part2 >> wholefile
> >>	cat part3 >> wholefile
> >>	cat part4 >> wholefile
> >>    
> >>
> >
> >or, when they are in order:
> >
> >        cat part? > wholefile
> >
> > should also work.
> >
> >In the context of Ant, <concat> with <fileset>
> should
> >easily handle the reassembly.  Since cat and split
> are
> >historically related, I would be +1 to adding a
> >contributed Java split implementation to Ant core,
> if
> >anyone cares to submit one.
> >
> >-Matt
> >
> >
> >
> >	
> >		
> >__________________________________ 
> >Yahoo! Mail - PC Magazine Editors' Choice 2005 
> >http://mail.yahoo.com
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> >For additional commands, e-mail:
> user-help@ant.apache.org
> >
> >  
> >
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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