not4google,
for me the file is not in the classpath...
2 possibilities:
1) adding it the classpath (after copying it to the lib folder)
2) adding the xml file to the jar (copying it the build/classes folder)
after that, it may work !
hope this help
supareno
Hi here are some more details:
supareno
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org
>
>
>
--
View
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 T
exception saying that the file could not be
found.
Please could someone give me some suggestions on how to resolve this?
Thanks
--
View this message in context:
http://www.nabble.com/How-to-specify-xml-configuration-file-from-Ant-Task-tp25714122p25714122.html
Sent from the Ant - Users mailing list