Here you can find the source of getResourceDirectory()
public static File getResourceDirectory()
//package com.java2s; //License from project: Open Source License import java.io.File; public class Main { public static File getResourceDirectory() { File resourceDir = new File("./smos-box/smos-reader/src/test/resources/org/esa/smos/dataio/smos/dddb/"); if (!resourceDir.isDirectory()) { resourceDir = new File("./src/test/resources/org/esa/smos/dataio/smos/dddb/"); }// ww w .j ava2 s .c o m return resourceDir; } }