You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/06/04 10:18:06 UTC

DO NOT REPLY [Bug 20467] New: - No warning when using multiple words in value attribute of arg tag.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20467>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20467

No warning when using multiple words in value attribute of arg tag.

           Summary: No warning when using multiple words in value attribute
                    of arg tag.
           Product: Ant
           Version: 1.5.3
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: bart.van.kuik@oracle.com


No warning is issued when using multiple words in value attribute of arg tag.
For instance, the following does not work:

<target name="restart">
    <java jar="${oc4jhome}/admin.jar" fork="true">
        <arg value="ormi://localhost:23791 admin manager -restart"/>
    </java>
</target>

because 'value' is used instead of 'line'. I think it is appropriate to issue a
warning before dropping off everything after the first space.