You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by de...@apache.org on 2019/03/14 09:33:15 UTC
svn commit: r1855501 - /ofbiz/ofbiz-framework/trunk/build.gradle
Author: deepak
Date: Thu Mar 14 09:33:15 2019
New Revision: 1855501
URL: http://svn.apache.org/viewvc?rev=1855501&view=rev
Log:
Improved: Added line separator while while generating svn/git info footer.
Modified:
ofbiz/ofbiz-framework/trunk/build.gradle
Modified: ofbiz/ofbiz-framework/trunk/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/build.gradle?rev=1855501&r1=1855500&r2=1855501&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/build.gradle (original)
+++ ofbiz/ofbiz-framework/trunk/build.gradle Thu Mar 14 09:33:15 2019
@@ -638,6 +638,7 @@ task gitInfoFooter(group: sysadminGroup,
revision = revisionOutput.toString()
gitFooterFile.delete()
gitFooterFile.createNewFile()
+ gitFooterFile << System.lineSeparator()
gitFooterFile << '${uiLabelMap.CommonBranch} : ' + "${branch}" + System.lineSeparator()
gitFooterFile << '${uiLabelMap.CommonRevision} : ' + "${revision}" + System.lineSeparator()
gitFooterFile << '${uiLabelMap.CommonBuiltOn} : ' + "${timestamp}" + System.lineSeparator()
@@ -663,6 +664,7 @@ task svnInfoFooter(group: sysadminGroup,
def info = new XmlParser().parseText(svnOutput.toString())
svnFooterFile.delete()
svnFooterFile.createNewFile()
+ svnFooterFile << System.lineSeparator()
svnFooterFile << '${uiLabelMap.CommonBranch} : ' + "${info.entry.url.text()}" + System.lineSeparator()
svnFooterFile << '${uiLabelMap.CommonRevision} : ' + "${info.entry.commit.@revision}" + System.lineSeparator()
svnFooterFile << '${uiLabelMap.CommonBuiltOn} : ' + "${timestamp}" + System.lineSeparator()