Use the project folder in build.xml for location of jars | Selenium Forum
M
Posted on 12/08/2016
Can we use anything like [b:5rz83a7a][i:5rz83a7a]System.getProperty("user.dir")[/i:5rz83a7a][/b:5rz83a7a] in [i:5rz83a7a][b:5rz83a7a]build.xml[/b:5rz83a7a][/i:5rz83a7a] while mentioning the path of the jar files instead of hard coding the exact location of the jar files

[code:5rz83a7a]<property name="ws.jars" value="D:/Selenium_Scripts_New/Jars"/>[/code:5rz83a7a]

M
Replied on 12/08/2016

jar files are usually located on different folder.

but you can do it like this
<project name="helloworld" default="compile"[color=#FF0000:2hd3w8s2] basedir="."[/color:2hd3w8s2]>
<property name="ws.jars" [color=#FF0000:2hd3w8s2]value="${basedir}/path/to/jars"[/color:2hd3w8s2]/>

more info
http://stackoverflow.com/questions/9475309/how-to-add-a-jar-in-build-xml