<?xml version="1.0"?> <configuration> <label>Perforce</label> <variables> <variable basic="true" executable="false" label="P4CLIENT" localDir="false" localFile="false" name="P4CLIENT" order="-1"> <value>your perforce client name</value> </variable> <variable basic="true" executable="false" label="P4PORT" localDir="false" localFile="false" name="P4PORT" order="-1"> <value>perforce:1666</value> </variable> <variable basic="true" executable="false" label="P4USER" localDir="false" localFile="false" name="P4USER" order="-1"> <value>your perforce user name</value> </variable> <variable basic="true" executable="false" label="P4PASSWD" localDir="false" localFile="false" name="P4PASSWD" order="-1"> <value>your perforce password</value> </variable> <variable basic="true" executable="false" label="P4 executable" localDir="false" localFile="false" name="P4" order="-1"> <value>p4</value> </variable> <variable basic="false" name="P4GLOBAL"> <value>${P4} -u ${P4USER} -c ${P4CLIENT} -p ${P4PORT} -P ${P4PASSWD}</value> </variable> <variable basic="false" name="CLIENT_FILE_PATH"> <value>${ROOTDIR}$[? PATH] [${PS}${PATH}] []</value> </variable> <variable basic="false" name="QUOTE"> <value>"</value> </variable> <variable basic="false" name="POSSIBLE_FILE_STATUSES"> <value>"have", "missing", "edit", "add", "delete", "integrate", "branch", "edit,*locked*", "edit,unresolved"</value> </variable> <variable basic="false" name="POSSIBLE_FILE_STATUSES_LOCALIZED"> <value>"haveXX", "missingXX", "editXX", "addXX", "deleteXX", "integrateXX", "branchXX", "editXX,*locked*", "editXX,unresolved"</value> </variable> <variable basic="false" name="NOT_MODIFIABLE_FILE_STATUSES"> <value>"add", "branch", "integrate", "have"</value> </variable> <variable basic="false" name="DIRLIST_COMMAND"> <value>sh -c "p4 -u ${P4USER} -c ${P4CLIENT} -p ${P4PORT} -P ${P4PASSWD} dirs ${ROOTDIR}${PS}$[? DIR] [${DIR}${PS}] []%1"</value> </variable> <variable basic="false" name="CD"> <value>cd</value> </variable> <variable basic="false" name="MODULE"> <value></value> </variable> </variables> <commands> <command displayName="Perforce" name="ROOT"> <command displayName="Refresh" name="LIST"> <property name="data.size.index"> <value>-1</value> </property> <property name="exec"> <value>vcs.list.P4ListCommand.class sh -c "${P4GLOBAL} fstat ${ROOTDIR}${PS}$[? DIR] [${DIR}${PS}] []%1"</value> </property> <property name="error.regex"> <value>^(.*$)</value> </property> <property name="data.date.index"> <value>-1</value> </property> <property name="onRoot"> <value>true</value> </property> <property name="data.attr.index"> <value>3</value> </property> <property name="data.revision.index"> <value>2</value> </property> <property name="data.regex"> <value>^(\.\.\.) ([a-zA-Z]+) (.*)$</value> </property> <property name="data.fileName.index"> <value>0</value> </property> <property name="data.status.index"> <value>1</value> </property> </command> <command displayName="Refresh Recursively" name="LIST_SUB"> <property name="exec"> <value></value> </property> <property name="onRoot"> <value>true</value> </property> </command> <separator/> <command displayName="Sync" name="SYNC"> <property name="changingNumRevisions"> <value>false</value> </property> <property name="exec"> <value>sh -c ${QUOTE}${P4GLOBAL} sync ${CLIENT_FILE_PATH}${QUOTE}</value> </property> <property name="onFile"> <value>true</value> </property> <property name="changingRevision"> <value>true</value> </property> <property name="checkForModifications"> <value>true</value> </property> <property name="onDir"> <value>false</value> </property> <property name="refreshCurrentFolder"> <value>true</value> </property> </command> <command displayName="Sync Recursively" name="SYNC_SUB"> <property name="changingNumRevisions"> <value>true</value> </property> <property name="exec"> <value>sh -c "${P4GLOBAL} sync ${CLIENT_FILE_PATH}${PS}..."</value> </property> <property name="onFile"> <value>false</value> </property> <property name="changingRevision"> <value>false</value> </property> <property name="checkForModifications"> <value>true</value> </property> <property name="refreshRecursivelyPatternUnmatched"> <value>File(s) up-to-date.</value> </property> <property name="onDir"> <value>true</value> </property> </command> <command displayName="Edit" name="EDIT"> <property name="exec"> <value>sh -c "${P4GLOBAL} edit ${CLIENT_FILE_PATH}"</value> </property> <property name="error.regex"> <value>^(.*)$</value> </property> <property name="refreshCurrentFolder"> <value>true</value> </property> <property name="checkForModifications"> <value>false</value> </property> </command> <command displayName="Revert" name="REVERT"> <property name="exec"> <value>sh -c "${P4GLOBAL} revert ${CLIENT_FILE_PATH}"</value> </property> <property name="onDir"> <value>false</value> </property> <property name="error.regex"> <value>^(.*)$</value> </property> <property name="refreshCurrentFolder"> <value>true</value> </property> <property name="checkForModifications"> <value>true</value> </property> <property name="disabledOnStatus"> <value>missing, have</value> </property> <property name="onRoot"> <value>false</value> </property> <property name="confirmationMsg"> <value>Do you really want to revert this file?</value> </property> </command> <separator/> <command displayName="Lock" name="LOCK"> <property name="exec"> <value>sh -c "${P4GLOBAL} lock ${CLIENT_FILE_PATH}"</value> </property> <property name="refreshCurrentFolder"> <value>true</value> </property> <property name="disabledOnStatus"> <value>missing, have</value> </property> <property name="onRoot"> <value>true</value> </property> </command> <command displayName="Unlock" name="UNLOCK"> <property name="exec"> <value>sh -c "${P4GLOBAL} unlock ${CLIENT_FILE_PATH}"</value> </property> <property name="refreshCurrentFolder"> <value>true</value> </property> <property name="disabledOnStatus"> <value>missing, have, edit, "edit,unresolved"</value> </property> <property name="onRoot"> <value>true</value> </property> </command> <separator/> <command displayName="Add" name="ADD"> <property name="exec"> <value>sh -c "${P4GLOBAL} add ${CLIENT_FILE_PATH}"</value> </property> <property name="changingRevision"> <value>true</value> </property> <property name="error.regex"> <value>^(.*)$</value> </property> <property name="data.regex"> <value>^(.*)$</value> </property> <property name="disabledOnStatus"> <value>missing, have, edit, integrate, branch, add, "edit,*locked*", "edit,unresolved"</value> </property> <property name="onRoot"> <value>true</value> </property> </command> <command displayName="Delete" name="DELETE"> <property name="exec"> <value>sh -c "${P4GLOBAL} delete ${CLIENT_FILE_PATH}"</value> </property> <property name="onDir"> <value>false</value> </property> <property name="refreshCurrentFolder"> <value>true</value> </property> <property name="confirmationMsg"> <value>Do you really want to delete this file?</value> </property> <property name="onRoot"> <value>false</value> </property> </command> </command> </commands> </configuration>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 1014 | axel_wienberg |
copied perforte and sitepadp4 files from my homepage to the public depot. happy branching and improving :-) |