/** * Returns ArchiveFile where the location is set relative to the plugin. As long as the * ArchiveFile is on the local machine somewhere, it should be locatable. * * @param relativePathFileName Relative location of the ArchiveFile * @return ArchiveFile instance. */ private ArchiveFile createArchiveFile(String pluginRootRelativePath) { ArchiveFile file = JSFLibraryRegistryFactory.eINSTANCE.createArchiveFile(); file.setRelativeToWorkspace(false); file.setSourceLocation(pluginRootRelativePath); file.setRelativeDestLocation(relativeDestLocation); return file; }