/**
  * 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;
 }
 /**
  * Add a jar file to the library
  *
  * @param pluginRootRelativePath
  */
 public void addArchiveFile(String pluginRootRelativePath) {
   ArchiveFile jar = createArchiveFile(pluginRootRelativePath);
   if (!newLib.containsArchiveFile(jar.getSourceLocation())) newLib.getArchiveFiles().add(jar);
 }