private String toBuildPathString(File file) {
    if (file == null) {
      return null;
    }
    return file.toPath().toAbsolutePath().normalize().toString();
  }
Prepare your serialization service for use
geode-junit/src/main/java/org/apache/geode/codeAnalysis/AnalyzeDataSerializablesTestBase.java