Why don't you try creating an <ftp> task using the maven-ant-run plugin
to xfer files to a remote server.



-----Original Message-----
From: Kini, Sangeetha [mailto:[email protected]] 
Sent: Thursday, January 01, 2009 11:03 AM
To: [email protected]
Subject: Site deployment with wagon ssh external error.


Hi,
 I had a question with site deployment to generate the site and use
scpexe to transfer files To the remote server .I get a unexpected end of
file error and I don't see any files Being transferred .I have attached
the output of the same.
Pls let me know at the earliest if I am doing anything wrong.
Thanks
Sangeetha kini

scpexe://10.10.9.206/home/skini/test2/ - Session: Opened Using private
key: C:\Documents and Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "ssh -i "C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes"
[email protected] "mkdir -p /home/skini/test2/.""


Using private key: C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "ssh -i "C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes"
[email protected] "mkdir -p /home/skini/test2//.
""


Uploading: ./wagon65163.zip to scpexe://10.10.9.206/home/skini/test2/

Using private key: C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "scp -i "C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes"
wagon65163.zip [email protected]:/home/skini/test2//./wagon65163.zip"
###############Using private key: C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "ssh -i "C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes"
[email protected] "chmod -f 644 /home/skini/test2//./wagon65163.zip
""



Transfer finished. 60930 bytes copied in 1.828 seconds Using private
key: C:\Documents and Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "ssh -i "C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes"
[email protected] "cd /home/skini/test2/.; unzip -o wagon65163.zip; rm
-f wagon65 163.zip""
Archive:  wagon65163.zip
  inflating: css/maven-base.css

unzip: unexpected end of file

Using private key: C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa
Executing command: cmd.exe /X /C "ssh -i "C:\Documents and
Settings\skini.WHISOLUTIONS\.ssh\id_dsa" -o "BatchMode yes"
[email protected] "chmod -Rf g+w,a+rX /home/skini/test2/""


scpexe://10.10.9.206/home/skini/test2/ - Session: Disconnecting
scpexe://10.10.9.206/home/skini/test2/ - Session: Disconnected [DEBUG]
disposing managed ClassRealm with id:
/plugins/org.apache.maven.plugins:maven-site-plugin:2.0-bet...@48/thread
:main
[DEBUG] dissociating all components from managed ClassRealm with id:
/plugins/org.apache.maven.plugins:maven-site-plugin:2.0-bet...@48/thread
:main

________________________________
STATEMENT OF CONFIDENTIALITY:



The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain confidential or privileged information. If you are not
the intended recipient, please notify WHI Solutions immediately at
[email protected], and destroy all copies of this message and any
attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to