String fullPath = ".." + File.separator + ".." + File.separator + "plugins"  + File.separator + "org.eclipse.emf.test.core_2.0.0" + file; if (new File(fullPath).isFile())
file = EMFTestCorePlugin.getPlugin().getPluginDirectory() + file; if (new File(file).isFile())
  private String getExcludeFile(int type)  {    String file = File.separator + "chkpiiIgnoreFiles";    switch (type)    {      case HTML:        file += "_html.txt";        break;      case PROPERTIES:        file += "_properties.txt";        break;      case XML:        file += "_xml.txt";        break;      default:        file += "_other.txt";    }    String fullPath = ".." + File.separator + ".." + File.separator + "plugins"  + File.separator + "org.eclipse.emf.test.core_2.0.0" + file;    if (new File(fullPath).isFile())    {      return " -X " + fullPath;    }        fullPath = EMFTestCorePlugin.getPlugin().getPluginDirectory() + file;    if (new File(fullPath).isFile())    {      return " -X " + fullPath;    }        return "";  }