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
