throw new FabricException("No valid patches to apply");
}
if (targetId == null || targetId.equals("")) {
Version latestVersion = getLatestVersion();
VersionSequence sequence = new VersionSequence(latestVersion.getId());
targetId = sequence.next().getName();
}
Version targetVersion = profileService.createVersionFrom(sourceId, targetId, null);
File currentPatchFile = null;