【翻译】Ant常用任务1-解压缩任务

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 NameDescription
BUnzip2Expands a file packed using GZip or BZip2.
BZip2Packs a file using the GZip or BZip2 algorithm. This task does not do any dependency checking; the output file is always generated
CabCreates 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.
EarAn extension of theJartask with special treatment for files that should end up in an Enterprise Application archive.
GUnzipExpands a GZip file.
GZipGZips a set of files.
JarJars a set of files.
Jlink Deprecated.Use thezipfilesetandzipgroupfilesetattributes of theJarorZiptasks instead.
ManifestCreates a manifest file.
RpmInvokes therpmexecutable to build a Linux installation file. This task currently only works on Linux or other Unix platforms with RPM support.
SignJarSigns a jar or zip file with thejavasigncommand-line tool.
TarCreates a tar archive.
UnjarUnzips a jarfile.
UntarUntars a tarfile.
UnwarUnzips a warfile.
UnzipUnzips a zipfile.
WarAn extension of theJartask with special treatment for files that should end up in theWEB-INF/lib,WEB-INF/classes, orWEB-INFdirectories of the Web Application Archive.
ZipCreates a zipfile.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值