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 26299] New: - Using sshexec to run ant remotely - Using ant to run sshexec
Date Tue, 20 Jan 2004 23:47:10 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=26299>.
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=26299

Using sshexec to run ant remotely - Using ant to run sshexec

           Summary: Using sshexec to run ant remotely - Using ant to run
                    sshexec
           Product: Ant
           Version: 1.6.0
          Platform: All
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Minor
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: mikebass6669@hotmail.com


I am in the process of writing an ant target to upload files to a remote server
(using SCP, which is working properly), and then run a remote build.xml using
sshexec.  Like I said, the Upload is working properly, but when I use sshexec to
run ant on the server, it gives me this message:

[sshexec] Error: JAVA_HOME is not defined correctly.
[sshexec]   We cannot execute java

Every other command I run with sshexec will run properly, and I can run ant on
the server using a normal ssh shell.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message