
ant
叶沐雨
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ant使用(一)生成jar包
作用:非web的普通java工程可以打成jar包供其他工程调用或者有mian方法直接执行. 1. 编写测试代码 package com.liufq; public class Test { public static void main(String[] args) { System.out.println("***********test an原创 2017-04-24 23:54:57 · 4086 阅读 · 0 评论 -
ant使用(二)生成war包
ant使用(二)生成war包1. 新建web工程2.创建build.xml文件<?xml version="1.0" encoding="UTF-8"?> <!-- 定义一个工程,默认任务为warFile。 --> <project name="TestAnt2" default="war" basedir="."> <!-- 定义属性,打成war包的名称。 --> <原创 2017-04-26 23:42:10 · 364 阅读 · 0 评论