https://bz.apache.org/bugzilla/show_bug.cgi?id=60027

            Bug ID: 60027
           Summary: Add <arg part1 part 2> options so arg tag can flow
                    over many lines.
           Product: Ant
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core tasks
          Assignee: [email protected]
          Reporter: [email protected]

When using the exec task, it is possible to have to create very long (eg. 100
character) arguments if an executable requires that a single argument contains
two paths or multiple commands (eg. the tar --transform and sh -c commands).
This leads to unclear code.

Rewriting this in the form:
<arg part1="--transform=s"
     part2="^build/linux/work/modes/java/reference"
    
part3="build/linux/deb-raw/processing-doc/usr/share/doc/processing-doc/reference:"
     joiner=":" />

(for tar) or "sh -c" with

<arg part1="grep -r --longopt"
     part2="foo --bar"
     part3="find *.exe"
     joiner=";" />

leads to much clearer code. (I suggest the joiner attribute since these very
long arguments often seem to have their own internal delimiters.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to