You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2016/09/20 18:45:33 UTC

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

Thanks Michael!

Jacques


Le 20/09/2016 � 17:11, mbrohl@apache.org a �crit :
> 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
>
>
>