A module for working with expath repository manager
Deploy an application package. Installs package contents to the specified target collection, using the permissions defined by the <permissions> element in repo.xml. Pre- and post-install XQuery scripts can be specified via the <prepare> and <finish> elements.
$pkgName | package name |
Deploy an application package. Installs package contents to the specified target collection, using the permissions defined by the <permissions> element in repo.xml. Pre- and post-install XQuery scripts can be specified via the <prepare> and <finish> elements.
$pkgName | package name |
$targetCollection | the target collection into which the package will be stored |
Retrieves the specified resource from an installed expath application package.
$pkgName | package name |
$resource | resource path |
Returns the root collection into which applications are installed. Corresponds to the collection path defined in conf.xml (<repository root="..."/>) or /db if not configured.
Install package from repository.
$pkgName | package name |
Downloads, installs and deploys a package from the public repository at $publicRepoURL. Dependencies are resolved automatically. For downloading the package, the package name is appended to the repository URL as parameter 'name'.
$pkgName | Unique name of the package to install. |
$publicRepoURL | The URL of the public repo. |
Downloads, installs and deploys a package from the public repository at $publicRepoURL. Dependencies are resolved automatically. For downloading the package, the package name and version are appended to the repository URL as parameters 'name' and 'version'.
$pkgName | Unique name of the package to install. |
$version? | Version to install. |
$publicRepoURL | The URL of the public repo. |
Installs and deploys a package from a .xar archive file stored in the database. Dependencies are not resolved and will just be ignored.
$path | Database path to the package archive (.xar file) |
Installs and deploys a package from a .xar archive file stored in the database. Dependencies will be downloaded from the public repo and installed automatically.
$path | Database path to the package archive (.xar file) |
$publicRepoURL | The URL of the public repo. |
Install package stored in database.
$path | database path to the package archive (.xar file) |
List repository packages.
Remove package, pkgName, from repository.
$pkgName | package name |
Uninstall the resources belonging to a package from the db. Calls cleanup scripts if defined.
$pkgName | package name |