I'm building a project with ant and during the build I'd like to bundle a log4j.xml file directly into the .jar to make distribution simpler. I've been successful in adding the file to the .jar, but it doesn't seem to be recognised.
What do I need to do to ensure the file is recognised and used by log4j? I'm new to Java, so a clear description, with examples if possible, would be great!