2.1.7 pcreate
usage: pcreate <name> <version> <package-file> [ -level <default level> ] [-revision <revision>] [-repository <repository>] [-metadata <data>] [-hidden] [[-level <level name>] file=<file-to-include>] [-osgi <true/false> ] [-exportpackages <classpath>]... ]
Creates a software package (.mzp)
that can be installed into the system. It is usually used by software developers to create additional functionality and updates.
Arguments
Argument | Description |
---|---|
<name> | The name of the package. |
<version> | The version string of the package name. |
<package-file> | The resulting package. |
For further information, see the Development Toolkit User's Guide.
Return Codes
Listed below are the different return codes for the pcreate
command:
Code | Description |
---|---|
0 | Will be returned if the command was successful. |
1 | Will be returned if the argument count was incorrect. |
2 | Will be returned if the package name is too long. |
3 | Will be returned if if the package version is too long. |
4 | Will be returned if an install class or a jar argument is missing. |
5 | Will be returned if a meta data argument is missing, or if a revision argument is missing. |
6 | Will be returned if a repository argument is missing, or if a level argument is missing. |
7 | Will be returned if the level is invalid. |
8 | Will be returned if a file argument is missing |
9 | Will be returned if no level is given for the jar file. |
10 | Will be returned if a file argument is missing. |
11 | Will be returned if the file cannot be read. |
12 | Will be returned if the package filename cannot be found. |
13 | Will be returned if the install jar file cannot be read. |