LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Accessing WevDav directory on linux box A from linux box B using Ant script. (https://www.linuxquestions.org/questions/linux-newbie-8/accessing-wevdav-directory-on-linux-box-a-from-linux-box-b-using-ant-script-490494/)

panayoti 10-07-2006 11:44 PM

Accessing WevDav directory on linux box A from linux box B using Ant script.
 
I hope someone can help me with this: I need to access the tibco xmlcanon WebDav directory on linux box A from linux box B using an Ant script to copy a repo to linux box B.

- From linux box B, I can access the xmlcanon dir on box A using webdav://linuxboxA:8080 in konqueror as a url . Is there a way to put this url on my ant script task? or, how do I map a drive letter like in windows and put that drive letter in my Ant script?

- If I use the scp ant task in the Ant script (<scp file ="username :passwd@linuxBoxA:/repo/data/projects/${MODULE}" port="8080" trust="true"/>) I get the following exception:
/AppMgmt/lib/CopyFiles.xml:3: com.jcraft.jsch.JSchException: invalid server's version string.

- All the latest optional jars are in the Ant lib folder (commons-net-1.4.1, jakarta-oro-2.0.8 etc)

- Cannot use samba.
- The Ant JAVA_HOME variable is pointing to tibco/jre/1.5.0. There is no j2sdk installed on linux box B.

Thanks in advance.


All times are GMT -5. The time now is 11:25 PM.