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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to