Spiffy UI Framework

org.spiffyui.build
Class RevisionInfoUtil

java.lang.Object
  extended by org.spiffyui.build.RevisionInfoUtil

public class RevisionInfoUtil
extends java.lang.Object

The RevisionInfoTask gets information about the current revision being built and makes it available to the project. This task supports Subversion and GIT. Both clients must be available on the current path. It exports two properties: revision.number and revision.date into the project.


Constructor Summary
RevisionInfoUtil()
           
 
Method Summary
static RevisionInfoBean getRevisionInfo(java.io.File rootDir)
          Get the revision information for the specified root directory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RevisionInfoUtil

public RevisionInfoUtil()
Method Detail

getRevisionInfo

public static RevisionInfoBean getRevisionInfo(java.io.File rootDir)
                                        throws java.lang.InterruptedException
Get the revision information for the specified root directory

Parameters:
rootDir - the root to get revision information from
Returns:
the revision info bean with revision information about this directory.
Throws:
java.lang.InterruptedException - if there is an error waiting for the output of the version control commands

Spiffy UI Framework