ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26176] New: - exec does not find executable
Date Thu, 15 Jan 2004 19:42:35 GMT
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: dev@ant.apache.org
        ReportedBy: phillip.rhodes@alcoa.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message