List<File> classpath = new ArrayList<File>(deps.size());
for(Artifact ar : deps) {
classpath.add(ar.getFile());
}
if(!outputDir.exists()) outputDir.mkdirs();
lib.compile(Arrays.asList(sourceFileOrDirs), classpath, outputDir, new OutputStreamWriter(System.err));
}
}