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 2004/01/21 00:47:10 UTC
DO NOT REPLY [Bug 26299] New: -
Using sshexec to run ant remotely - Using ant to run sshexec
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