Thanks. I tried this and it works. You're basically renaming scp to
my-scp and then adding in both the jsch.jar and the ant-jsch.jar for
your my-scp command.
It's ugly, but it works and hides the issues with having to put the
jars in ant/lib or having to specify environment variable options or
com
The scp ant task classes are in the same classloader as
the rest of the body of ant (except for the launcher classes).
See the code for junit and script for the hideous workarounds
that are needed to get them to allow to load
their required third party classes.
A similar effort will need to be d
Now that I have an Ant installation that has the ant-jsch.jar file in
it, I'm able to run the task. However, in order to do that, I
have to run it as "ant -lib antlib" instead of just "ant".
With the AntContrib tasks, I can define a directory "antlib" in my
project, and then add it in with the t