Class CopiedFile

java.lang.Object
org.palladiosimulator.protocom.lang.CopiedFile

public class CopiedFile extends Object
  • Constructor Details

    • CopiedFile

      public CopiedFile()
  • Method Details

    • build

      public CopiedFile build(String destinationPath, File inputFile)
    • build

      public CopiedFile build(String destinationPath, URL inputUrl)
    • store

      public void store()
      In case we are a developer and plug-ins are checked-out in a developer workspace, we have no access to pre-packed JAR files of such plug-ins. Instead, only the plug-in folder (with sources, class files, etc.) is available. In this case, this method packages this folder into a JAR file to be delivered along with a prototype. We assessed the following 3 options for that; we finally chose option 3 for the given reasons. 1) Package JAR with Eclipse's default JAR exporter This approach only works when for workspace resources. Therefore, we cannot use it for plug-in folder (that are stored within the Eclipse platform).