org.apache.tools.ant.taskdefs.optional.perforce
Class P4Fstat
P4Fstat--find out which files are under Perforce control and which are not.
Example Usage:
<project name="p4fstat" default="p4fstat"
basedir="C:\dev\gnu">
<target name="p4fstat" >
<p4fstat showfilter="all">
<fileset dir="depot" includes="**\/*"/>
</p4fstat>
</target>
</project>
execP4Command , execP4Command , getErrorMessage , getInError , init , setClient , setCmdopts , setErrorMessage , setFailonerror , setGlobalopts , setInError , setPort , setUser , setView |
execute , getDescription , getLocation , getOwningTarget , getRuntimeConfigurableWrapper , getTaskName , getTaskType , getWrapper , handleErrorFlush , handleErrorOutput , handleFlush , handleInput , handleOutput , init , isInvalid , log , log , maybeConfigure , perform , reconfigure , setDescription , setLocation , setOwningTarget , setRuntimeConfigurableWrapper , setTaskName , setTaskType |
addFileset
public void addFileset(FileSet set)
Adds a fileset to be examined by p4fstat.
set
- the fileset to add.
getLengthOfTask
public int getLengthOfTask()
Return the number of files seen.
- the number of files seen.
setChangelist
public void setChangelist(int changelist)
throws BuildException
Sets optionally a change list number.
changelist
- change list that one wants information about.
setShowFilter
public void setShowFilter(String filter)
Sets the filter that one wants applied.
Option | Meaning |
---|
all | all files under Perforce control or not |
existing | only files under Perforce control |
non-existing | only files not under Perforce control or not |
filter
- should be one of all|existing|non-existing.
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.