ANT Tasks for Perforce integration.


Interface Summary
P4Handler Interface for p4 job output stream handler.
P4OutputHandler Interface for p4 job output stream handler.

Class Summary
P4Add Adds specified files to Perforce.
P4Base Base class for Perforce (P4) ANT tasks.
P4Change Requests a new changelist from the Perforce server.
P4Counter Obtains or sets the value of a counter.
P4Delete Checkout files for deletion.
P4Edit Open file(s) for edit.
P4Fstat P4Fstat--find out which files are under Perforce control and which are not.
P4HandlerAdapter base class to manage streams around the execution of the Perforce command line client
P4Have Lists Perforce files currently on client.
P4Integrate Integrate file(s).
P4Label Creates a new Perforce label and set contents to reflect current client file revisions.
P4Labelsync This method syncs an existing Perforce label against the Perforce client or against a set of files/revisions.
P4OutputStream heavily inspired from LogOutputStream this stream class calls back the P4Handler on each line of stdout or stderr read
P4Reopen Reopen Perforce checkout files between changelists.
P4Revert Revert Perforce open files or files in a changelist
P4Submit Submits a numbered changelist to Perforce.
P4Sync Synchronize client space to a Perforce depot view.
SimpleP4OutputHandler simple implementation of P4HandlerAdapter used by tasks which are not actually processing the output from Perforce

Package Description

ANT Tasks for Perforce integration. These tasks provide basic P4 capabilities to automated ANT-based build systems. Note: the tasks in this package are linked against the Jakarta ORO 2.0 library which brings the power of Perl 5 regular expressions to Java. These tasks also require you to have the p4 (or p4.exe) client in your path.

Les Hughes
See Also:
Ant Project, Perforce, P4Sync, P4Label, P4Have, P4Change, P4Edit, P4Submit, P4Counter