svn commit: r1761591 - /ofbiz/trunk/build.gradle

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1761591 - /ofbiz/trunk/build.gradle

mbrohl
Author: mbrohl
Date: Tue Sep 20 15:11:22 2016
New Revision: 1761591

URL: http://svn.apache.org/viewvc?rev=1761591&view=rev
Log:
Improved: Remove the creation of the temporary git/svn footer files.

The files were created because of a bug in the TemplateLoader for Freemarker, see OFBIZ-8292. This is fixed so this is not needed anymore.

Thanks: Jacopo for the TemplateLoader fix.

Modified:
    ofbiz/trunk/build.gradle

Modified: ofbiz/trunk/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.gradle?rev=1761591&r1=1761590&r2=1761591&view=diff
==============================================================================
--- ofbiz/trunk/build.gradle (original)
+++ ofbiz/trunk/build.gradle Tue Sep 20 15:11:22 2016
@@ -51,9 +51,6 @@ tasks.withType(JavaCompile) {
 def File gitFooterFile = file("${rootDir}/runtime/GitInfo.ftl")
 def File svnFooterFile = file("${rootDir}/runtime/SvnInfo.ftl")
 
-// init footer files
-initFooterFiles(gitFooterFile, svnFooterFile)
-
 // root and subproject settings
 defaultTasks 'build'
 
@@ -1022,13 +1019,3 @@ def activateAndInstallPlugin(pluginId) {
     def gradleRunner = os.contains('windows') ? 'gradlew.bat' : './gradlew'
     exec { commandLine gradleRunner, 'installPlugin', "-PpluginId=${pluginId}" }
 }
-
-def initFooterFiles(gitInfoFile, svnInfoFile) {
-    
-    if(!gitInfoFile.exists()) {
-        gitInfoFile.createNewFile()
-    }
-    if(!svnInfoFile.exists()) {
-        svnInfoFile.createNewFile()
-    }
-}
\ No newline at end of file