I've been trying to fix this for ages but here goes : I have a text file that gets loaded fine when I run my java code with getResourceAsStream within Eclipse.
The text file is in the same package dir as the class that uses it. however , when I run the same code from command line with ant , getResourceAsStream returns null.
I figure it is class path related but I can't seem to get it going from tinkering with my build.xml or directory structure
Any help appreciated, thanks, Jamesie