Java Doc for SvnSystemImpl.java in  » Build » antmod » org » antmod » scm » impl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Build » antmod » org.antmod.scm.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.antmod.scm.impl.SvnSystemImpl

SvnSystemImpl
public class SvnSystemImpl implements ScmSystem(Code)
Subversion repository provider, providing access to this compelling Source Configuration Management alternative for CVS.

This Subversion repository provider is a thin layer on top of the "svn" commandline executable, and as such requires the "svn" executable to be in the PATH of the system.
author:
   Klaas Waslander



Field Summary
final public static  charREVISION_NAME_SEPARATOR
    
final public static  charREVISION_VERSION_SEPARATOR
    

Constructor Summary
public  SvnSystemImpl()
     Public default onstructor.

Method Summary
public  StringcreateBranchInTrunk(ScmVersion newBranchForModule)
     Creates a new branch in the trunk of the given module.
public  StringcreateTagInBranch(ScmVersion existingBranch, ScmVersion newTag)
     Creates a new tag in the given BRANCH of the given module.
public  voiddoAdd(File file, boolean recursive)
    
public  voiddoCheckout(String moduleName, File destDir, ScmVersion version, boolean reallyQuiet)
     Implements Subversion checkout of a module.
public  voiddoCheckoutOrUpdate(String packageName, File destDir, ScmVersion version, boolean reallyQuiet)
    
public  voiddoCommit(File file, String message)
     Commit the given file or a while directory to Subversion.
public  voiddoExport(String moduleName, File destDir, ScmVersion version, boolean reallyQuiet)
     Implements Subversion export of a module.
public  voiddoMerge(File moduleDir, ScmVersion version)
    
public  voiddoMerge(File moduleDir, ScmVersion version, boolean reallyQuiet)
    
public  voiddoUpdate(File file, ScmVersion version)
    
public  ScmDifference[]getDifferences(ScmVersion version1, ScmVersion version2)
     Returns the files that have changed between the two given Subversion versions.
public  StringgetErrorOutput()
    
public  ScmVersiongetLatestVersion(File moduleDir)
     If the given module directory is not a tag, returns the latest version for that directory.
public  ScmVersiongetLocalVersion(File moduleDir)
     Returns the currently checked out version of the module in the given directory.
public  ScmVersiongetLocalVersion(String moduleName, File moduleDir)
    
public  StringgetRevisionNumber(File file)
     Returns the latest file revision.
public  StringgetStandardOutput()
    
public  ScmUrlgetUrl()
    
public  ScmVersion[]getVersionsInBranch(File file, ScmVersion branch)
     Returns all available versions for the given file in the given branch, with the newest number first and the oldest number last (oldest is usually the ".0" version).
public  booleanisCheckoutDir(File directory)
    
public  booleanisUpToDate(File checkoutDir)
     Check whether the given checkout directory is up-to-date when comparing it to the repository contents.
static  ScmVersionparseSvnPath(String moduleName, String svnPath)
    
static  StringrenderSvnPath(String moduleName, ScmVersion ver)
    
static  StringrenderUrlToSvnArg(ScmUrl url)
    
public  voidsetUrl(ScmUrl providerUrl)
    

Field Detail
REVISION_NAME_SEPARATOR
final public static char REVISION_NAME_SEPARATOR(Code)



REVISION_VERSION_SEPARATOR
final public static char REVISION_VERSION_SEPARATOR(Code)




Constructor Detail
SvnSystemImpl
public SvnSystemImpl()(Code)
Public default onstructor.




Method Detail
createBranchInTrunk
public String createBranchInTrunk(ScmVersion newBranchForModule)(Code)
Creates a new branch in the trunk of the given module.



createTagInBranch
public String createTagInBranch(ScmVersion existingBranch, ScmVersion newTag)(Code)
Creates a new tag in the given BRANCH of the given module.



doAdd
public void doAdd(File file, boolean recursive)(Code)



doCheckout
public void doCheckout(String moduleName, File destDir, ScmVersion version, boolean reallyQuiet)(Code)
Implements Subversion checkout of a module.



doCheckoutOrUpdate
public void doCheckoutOrUpdate(String packageName, File destDir, ScmVersion version, boolean reallyQuiet)(Code)



doCommit
public void doCommit(File file, String message)(Code)
Commit the given file or a while directory to Subversion.
Parameters:
  file -



doExport
public void doExport(String moduleName, File destDir, ScmVersion version, boolean reallyQuiet)(Code)
Implements Subversion export of a module.



doMerge
public void doMerge(File moduleDir, ScmVersion version)(Code)



doMerge
public void doMerge(File moduleDir, ScmVersion version, boolean reallyQuiet)(Code)



doUpdate
public void doUpdate(File file, ScmVersion version)(Code)



getDifferences
public ScmDifference[] getDifferences(ScmVersion version1, ScmVersion version2)(Code)
Returns the files that have changed between the two given Subversion versions.



getErrorOutput
public String getErrorOutput()(Code)



getLatestVersion
public ScmVersion getLatestVersion(File moduleDir)(Code)
If the given module directory is not a tag, returns the latest version for that directory. null if no latest version is found



getLocalVersion
public ScmVersion getLocalVersion(File moduleDir) throws BuildException(Code)
Returns the currently checked out version of the module in the given directory.
Parameters:
  moduleDir - The directory where the module is currently checked out The current local version of the module
throws:
  org.apache.tools.ant.BuildException -



getLocalVersion
public ScmVersion getLocalVersion(String moduleName, File moduleDir) throws BuildException(Code)



getRevisionNumber
public String getRevisionNumber(File file)(Code)
Returns the latest file revision.



getStandardOutput
public String getStandardOutput()(Code)



getUrl
public ScmUrl getUrl()(Code)



getVersionsInBranch
public ScmVersion[] getVersionsInBranch(File file, ScmVersion branch)(Code)
Returns all available versions for the given file in the given branch, with the newest number first and the oldest number last (oldest is usually the ".0" version).



isCheckoutDir
public boolean isCheckoutDir(File directory)(Code)



isUpToDate
public boolean isUpToDate(File checkoutDir)(Code)
Check whether the given checkout directory is up-to-date when comparing it to the repository contents.
Parameters:
  checkoutDir - The directory with locally checked out contents Whether the checkoutDir is up-to-date



parseSvnPath
static ScmVersion parseSvnPath(String moduleName, String svnPath)(Code)



renderSvnPath
static String renderSvnPath(String moduleName, ScmVersion ver)(Code)



renderUrlToSvnArg
static String renderUrlToSvnArg(ScmUrl url)(Code)



setUrl
public void setUrl(ScmUrl providerUrl)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.