NIHVIVO-2124 store revision info in "revisionInfo" instead of ".revisionInfo"

This commit is contained in:
jeb228 2011-02-23 21:13:36 +00:00
parent 199190fb05
commit 7efe660427

View file

@ -22,7 +22,7 @@ import edu.cornell.mannlib.vitro.utilities.revisioninfo.ProcessRunner.ProcessExc
* is a working directory, then we can build the info from the responses we get * is a working directory, then we can build the info from the responses we get
* from "svn info" and "svnversion". * from "svn info" and "svnversion".
* *
* If that doesn't work, read the information from the ".revisionInfo" file in * If that doesn't work, read the information from the "revisionInfo" file in
* the product directory. Presumably, that file was created when the source was * the product directory. Presumably, that file was created when the source was
* exported from Subversion. * exported from Subversion.
* *
@ -62,7 +62,7 @@ public class RevisionInfoBuilder {
private static final String[] SVNVERSION_COMMAND = { "svnversion", "." }; private static final String[] SVNVERSION_COMMAND = { "svnversion", "." };
private static final String[] SVN_INFO_COMMAND = { "svn", "info" }; private static final String[] SVN_INFO_COMMAND = { "svn", "info" };
private static final String INFO_LINE_DELIMITER = " ~ "; private static final String INFO_LINE_DELIMITER = " ~ ";
private static final String REVISION_INFO_FILENAME = ".revisionInfo"; private static final String REVISION_INFO_FILENAME = "revisionInfo";
private final String productName; private final String productName;
private final File productDirectory; private final File productDirectory;