Changes

Jump to navigation Jump to search
4 bytes removed ,  15:59, 25 July 2022
m
Text replacement - "ub-director" to "ubdirector"
'''Example:'''
Installation (the original file will be copied to the {{Code|org/basex/modules/Hello}} sub-directory subdirectory of the repository):
REPO INSTALL https://files.basex.org/modules/org/basex/modules/Hello/HelloWorld.xqm
A Java class may depend on additional libraries. The dependencies can be resolved by creating a fat JAR file, i.e., extracting all files of the library archives and producing a single, flat JAR package.
Another solution is to copy the libraries into a {{Code|lib}} directory of the JAR package. When the package is installed, the additional library archives will be extracted and copied to a hidden sub-directory subdirectory in the repository. If the package is deleted, the hidden sub-directory subdirectory will be removed as well.
; Examplary contents of {{Code|Image.jar}}
=EXPath Packaging=
The [http://expath.org/spec/pkg EXPath specification] defines the structure of a .xar archive. The package contains at its root a package descriptor named <code>expath-pkg.xml</code>. This descriptor presents some meta data metadata about the package as well as the libraries which it contains and their dependencies on other libraries or processors.
==XQuery==
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu