title: How can I specify the path of a JAR in an ant buildfile?
body: <p>I am executing lot of <code>scp</code> and <code>sshexec</code> and other remote commands from an ant build script. These commands don't work if <code>jsch.jar</code> isn't in the ant <code>lib</code> directory. To make it work, I copied the JAR into the ant <code>lib</code> directory, but this is not a good solution, as anyone else wanting to run the script would have to do the same thing. To run the ant target from Teamcity, we will have to explicitly set the path of the lib file.</p>
  
  <p>Is there a way I can specify the path of the JAR in the ant build XML itself?</p>