ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anli Shundi <>
Subject p4add; source code attached
Date Wed, 05 Sep 2001 16:52:54 GMT

I wrote for my own use perforce's p4add optional task --
seems this was already requested.

Is it possible to add it to the distribution ? 

	commandlength is a positive integer specifying the maximum length
		of the commandline when adding files.  Defaults to 450,
		higher values mean faster execution, but also possible
	changelist is a positive integer specifying the changelist.  If not
		the files will be added to the default one.  OPTIONAL.

Usage sample:

	Require a changelist, add all java files starting from a directory,
and submit

		<p4add commandlength="20000" changelist="${p4.change}">
			<fileset dir="../dir/src/" includes="**/*.java"/>
		<p4submit change="${p4.change}"/>

Files to add:

Files to change:
	1. In src/main/org/apache/tools/ant/taskdefs/ add

	2. Update docs/manual/OptionalTasks/perforce.html

Anli Shundi            
Product Development Group        office: (919) 969-6518
TIBCO Software Inc.        |  |

View raw message