specifying classpath for built-in ant tasks

Posted by carneades on Stack Overflow See other posts from Stack Overflow or by carneades
Published on 2010-03-29T06:34:15Z Indexed on 2010/03/29 7:33 UTC
Read the original article Hit count: 388

Filed under:
|
|

I use the classpath attribute in custom Ant tasks to tell Ant where to find the external task jar, but how do I do the same for built-in tasks?

In my case I'd like to make sure ant uses my copy of jsch.jar for the scp task, and not one that my already be installed on the system. Is there any way I can <scp> while guaranteeing it's using my jsch.jar?

© Stack Overflow or respective owner

Related posts about java

Related posts about ant