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
On 2009-04-09, Gavin wrote:
> Great, thanks. My main problem stemmed from the fact I did an 'apt-get
> install ant' on the Ubuntu machines, thinking it would be a complete
> installation. In fact doing it this way and I did not get *any* jars
> whatsoever (in /usr/share/ant/lib), those you saw in
> -Original Message-
> From: Stefan Bodewig [mailto:bode...@apache.org]
> Sent: Thursday, 9 April 2009 8:32 PM
> To: user@ant.apache.org
> Subject: Re: Optional Jars
>
> On 2009-04-09, Gavin wrote:
>
>
pache-oro.jar (given that you have ORO in ANT_HOME/lib).
> Cause: the class org.apache.tools.ant.taskdefs.optional.PropertyFile was not
> found.
> This looks like one of Ant's optional components.
this is in ant-nodeps.jar which you don't have.
> Back to these '
k/builds/0/steps/compile/logs/
stdio)
Error Message :-
Cause: the class org.apache.tools.ant.taskdefs.optional.PropertyFile was not
found.
This looks like one of Ant's optional components.
I could not find which optional jar would be needed for that.
Ok, I think those two examples will do for now, and no doubt point out my