wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes Remote task jar errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Remote task jar errors" Watch "Remote task jar errors" New topic
Author

Remote task jar errors

Jesse Felter
Greenhorn

Joined: Aug 23, 2004
Posts: 17
I am trying to use some of the remote tasks in ants 1.6, directly I am wanting to use SCP and SSHEXEC.. I want to copy over a few files and then run a command on those files off of the server..

I am getting a simple error of: Could not create task or type of type: scp.

after working with ant for a week, I have realized this means its not picking up the task from the jar file (jsch).. so I go and look in the lib and the jar file is there with all of the classes intact.. I have also tried redling the jar file.

So I am looking for some advice as what to do.. I would really love to be able to use these tasks.. Has anyone else ran into problems using ants remote tasks?

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Remote task jar errors
 
Similar Threads
Ant scp task giving Error
ANT How to send files to a remote machine
Maverick SSH Ant task flattens my directory structure when I do a download
possible to have scp task with fileset for files on remote host?
Porting a jar file from windows to Unix