ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From supareno <reno.rkc...@free.fr>
Subject Re: How to specify xml configuration file from Ant Task
Date Fri, 02 Oct 2009 18:54:46 GMT
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message