Bug 37200 - Split task
Summary: Split task
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: unspecified
Hardware: Other other
: P2 enhancement with 1 vote (vote)
Target Milestone: ---
Assignee: Ant Notifications List
Keywords: PatchAvailable
Depends on:
Reported: 2005-10-21 21:10 UTC by Dale Anson
Modified: 2009-07-31 06:17 UTC (History)
0 users

Split task source code. (9.23 KB, text/plain)
2005-10-21 21:13 UTC, Dale Anson
Unit test for Split task. (9.22 KB, text/plain)
2005-10-21 21:15 UTC, Dale Anson
Documentation for Split task (7.62 KB, text/html)
2005-10-21 21:17 UTC, Dale Anson

Note You need to log in before you can comment on or make changes to this bug.
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.


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.