Tài liệu Argument DataType

Thảo luận trong 'Thiết Kế Web' bắt đầu bởi Thúy Viết Bài, 5/12/13.

  1. Thúy Viết Bài

    Thành viên vàng

    Bài viết:
    198,891
    Được thích:
    173
    Điểm thành tích:
    0
    Xu:
    0Xu
    The apply, exec, and java tasks accept nested <arg> elements, specifying command-line
    arguments for their respective process calls. The
    org.apache.tools.ant.types.Commandline.Argument class implements this DataType.1
    If several <arg> elements are specified, each is treated as a separate argument to the process
    call. Following is a list of all <arg> attributes:
    file (all, File,*)
    A filename as a single argument. In the buildfile, this filename is relative to the current
    working directory. The current working directory varies depending on the context
    this type is used in. The name is converted to an absolute path when passed as an
    argument.
    line (all, String,*)
    A space-delimited list of multiple arguments.
    path (all, Path, *)
    A path, as explained later in the section Path DataType.
     

    Các file đính kèm: