1. OMG Issue

DEPL — createPackage operation for RepositoryManager

  • Key: DEPL-9
  • Legacy Issue Number: 5961
  • Status: open  
  • Source: Zuehlke Engineering ( Frank Pilhofer)
  • Summary:

    There is no way for a client to put a package into the reposi-
    tory at runtime, without creating an XML-based, ZIP'd package.
    It might be useful to have a createPackage (name, label, package,
    baseURL) in the Repository Manager. This method would do less
    than the installPackage methods. Relative URLs in the package
    would be interpreted according to the baseURL.

    Proposed resolution:

    In section 3.5, "Component Management Model", add a createPackage
    operation to the RepositoryManager interface:

    createPackage (name: String, label: String,
    package: ComponentPackageDescription,
    baseLocation: String)

    Installs a ComponentPackageDescription in the repository,
    assigning the given name and label to the new Package-
    Configuration. Relative locations in elements of the package
    are interpreted according to the baseLocation. Raises the
    PackageError exception if an internal error is detected
    in the package.

  • Reported: DEPL 1.0b1 — Thu, 19 Jun 2003 04:00 GMT
  • Updated: Fri, 6 Mar 2015 20:58 GMT