zoukankan      html  css  js  c++  java
  • 【Tomcat】shell获得war包

    功能: 将maven项目打包复制到tomcat/webapps

    set git=C:Userszhengwenqianggit
    set tomcat=e:	omcat7.0.64
    
    c:
    cd %git%cas
    call mvn clean compile
    call mvn package -Pdeploy
    rem call mvn package -Ptenant
    e:
    if exist %tomcat%webappscas.war del %tomcat%webappscas.war
    copy %git%cas	argetcas.war %tomcat%webapps
    
    c:
    cd %git%portal
    :: mvn is batch. so call is needed
    call mvn clean compile
    call mvn package -Pdeploy
    rem call mvn package -Ptenant
    e:
    if exist %tomcat%webappsportal.war ( del %tomcat%webappsportal.war )
    copy %git%portal	argetportal.war %tomcat%webapps
    
    c:
    cd %git%platformsecurity
    call mvn clean compile
    call mvn package -Pdeploy
    rem call mvn package -Ptenant
    e:
    if exist %tomcat%webappssecurity.war ( del %tomcat%webappssecurity.war )
    copy %git%platformsecurity	argetsecurity.war %tomcat%webapps
  • 相关阅读:
    js bubbleSort
    关于“ ,”的迷
    移位
    emacs 一些很有用的快捷键
    input&output
    async&await
    用dbforge调试procedure
    开发中常用的工具
    用Firefox的debugger来调试JavaScript
    Hibernate映射关系配置
  • 原文地址:https://www.cnblogs.com/zhengwenqiang/p/7195915.html
Copyright © 2011-2022 走看看