@Deprecated
  public static String getResourcePath(ClassLoader classLoader, String name) {
    try {
      return ResourceUtils.getResource(classLoader, name).getPath();
    } catch (FileSystemNotFoundException e) {
      return ResourceUtils.createTempFileFromResource(classLoader, name).getAbsolutePath();
    }
  }
Return the path to a named resource. This finds the resource on the classpath using the rules
of ClassLoader.getResource.

<p>
Deprecated: Please use {@link ResourceUtils} instead. Examples:

<pre>
String resourcePath = ResourceUtils.getResource(classLoader, name).getPath();

String tempFilePath =
    ResourceUtils.createTempFileFromResource(classLoader, name).getAbsolutePath();
</pre>

@param classLoader the ClassLoader to look up resource in
@param name the name of the resource, eg "cache.xml"
@return the path to a named resource

@deprecated Please use {@link ResourceUtils} instead.
geode-junit/src/main/java/org/apache/geode/util/test/TestUtil.java