>>> On 18 Oct 2002 00:42:44 +1000,
  >>> "Mike" == Mike Williams <[EMAIL PROTECTED]> wrote:

  Mike> Is there some way my [Ant task] determine it's own classpath?

Just to answer my own question, this seems to do the trick:

    AntClassLoader classLoader = 
        (AntClassLoader) getClass().getClassLoader();
    String taskPath = classLoader.getClasspath();

-- 
cheers, Mike

"And so, may evil beware, and may good dress warmly and eat lots 
 of fresh vegetables."
        -- The Tick 



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>

Reply via email to