You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Stephan Cleaves <sc...@kana.com> on 2000/10/19 20:20:14 UTC

Ant 1.2rc1 question

Hi,

	I updated my source area to the latest and am using the new jvmarg
and arg elements, great new feature! What I'm wondering though is how best
to accomplish setting of the java.ext.dirs argument to the java task?

	Should it be <jvmarg value="-Djava.ext.dirs=${lib}"/> or
	<jvmarg path="-Djava.ext.dirs=${lib}"/>

stephan


##
Stephan R. Cleaves
Java/Unix Senior Software Engineer
Kana Communications
phone: 603.665.1269
fax: 603.665.1869
mailto:stephan.cleaves@kana.com



Re: Ant 1.2rc1 question

Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "SC" == Stephan Cleaves <sc...@kana.com> writes:

 SC> 	Should it be <jvmarg value="-Djava.ext.dirs=${lib}"/> or
 SC> <jvmarg path="-Djava.ext.dirs=${lib}"/>

I'd recommend

<sysproperty key="java.ext.dirs" path="${lib}" />

Stefan