|
AntXtras/Svn4Ant-1.1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.idaremedia.svn4ant.helpers.Utils
com.idaremedia.svn4ant.helpers.SvnUtils
Common utility function for dealing with some SVNKit classes.
| Method Summary | |
static SVNURL |
copy(SVNURL url)
Tries to return an independent copy of the given repository url. |
static SVNURL |
getAdjustedUrlOrFail(String urlstring,
SVNException origX,
com.idaremedia.antx.apis.Requester clnt)
Tries to rework the incoming urlstring to something valid. |
static void |
quietlyClose(SVNWCAccess wcAccessor)
Quietly closes a set of wc administrators. |
static String |
splitrevision(String inputstring,
com.idaremedia.antx.helpers.ObjectHandle outstring)
Utility to extract embedded revision information from an incoming path or url location. |
static boolean |
tickle(File wc)
Hack the local subversion entries file to say the preceding checkout or update was incomplete. |
static String[] |
toExportableStrings(SVNExternalInfo e)
Create strings of an external's definitions (at most two). |
static String |
token(org.tmatesoft.svn.cli.SVNArgument arg)
Returns the most descriptive argument name for the given SVN subcommand. |
| Methods inherited from class com.idaremedia.svn4ant.helpers.Utils |
closeQuiety, deleteDirectory, getDefaultExcludesFor, getIncludedPaths, getIncludedPaths, initTaskFor, invokePrecommitHook, maybeDelete, message, newrefid, scrubDirectory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static final String token(org.tmatesoft.svn.cli.SVNArgument arg)
arg - the subcommand (non-null)
public static SVNURL copy(SVNURL url)
url - the incoming url
com.idaremedia.antx.apis.BuildError - if unable to copy a valid SVNURL for any reason.
public static String splitrevision(String inputstring,
com.idaremedia.antx.helpers.ObjectHandle outstring)
inputstring - incoming field value string (non-null)outstring - holder for updated field value (without revision)
public static boolean tickle(File wc)
wc - working copy file (non-null)public static void quietlyClose(SVNWCAccess wcAccessor)
wcAccessor - top-level holder o' admin references.public static String[] toExportableStrings(SVNExternalInfo e)
e - the external definition (non-null)
public static SVNURL getAdjustedUrlOrFail(String urlstring,
SVNException origX,
com.idaremedia.antx.apis.Requester clnt)
throws SVNException
urlstring - original script-supplied url stringorigX - original parsing error from script-supplied url string
SVNException - if unable to adjust url string
|
AntXtras/Svn4Ant-1.1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||