LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2006, 11:44 PM   #1
panayoti
LQ Newbie
 
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
Unhappy 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 asswd@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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing linux box remotely watts3000 Linux - Newbie 5 12-31-2005 06:13 AM
Accessing a Linux Box From My PC Uberseehandel Linux - Newbie 3 04-21-2005 04:23 AM
Password Message Box when accessing linux box from Window Machine mikeccs Linux - Networking 1 08-04-2004 05:47 AM
Linux box calling a batch script on a windows box to run? Is it possible? joelhop Programming 8 05-17-2004 04:49 PM
accessing a windows box from linux Ůmegaflops Linux - Networking 3 07-26-2002 01:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration