resolver.begin();
Collection<File> resolvedFiles = new HashSet<File>();
for (String configuration : toStringArray(args)) {
final Collection<Dependency> dependencies = dependencyMap.get(configuration);
resolver.resolve(new File(ivyConfig.getResolveDir()), configuration, dependencies);
}
resolvedFiles.addAll(resolver.end());
return RhinoUtils.fromCollection(context, thisObj, CollectionUtils.transform(resolvedFiles, FileFunctions.path()));