Author: taher
Date: Tue Aug 23 17:26:12 2016
New Revision: 1757410
URL:
http://svn.apache.org/viewvc?rev=1757410&view=revLog:
remove quotes to evaluate tenantId intead of treating as String - OFBIZ-7968
Modified:
ofbiz/trunk/build.gradle
Modified: ofbiz/trunk/build.gradle
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/build.gradle?rev=1757410&r1=1757409&r2=1757410&view=diff==============================================================================
--- ofbiz/trunk/build.gradle (original)
+++ ofbiz/trunk/build.gradle Tue Aug 23 17:26:12 2016
@@ -373,7 +373,7 @@ task createTenant(group: ofbizServer, de
task generateDatabaseTemplateFile(dependsOn: prepareAndValidateTenantArguments) << {
def filterTokens = ['tenantId': tenantId,
- 'tenantName': project.hasProperty('tenantName')? "${tenantName}":"tenantId",
+ 'tenantName': project.hasProperty('tenantName')? "${tenantName}":tenantId,
'domainName': project.hasProperty('domainName')? "${domainName}":'org.apache.ofbiz',
'db-IP': project.hasProperty('dbIp')? "${dbIp}":'',
'db-User': project.hasProperty('dbUser')? "${dbUser}":'',