How to add system property equivalent to java -D in Ant
- by Shervin
Hi.
I need to set java -Djava.library.path=/some/path and I want to do it when I am running my ant script, building my jar.
I think I have to use
<sysproperty key="java.library.path" value="/some/path"/>
but it doesnt work. I cannot make the syntax work. The only thing I have Googled and found is sysproperty in conjunction with
…