BUnzip2 解压一个使用GZip或者BZip2压缩到文件
BZip2 使用GZip或者BZip2算法压缩一个文件。但是注意这个任务不去进行任何的依赖性检查,输出总是会产生。
Cab 创建Microsoft CAB压缩文件。与Jar或者Zip任务调用的方式类似。这个任务的运行依赖于Windows系统可执行路径下的cabarc工具。这个工具已经由Microsoft提供。
Ear 这个任务是对Jar任务的一个扩展,它可以处理一个需要在企业级应用程序中包含的文件。
GUnzip 解压一个GZip文件
GZip 压缩成一堆文件为GZip格式
Jar 把一堆文件压缩成Jar格式
Jlink 已过时.使用Jar或者Zip任务的zipfileset和zipgroupfileset属性代替。
Manifest 创建一个Manifest文件
Rpm 调用rpm可执行文件来构建一个可以在Linux上运行的安装文件。这个任务目前只能在Linux或者一个别的支持RPM支持的Unix平台上运行。
SignJar 使用javasign控制台工具标记一个jar或zip文件
Tar 创建一个tar的压缩文件
Unjar 解压一个jar文件
Untar 解压一个tar文件
Unwar 解压一个war文件
Unzip 解压一个zip文件
War 这个任务是对Jar任务的一个扩展,它可以处理Web应用程序压缩文件夹里的WEB-INF/lib, WEB- INF/classes, 或者WEB-INF文件夹
Zip 创建一个zip压缩文件
Task Name | Description |
---|---|
BUnzip2 | Expands a file packed using GZip or BZip2. |
BZip2 | Packs a file using the GZip or BZip2 algorithm. This task does not do any dependency checking; the output file is always generated |
Cab | Creates Microsoft CAB archive files. It is invoked similar to theJarorZiptasks. This task will work on Windows using the externalcabarctool (provided by Microsoft), which must be located in your executable path. |
Ear | An extension of theJartask with special treatment for files that should end up in an Enterprise Application archive. |
GUnzip | Expands a GZip file. |
GZip | GZips a set of files. |
Jar | Jars a set of files. |
Jlink | Deprecated.Use thezipfileset andzipgroupfileset attributes of theJarorZiptasks instead. |
Manifest | Creates a manifest file. |
Rpm | Invokes therpmexecutable to build a Linux installation file. This task currently only works on Linux or other Unix platforms with RPM support. |
SignJar | Signs a jar or zip file with thejavasigncommand-line tool. |
Tar | Creates a tar archive. |
Unjar | Unzips a jarfile. |
Untar | Untars a tarfile. |
Unwar | Unzips a warfile. |
Unzip | Unzips a zipfile. |
War | An extension of theJartask with special treatment for files that should end up in theWEB-INF/lib ,WEB-INF/classes , orWEB-INF directories of the Web Application Archive. |
Zip | Creates a zipfile. |