Ant 标签说明 [转]

来源:互联网 发布:淘宝客导购网站源码 编辑:程序博客网 时间:2024/05/22 07:56
转自: http://blog.chinaunix.net/uid-11313293-id-2883426.html

  ant              在另一个build file上调用ant 
          antcall          调用一个当前build file上的target 
          antstructure     创建一个ant build filde 的DTD文档
          apply            执行系统命令,并应用文件 
          available        设置资源属性 
          chmod            设定变更文件和文件夹的变更权限(UNIX) 
          condition        条件为真时设置属性
          copy             拷贝文件和目录  
          copydir          instead by copy 
          copyfile         instead by copy 
          cvs              执行cvs命令 
          cvspass          添加password到.cvspass文件中 
          delete           删除文件和文件夹 
          deltree          use the delete task instead. 
          dependset        管理文件依赖关系 
         
          ear              创建EAR文件 
          echo             写出log到文件或控制台 
          exec             执行一个本地命令 
          execon           use the apply task instead. 
          fail             抛出BuildException,停止build命令 
          filter           设置令牌过滤 
          fixcrlf          清除源文件中指定的特殊字符 
          genkey           产生一个key 
          get              从一个url上取得文件(****,可以用来分发jar包) 
          gunzip           解压缩一个GZip文件 
          gzip             创建一个GZip文件 
          jar              创建一个JAR文件 
          java            
          javac            编译java项目,并不等用于JDK中的javac命令 
          javadoc 
          mail             发送邮件(****) 
          mkdir           
          move    
          parallel         在并发线程上执行多任务? 
          patch            应用一个不同的文件到原始文件上 
          pathconvert      转换ant路径到指定的平台路径 
          property 
          record           Logs output from the current build process. 
          rename           use the move task instead. 
          replace          在文件中替换字符串 
          rmic             Runs the rmic compiler. 
          sequential       顺序执行多任务,用于并行任务 
          signjar          Executes the javasign command-line tool. 
          sleep            暂停编译一段时间 
          sql              使用JDBC指定SQL命令(****,执行数据库初始化) 
          style            执行XSLT转换 
          tar              创建一个TAR文件 
          taskdef          添加定义的任务到当前项目中 
          touch            更新文件的时间戳(****,应用于文件版本) 
          tstamp           Sets the DSTAMP, TSTAMP, and TODAY properties. 
          typedef          Adds a DataType to the current project. 
          unjar            Expands a ZIP file, WAR file, or JAR file. 
          untar   
          unwar 
          unzip 
          uptodate         Sets a property if one or more target files are up-to-date with respect to corresponding source files. 
          war 
          zip
原创粉丝点击