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

项目支持打war包

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