Closed GoogleCodeExporter closed 9 years ago
What file name did you pass in? And in what directory was beanio.properties
placed?
From the stack trace, perhaps you just need to add a leading / to the path.
Thanks,
Kevin
Original comment by kevin.s...@gmail.com
on 11 Jan 2013 at 3:44
I did pass in
/home/tivv/dev/BeanIO/trunk/beanio/beanio-lib/src/main/resources/com/ubs/beanio/
copybook/beanio.properties
It's where it is placed.
The problem is that Settings#getFileUrl does not uses passed name, so only
classpath resolution will work:
...
private static URL getFileURL(String location) {
File file = new File(DEFAULT_CONFIGURATION_FILENAME);
...
Original comment by tiv...@gmail.com
on 11 Jan 2013 at 5:41
Ah, I missed the obvious :)
Thanks,
Kevin
Original comment by kevin.s...@gmail.com
on 11 Jan 2013 at 6:31
Original comment by kevin.s...@gmail.com
on 2 Feb 2013 at 4:33
Original comment by kevin.s...@gmail.com
on 6 Mar 2013 at 3:13
Original issue reported on code.google.com by
tiv...@gmail.com
on 11 Jan 2013 at 1:01