Bug 37200

Summary: Split task
Product: Ant Reporter: Dale Anson <danson>
Component: Core tasksAssignee: Ant Notifications List <notifications>
Status: NEW ---    
Severity: enhancement Keywords: PatchAvailable
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: other   
Attachments: Split task source code.
Unit test for Split task.
Documentation for Split task

Description Dale Anson 2005-10-21 21:10:44 UTC
This request is to submit a candidate for a Split task to Ant.  This task splits
a file or property value into a number of smaller files.  This request
originated on the Ant user mailing list, here is part of a message from Matt
Benson on Oct 19, 2005:

-----
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
-----

Currently, this task is part of the extra tasks distributed with Antelope
(http://antelope.tigris.org).  Unit tests for the task are available, but the
unit test relies heavily on other Antelope tasks, which may or may not be a problem.
Comment 1 Dale Anson 2005-10-21 21:13:57 UTC
Created attachment 16772 [details]
Split task source code.

Will need modification:

1) Currently does not have a license.  This was originally distributed under
Apache 1.1 license, no problem to upgrade to later Apache license.

2) Package needs to be modified as appropriate.
Comment 2 Dale Anson 2005-10-21 21:15:14 UTC
Created attachment 16774 [details]
Unit test for Split task.

This unit test relies heavily on other tasks from Antelope.
Comment 3 Dale Anson 2005-10-21 21:17:49 UTC
Created attachment 16775 [details]
Documentation for Split task

Originally generated from docbook xml format. I can supply the original xml if
that would be more appropriate.
Comment 4 Matt Benson 2005-10-21 21:19:59 UTC
Thanks, Dale.  I have downloaded these and will be looking as time permits.