spi.execute();
}
private LaunchifySPI getSPI(Scanner scanner, Collection<URL> classpathUrls) {
try {
LaunchifySPI spi = (LaunchifySPI) Class.forName(this.spiAdapter)
.newInstance();
spi.setApplicationEntries(scanner.getApplicationEntries());
spi.setClasspathEntries(classpathUrls);
spi.setDestinationDirectory(VFS.getManager().resolveFile(
this.targetDirectory));
spi.setParent(this);
return spi;
} catch (Exception exc) {
throw new RuntimeException(exc);
}