|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.spiffyui.build.RevisionInfoUtil
public class RevisionInfoUtil
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 |
---|
public RevisionInfoUtil()
Method Detail |
---|
public static RevisionInfoBean getRevisionInfo(java.io.File rootDir) throws java.lang.InterruptedException
rootDir
- the root to get revision information from
java.lang.InterruptedException
- if there is an error waiting for the output of the version control commands
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |