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
  • 相关阅读:
    杂谈
    xss bypass 学习记录
    小结--dns注入
    在CentOS 7 安装没有mysql
    备份WordPress
    php留言
    基于mysq搭建的l许愿墙
    http服务的安装与配置
    centos 7忘记密码重置
    安装centos 7 桌面
  • 原文地址:https://www.cnblogs.com/zhengwenqiang/p/7195915.html
Copyright © 2011-2022 走看看