/** * Get package path to the object given. Used with resources. * * @param object the Object to check * @return Path to package of object */ public static String getPackagePath(Object object) { return getPackagePath(object.getClass()); }
} else { deployType = DeployType.RESOURCE; script = ReflectionUtils.getPackagePath(this) + "/page-rank.py";