ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Help with new ant task that uses spring
Date Tue, 13 Dec 2005 04:51:05 GMT
On Mon, 12 Dec 2005, Phillip Rhodes <rhodepc@yahoo.com> wrote:

> The problem is my ant task cannot seem to locate an xml file that is
> to be located in the classpath.  I have supplied the directory the
> xml file is in to the taskdef (the same classpath definition works
> on the java and junit tasks).

Can your task be loaded using the system CLASSPATH as well?  If so, it
will be loaded from there and your <classpath> will be ignored (since
your class doesn't know about it).

If you run "ant -debug" you should see which classloader is loading
which class.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message