You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Roberto Franchini <ro...@gmail.com> on 2007/06/08 12:28:59 UTC
FileutilsTest fails on linux
Hi to all,
I did not find a JRA bug request, maybe there's one.
The FileUtilsTest fails on linux while using windows path:
base = new File("c:/foo/bar/baz/dir/");
target = new File("c:/foo/d1/d2/d3/blah.xml");
assertEquals("../../../d1/d2/d3/blah.xml",
FileUtils.findRelativePath(target, base));
May I open a bug?
Roberto
--
Roberto "FRANK" Franchini
CELI s.r.l. (http://www.celi.it) - C.so Moncalieri 21 - 10131 Torino - ITALY
Tel +39-011-6600814 - Fax +39-011-6600687
jabber:ro.franchini@gmail.com skype:ro.franchini
Re: FileutilsTest fails on linux
Posted by Roberto Franchini <ro...@gmail.com>.
On 6/8/07, Thilo Goetz <tw...@gmx.de> wrote:
> Roberto Franchini wrote:
> > Hi to all,
> > I did not find a JRA bug request, maybe there's one.
> > The FileUtilsTest fails on linux while using windows path:
> >
> > base = new File("c:/foo/bar/baz/dir/");
> > target = new File("c:/foo/d1/d2/d3/blah.xml");
> > assertEquals("../../../d1/d2/d3/blah.xml",
> > FileUtils.findRelativePath(target, base));
> >
> > May I open a bug?
> > Roberto
>
> Hi Roberto,
>
> sure, go ahead and open a JIRA issue. However, can you be
> more specific, please? We regularly run this test on Linux,
> and it doesn't fail. What version of Java do you use?
>
Done, with all the deatils:
https://issues.apache.org/jira/browse/UIMA-442
--
Roberto "FRANK" Franchini
CELI s.r.l. (http://www.celi.it) - C.so Moncalieri 21 - 10131 Torino - ITALY
Tel +39-011-6600814 - Fax +39-011-6600687
jabber:ro.franchini@gmail.com skype:ro.franchini
Re: FileutilsTest fails on linux
Posted by Thilo Goetz <tw...@gmx.de>.
Roberto Franchini wrote:
> Hi to all,
> I did not find a JRA bug request, maybe there's one.
> The FileUtilsTest fails on linux while using windows path:
>
> base = new File("c:/foo/bar/baz/dir/");
> target = new File("c:/foo/d1/d2/d3/blah.xml");
> assertEquals("../../../d1/d2/d3/blah.xml",
> FileUtils.findRelativePath(target, base));
>
> May I open a bug?
> Roberto
Hi Roberto,
sure, go ahead and open a JIRA issue. However, can you be
more specific, please? We regularly run this test on Linux,
and it doesn't fail. What version of Java do you use?
Thanks,
Thilo