提交 8d26cb48 编写于 作者: zhouweidong's avatar zhouweidong

项目支持打war包

上级 4cdc9c54
......@@ -2,11 +2,14 @@
TARGET=PSSYSAPP
</#ibiztemplate>
<#assign packageType="">
<#if ((item.getPSDCMSPlatform())!'')!=''>
<#assign appPlatform=item.getPSDCMSPlatform()>
<#if appPlatform.getUserParam("ibiz.deploy.packagetype","")??>
<#assign packageType = appPlatform.getUserParam("ibiz.deploy.packagetype","")>
</#if>
<#comment>前端应用微服务平台配置</#comment>
<#if sys.getAllPSDevSlnMSDepApps()??>
<#list sys.getAllPSDevSlnMSDepApps() as depApp>
<#if depApp.getUserParam("ibiz.deploy.packagetype","")?? && depApp.getUserParam("ibiz.deploy.packagetype","")!=''>
<#assign packageType = depApp.getUserParam("ibiz.deploy.packagetype","")>
<#break>
</#if>
</#list>
</#if>
<#if packageType=='war'>
package ${pub.getPKGCodeName()}.${app.getPKGCodeName()?lower_case};
......
......@@ -2,11 +2,14 @@
TARGET=PSSYSSERVICEAPI
</#ibiztemplate>
<#assign packageType="">
<#if ((item.getPSDCMSPlatform())!'')!=''>
<#assign sysApiPlatform=item.getPSDCMSPlatform()>
<#if sysApiPlatform.getUserParam("ibiz.deploy.packagetype","")??>
<#assign packageType = sysApiPlatform.getUserParam("ibiz.deploy.packagetype","")>
</#if>
<#comment>服务接口微服务平台配置</#comment>
<#if sys.getAllPSDevSlnMSDepAPIs()??>
<#list sys.getAllPSDevSlnMSDepAPIs() as depSysApi>
<#if depSysApi.getUserParam("ibiz.deploy.packagetype","")?? && depSysApi.getUserParam("ibiz.deploy.packagetype","")!=''>
<#assign packageType = depSysApi.getUserParam("ibiz.deploy.packagetype","")>
<#break>
</#if>
</#list>
</#if>
<#if packageType=='war'>
package ${pub.getPKGCodeName()}.${item.codeName?lower_case};
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册