return 0;
}
private void createThirdpartyManifest(JsLib library) throws CommandOperationException
{
ThirdpartyLibManifest manifest;
try
{
File manifestFile = library.file(ThirdpartyLibManifest.LIBRARY_MANIFEST_FILENAME); //TODO: it should be easier to create the manifest
manifestFile.getParentFile().mkdirs();
manifestFile.createNewFile();
manifest = new ThirdpartyLibManifest( library.assetLocation(".") );
manifest.write();
}
catch (ConfigException | IOException e)
{
throw new CommandOperationException("Cannot create library manifest for '" + library.dir().getPath() + "'", e);
}