1、先运行build.xml

<?xml version="1.0" encoding="UTF-8"?>

<project name="app" default="compiler">
<target name="compiler">
<property name="dir.compiler.home" location=".." />
<exec executable="cmd" failonerror="true" dir="${dir.compiler.home}">
<arg line="/c mvn clean install -Dmaven.test.skip=true" />
</exec>
</target>
</project>

2、然后jetty:run-war -Djetty:port=9999

 每次修改文件之后,都要运行上面的1,2步骤才能生效

相关文章:

  • 2022-01-22
  • 2021-09-21
  • 2021-11-01
  • 2021-06-05
  • 2022-01-27
  • 2021-10-19
  • 2022-12-23
猜你喜欢
  • 2021-06-19
  • 2022-02-28
  • 2021-10-22
  • 2021-09-04
  • 2022-12-23
  • 2021-11-07
相关资源
相似解决方案