not4google a écrit :
Hi all

I have some code which relies on a xml configuration file being available. I
have built my JAR from ant ANT task and after looking in the JAR i can see
that the file is there.
However when I try and execute the JAR on Windows from the command line e.g.

java -jar Test.jar I get an exception saying that the file could not be
found.

Please could someone give me some suggestions on how to resolve this?

Thanks
what about your build file?
can we see i?
did you copy the file in your jar?
is the xml file is in the classpath?
how do you call it in your java program?

if you don't give us more clues, we can't help you :-)

supareno


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to