Index: ssts-web/build.gradle =================================================================== diff -u -r28910 -r29626 --- ssts-web/build.gradle (.../build.gradle) (revision 28910) +++ ssts-web/build.gradle (.../build.gradle) (revision 29626) @@ -321,7 +321,6 @@ // 排除webapp/src/main/webapp/WEB-INF/classes/文件夹下除mqConfig文件夹外的其它文件夹 new File(webProjectDir + "/src/main/webapp/WEB-INF/classes").eachDir{ if (it.name != 'mqConfig'){ - println it.name exclude 'WEB-INF/classes/' + it.name + '/**' } } @@ -398,6 +397,22 @@ } } + // 拷贝SDKConfig.properties,到/resources目录下(东莞中医院DGZYY-174) + def SDKConfigFileSource = webProjectDir + "/src/main/webapp/disinfectsystem/config/" + projectName + "/interfaces/mqConfig/SDKConfig.properties" + def SDKConfigFileDirTarget = webAppClassesDir; + def existSDKConfigFile = new File(SDKConfigFileSource).exists(); + if(existSDKConfigFile){ + println "拷贝SDKConfig.properties到" + SDKConfigFileDirTarget; + file = new File(SDKConfigFileDirTarget); + if (!file.exists()) { + file.mkdir(); + } + copy { + from SDKConfigFileSource + into SDKConfigFileDirTarget + } + } + } def copyToWebappClasses_Method(){