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=26176>.
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=26176

exec does not find executable

           Summary: exec does not find executable
           Product: Ant
           Version: 1.6.0
          Platform: HP
        OS/Version: HP-UX
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If I create 2 scripts /usr/local/scripts/test and /usr/local/script/test2

If i call exec task for the "test" executable, it works.
If I call exec task for the "test2" executable, it fails.
/ec_rae0_d/legacy/build.xml:95: Execute failed: java.io.IOException: test2: not 
found

<!-- this will work -->
        <exec spawn="true"
                dir="/usr/local/scripts"
                executable="test" 
                os="HP-UX">
                <arg line="start"/>     
        </exec> 

<!-- this will fail -->
        <exec spawn="true"
                dir="/usr/local/scripts"
                executable="test2" 
                os="HP-UX">
                <arg line="start"/>     
        </exec>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to