zoukankan      html  css  js  c++  java
  • JAVA_build_ant_cmd pass muti param

    ant -f buildFileName -Dpropretyname1=value1  -Dpropretyname2=value2

    ant [options] [target [target2 [target3] ...]]
    Options:
      -help, -h              print this message and exit
      -projecthelp, -p       print project help information and exit
      -version               print the version information and exit
      -diagnostics           print information that might be helpful to
                             diagnose or report problems and exit
      -quiet, -q             be extra quiet
      -silent, -S            print nothing but task outputs and build failures
      -verbose, -v           be extra verbose
      -debug, -d             print debugging information
      -emacs, -e             produce logging information without adornments
      -lib <path>            specifies a path to search for jars and classes
      -logfile <file>        use given file for log
        -l     <file>                ''
      -logger <classname>    the class which is to perform logging
      -listener <classname>  add an instance of class as a project listener
      -noinput               do not allow interactive input
      -buildfile <file>      use given buildfile
        -file    <file>              ''
        -f       <file>              ''
      -D<property>=<value>   use value for given property
      -keep-going, -k        execute all targets that do not depend
                             on failed target(s)
      -propertyfile <name>   load all properties from file with -D
                             properties taking precedence
      -inputhandler <class>  the class which will handle input requests
      -find <file>           (s)earch for buildfile towards the root of
        -s  <file>           the filesystem and use it
      -nice  number          A niceness value for the main thread:
                             1 (lowest) to 10 (highest); 5 is the default
      -nouserlib             Run ant without using the jar files from ${user.home}/.ant/lib
      -noclasspath           Run ant without using CLASSPATH
      -autoproxy             Java 1.5+ : use the OS proxies
      -main <class>          override Ant's normal entry point
  • 相关阅读:
    checkbox 全选与全消
    sql server 关联和一些函数
    checkbox 判断是否选择
    sql 总结
    前台写逻辑
    android应用开发——popupWindow非全屏显示
    整理PostgreSQL数据库占用磁盘空间
    PHP常用的几个函数
    MySQL,PostgreSQL系统表(确认配置是否生效)
    Linux,查看目录大小
  • 原文地址:https://www.cnblogs.com/liupuLearning/p/6137635.html
Copyright © 2011-2022 走看看