I have some jasper reports file inside a directory called "reports" which is located 2-3 level at the bottom of the "src" package in eclipse IDE. How could get the related file paths inside "reports" folder. I don't want to get the paths like "C:\Users\Kara\workspace\MyProject\src\main\resources\reports\someFile.jrxml". I tried to get them by following code but it didn't give me the real path.
File testFile = new File("someFile.jrxml");
String absPath = testFile.getAbsolutePath();