随笔-15  评论-17  文章-4  trackbacks-0
  2008年3月20日
通过Ant Jetty plugin我们可以在ant构建脚本中直接启动Jetty。

<project name="Jetty-Ant integration test" basedir=".">
  
<path id="jetty.plugin.classpath">
    
<fileset dir="jetty-lib" includes="*.jar"/>
  
</path>
  
<taskdef classpathref="jetty.plugin.classpath" resource="tasks.properties" loaderref="jetty.loader" />

  
<target name="jetty.run">
    
<jetty />
  
</target>
</project>





posted @ 2008-03-20 11:11 Robert Su 阅读(49) | 评论 (0)编辑 收藏