Target Platform
[Since OOo 3.0 or 3.1]
It is possible to determine a target platform for an extension. This can be done by providing a platform tag in the platform tag in the description.xml. If the platform is not present then it is assumed that all platforms are suitable. This corresponds to explicitly specifying all platforms:
<platform value="all" />
The attribute value may contain one to many platform tokens separated by commas:
<platform value="windows_x86,linux_x86,solaris_sparc" />
An extension can only be installed if one of the provided platform tokens matches the user's platform. The special 'all' platform represents all platforms. That is, the extension can be installed everywhere. Whereas
<platform value=" " />
would prevent installation on all platforms.
The tokens need to be defined by OOo. Every token can represent a particular platform constellation. The currently defined tokens are listed at Platform Tokens
Platform Tokens
Token | Description |
---|---|
all
|
Represents all platforms. |
freebsd_x86
|
FreeBSD operating system running on x86 compatible CPU. |
freebsd_x86_64
|
FreeBSD operating system running on x86 compatible 64bit CPU. |
linux_arm_eabi
|
(Not yet supported) Linux operating system running on ARM CPU using 'EABI'. |
linux_arm_oabi
|
(Not yet supported) Linux operating system running on ARM CPU using 'OABI'. |
linux_ia64
|
Linux operating system running on a ia64 CPU. |
linux_mips_eb
|
(Not yet supported) Linux operating system running on a MIPS CPU using 'EB' ABI. |
linux_mips_el
|
(Not yet supported) Linux operating system running on a MIPS CPU using 'EL' ABI. |
linux_powerpc
|
Linux operating system running on a POWERPC CPU. |
linux_powerpc64
|
(Not yet supported) Linux operating system running on a POWERPC 64bit CPU. |
linux_s390
|
Linux operating system running on a s390 CPU. |
linux_s390x
|
(Not yet supported) Linux operating system running on a s390x CPU. |
linux_sparc
|
Linux operating system running on a SPARC CPU. |
linux_x86
|
Linux operating system running on a x86 CPU. |
linux_x86_64
|
Linux operating system running on a x86 64 bit CPU. |
macosx_powerpc
|
Mac X operating system running on a POWERPC CPU. |
macosx_x86
|
Mac X operating system running on a x86 CPU. |
os/2_x86
|
OS/2 operating system running on a x86 CPU. |
solaris_sparc
|
Solaris operating system running on a SPARC CPU. |
solaris_x86
|
Solaris operating system running on a x86 CPU. |
windows_x86
|
Windows operating system running on a x86 CPU. |
The tokens with the description 'Not yet supported' will be supported at a later time.
Content on this page is licensed under the Public Documentation License (PDL). |