You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stuart Barlow <sb...@peopledoc.com> on 2000/06/16 15:43:05 UTC
running java programs and the classpath
I am using the java task that comes with ant but can't see a way to
define the classpath.
When I run the javac task I can define the classpath but not for the
java task?
Thanks.
---------------------------------------------------------------------------
Stuart Barlow
+44 131 468 8205
Re: running java programs and the classpath
Posted by Stefan Bodewig <bo...@bost.de>.
Hi Stuart,
>>>>> "SB" == Stuart Barlow <sb...@peopledoc.com> writes:
SB> When I run the javac task I can define the classpath but not for
SB> the java task?
Oh you can, but as long as you don't use fork="true" this is going to
be ignored as the java task executes in the same VM and uses the same
ClassLoader as Ant.
Stefan