Stephen Bash wrote:
> Andy-
>
> I use the getResource call, and I think all you need to do is add a /
> at the beginning of your file location:
>
> XMLUtil.class.getResource("/hdom-xml-map.xml")
>
> so that the JVM knows you're looking at the base of the classpath. It
> seems to me relative locations should be possible, but I've only ever
> had luck with absolute paths for getResource.
Thanks, Stephen (and Jay): it works perfectly when you know how :-)
Andy
--
Andy Buckley: CEDAR @ IPPP, Durham
Work: www.cedar.ac.uk
www.insectnation.org
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email