summaryrefslogtreecommitdiff
path: root/jvmfwk/distributions/OpenOfficeorg
diff options
context:
space:
mode:
Diffstat (limited to 'jvmfwk/distributions/OpenOfficeorg')
-rw-r--r--jvmfwk/distributions/OpenOfficeorg/javavendors.xsd77
-rw-r--r--jvmfwk/distributions/OpenOfficeorg/javavendors_freebsd.xml25
-rw-r--r--jvmfwk/distributions/OpenOfficeorg/javavendors_linux.xml33
-rw-r--r--jvmfwk/distributions/OpenOfficeorg/javavendors_macosx.xml20
-rw-r--r--jvmfwk/distributions/OpenOfficeorg/javavendors_os2.xml21
-rw-r--r--jvmfwk/distributions/OpenOfficeorg/javavendors_template.xml35
-rwxr-xr-xjvmfwk/distributions/OpenOfficeorg/javavendors_unx.xml17
-rw-r--r--jvmfwk/distributions/OpenOfficeorg/javavendors_wnt.xml21
-rwxr-xr-xjvmfwk/distributions/OpenOfficeorg/makefile.mk65
9 files changed, 314 insertions, 0 deletions
diff --git a/jvmfwk/distributions/OpenOfficeorg/javavendors.xsd b/jvmfwk/distributions/OpenOfficeorg/javavendors.xsd
new file mode 100644
index 000000000000..666372eee607
--- /dev/null
+++ b/jvmfwk/distributions/OpenOfficeorg/javavendors.xsd
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<schema targetNamespace="http://openoffice.org/2004/java/framework/1.0"
+ xmlns:jf="http://openoffice.org/2004/java/framework/1.0"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified">
+
+ <element name="javaSelection" type="jf:JavaSelectionType">
+ <unique name="dummy1">
+ <selector xpath="jf:plugins/jf:library"/>
+ <field xpath="@vendor"/>
+ </unique>
+
+
+ <keyref name="dummy2" refer="jf:pluginKey">
+ <selector xpath="jf:vendorInfos/jf:vendor"/>
+ <field xpath="@name"/>
+ </keyref>
+
+ <unique name="dummy3">
+ <selector xpath="jf:vendorInfos/jf:vendor"/>
+ <field xpath="@name"/>
+ </unique>
+
+ <key name="pluginKey">
+ <selector xpath="jf:plugins/jf:library"/>
+ <field xpath="@vendor"/>
+ </key>
+ </element>
+
+ <complexType name="JavaSelectionType">
+ <sequence>
+ <element name="updated" type="date"/>
+ <element name="vendorInfos" type="jf:VendorInfoType"/>
+ <element name="plugins" type="jf:PluginType"/>
+ </sequence>
+ </complexType>
+
+
+ <complexType name="VendorInfoType">
+ <sequence>
+ <element name="vendor" type="jf:VendorType" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="PluginType">
+ <sequence>
+ <element name="library" type="jf:LibraryType" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="LibraryType">
+ <simpleContent>
+ <extension base="string">
+ <attribute name="vendor" use="required" type="string"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+
+ <complexType name="VendorType">
+ <sequence>
+ <element name="minVersion" type="string" minOccurs="0"/>
+ <element name="maxVersion" type="string" minOccurs="0"/>
+ <element name="excludeVersions" minOccurs="0">
+ <complexType>
+ <sequence>
+ <element name="version" type="string" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ </element>
+ </sequence>
+ <attribute name="name" use="required" type="string"/>
+ </complexType>
+
+
+
+</schema>
diff --git a/jvmfwk/distributions/OpenOfficeorg/javavendors_freebsd.xml b/jvmfwk/distributions/OpenOfficeorg/javavendors_freebsd.xml
new file mode 100644
index 000000000000..2dd5fe35f555
--- /dev/null
+++ b/jvmfwk/distributions/OpenOfficeorg/javavendors_freebsd.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<javaSelection xmlns="http://openoffice.org/2004/java/framework/1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+ <updated>2008-08-27</updated>
+
+ <vendorInfos>
+ <vendor name="Sun Microsystems Inc.">
+ <minVersion>1.5.0</minVersion>
+ </vendor>
+ <vendor name="The FreeBSD Foundation">
+ <minVersion>1.6.0</minVersion>
+ </vendor>
+ <vendor name="Free Software Foundation, Inc.">
+ <minVersion>1.5.0</minVersion>
+ </vendor>
+ </vendorInfos>
+
+ <plugins>
+ <library vendor="Sun Microsystems Inc.">vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.so</library>
+ <library vendor="The FreeBSD Foundation">vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.so</library>
+ <library vendor="Free Software Foundation, Inc.">vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.so</library>
+ </plugins>
+</javaSelection>
diff --git a/jvmfwk/distributions/OpenOfficeorg/javavendors_linux.xml b/jvmfwk/distributions/OpenOfficeorg/javavendors_linux.xml
new file mode 100644
index 000000000000..ed329e5788d3
--- /dev/null
+++ b/jvmfwk/distributions/OpenOfficeorg/javavendors_linux.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<javaSelection xmlns="http://openoffice.org/2004/java/framework/1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+ <updated>2004-01-30</updated>
+
+ <vendorInfos>
+ <vendor name="Sun Microsystems Inc.">
+ <minVersion>1.5.0</minVersion>
+ </vendor>
+ <vendor name="IBM Corporation">
+ <minVersion>1.5.0</minVersion>
+ </vendor>
+ <vendor name="Blackdown Java-Linux Team">
+ <minVersion>1.5.0</minVersion>
+ </vendor>
+ <vendor name="Free Software Foundation, Inc.">
+ <minVersion>1.5.0</minVersion>
+ </vendor>
+ <vendor name="BEA Systems, Inc.">
+ <minVersion>1.5.0</minVersion>
+ </vendor>
+ </vendorInfos>
+
+ <plugins>
+ <library vendor="Sun Microsystems Inc.">vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.so</library>
+ <library vendor="IBM Corporation">vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.so</library>
+ <library vendor="Blackdown Java-Linux Team">vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.so</library>
+ <library vendor="Free Software Foundation, Inc.">vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.so</library>
+ <library vendor="BEA Systems, Inc.">vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.so</library>
+ </plugins>
+</javaSelection>
diff --git a/jvmfwk/distributions/OpenOfficeorg/javavendors_macosx.xml b/jvmfwk/distributions/OpenOfficeorg/javavendors_macosx.xml
new file mode 100644
index 000000000000..215d26c0ea2a
--- /dev/null
+++ b/jvmfwk/distributions/OpenOfficeorg/javavendors_macosx.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<javaSelection xmlns="http://openoffice.org/2004/java/framework/1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+ <updated>2006-05-02</updated>
+
+ <vendorInfos>
+ <vendor name="Apple Computer, Inc.">
+ <minVersion>1.5.0</minVersion>
+ </vendor>
+ <vendor name="Apple Inc.">
+ <minVersion>1.5.0</minVersion>
+ </vendor>
+ </vendorInfos>
+ <plugins>
+ <library vendor="Apple Inc.">vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.dylib</library>
+ <library vendor="Apple Computer, Inc.">vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.dylib</library>
+ </plugins>
+</javaSelection>
diff --git a/jvmfwk/distributions/OpenOfficeorg/javavendors_os2.xml b/jvmfwk/distributions/OpenOfficeorg/javavendors_os2.xml
new file mode 100644
index 000000000000..2de585472b86
--- /dev/null
+++ b/jvmfwk/distributions/OpenOfficeorg/javavendors_os2.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<javaSelection xmlns="http://openoffice.org/2004/java/framework/1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+ <updated>2004-01-30</updated>
+
+ <vendorInfos>
+ <vendor name="Sun Microsystems Inc.">
+ <minVersion>1.4.2</minVersion>
+ </vendor>
+ <vendor name="IBM Corporation">
+ <minVersion>1.4.2</minVersion>
+ </vendor>
+ </vendorInfos>
+
+ <plugins>
+ <library vendor="Sun Microsystems Inc.">sunjavap.dll</library>
+ <library vendor="IBM Corporation">sunjavap.dll</library>
+ </plugins>
+</javaSelection>
diff --git a/jvmfwk/distributions/OpenOfficeorg/javavendors_template.xml b/jvmfwk/distributions/OpenOfficeorg/javavendors_template.xml
new file mode 100644
index 000000000000..d18dc66585a5
--- /dev/null
+++ b/jvmfwk/distributions/OpenOfficeorg/javavendors_template.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+This is a template for the javavendors.xml. It shows how the file could
+look like.
+-->
+
+<javaSelection xmlns="http://openoffice.org/2004/java/framework/1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://openoffice.org/2004/java/framework/1.0 file:/D:/cws-jl6/jvmfwk/source/javavendors.xsd" >
+
+ <updated>2004-01-30</updated>
+
+ <vendorInfos>
+ <vendor name="Sun Microsystems Inc.">
+ <minVersion>1.3.1</minVersion>
+ <maxVersion>1.5.0</maxVersion>
+ <excludeVersions>
+ <version>1.4.1</version>
+ </excludeVersions>
+ </vendor>
+ <vendor name="VendorX">
+ <minVersion>1.4.2</minVersion>
+ <excludeVersions>
+ <version>1.5.0</version>
+ <version>1.4.3</version>
+ </excludeVersions>
+ </vendor>
+ </vendorInfos>
+
+ <plugins>
+ <library vendor="Sun Microsystems Inc.">sunjavaplugin.dll</library>
+ <library vendor="VendorX">./pluginDir/vendorx.dll</library>
+ </plugins>
+</javaSelection> \ No newline at end of file
diff --git a/jvmfwk/distributions/OpenOfficeorg/javavendors_unx.xml b/jvmfwk/distributions/OpenOfficeorg/javavendors_unx.xml
new file mode 100755
index 000000000000..3b1f53fc4fce
--- /dev/null
+++ b/jvmfwk/distributions/OpenOfficeorg/javavendors_unx.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<javaSelection xmlns="http://openoffice.org/2004/java/framework/1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+ <updated>2004-01-30</updated>
+
+ <vendorInfos>
+ <vendor name="Sun Microsystems Inc.">
+ <minVersion>1.5.0</minVersion>
+ </vendor>
+ </vendorInfos>
+
+ <plugins>
+ <library vendor="Sun Microsystems Inc.">vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.so</library>
+ </plugins>
+</javaSelection>
diff --git a/jvmfwk/distributions/OpenOfficeorg/javavendors_wnt.xml b/jvmfwk/distributions/OpenOfficeorg/javavendors_wnt.xml
new file mode 100644
index 000000000000..a72216d66646
--- /dev/null
+++ b/jvmfwk/distributions/OpenOfficeorg/javavendors_wnt.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<javaSelection xmlns="http://openoffice.org/2004/java/framework/1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+ <updated>2004-01-30</updated>
+
+ <vendorInfos>
+ <vendor name="Sun Microsystems Inc.">
+ <minVersion>1.5.0</minVersion>
+ </vendor>
+ <vendor name="IBM Corporation">
+ <minVersion>1.5.0</minVersion>
+ </vendor>
+ </vendorInfos>
+
+ <plugins>
+ <library vendor="Sun Microsystems Inc.">vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.dll</library>
+ <library vendor="IBM Corporation">vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.dll</library>
+ </plugins>
+</javaSelection>
diff --git a/jvmfwk/distributions/OpenOfficeorg/makefile.mk b/jvmfwk/distributions/OpenOfficeorg/makefile.mk
new file mode 100755
index 000000000000..a6ba7a23725a
--- /dev/null
+++ b/jvmfwk/distributions/OpenOfficeorg/makefile.mk
@@ -0,0 +1,65 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+PRJ = ..$/..
+PRJNAME = jvmfwk
+TARGET = vendors_ooo
+
+.INCLUDE: settings.mk
+
+.IF "$(SOLAR_JAVA)"==""
+nojava:
+ @echo "Not building jvmfwk because Java is disabled"
+.ENDIF
+
+.IF "$(SOLAR_JAVA)"!=""
+$(BIN)$/javavendors.xml: javavendors_unx.xml javavendors_wnt.xml javavendors_macosx.xml javavendors_linux.xml
+.IF "$(GUI)"=="UNX"
+.IF "$(OS)"=="FREEBSD"
+ -$(COPY) javavendors_freebsd.xml $(BIN)$/javavendors.xml
+.ELIF "$(OS)"=="MACOSX"
+ -$(COPY) javavendors_macosx.xml $(BIN)$/javavendors.xml
+.ELIF "$(OS)"=="LINUX"
+ -$(COPY) javavendors_linux.xml $(BIN)$/javavendors.xml
+.ELSE
+ -$(COPY) javavendors_unx.xml $(BIN)$/javavendors.xml
+.ENDIF
+.ELIF "$(GUI)"=="WNT"
+ -$(COPY) javavendors_wnt.xml $(BIN)$/javavendors.xml
+.ELIF "$(GUI)"=="OS2"
+ -$(COPY) javavendors_os2.xml $(BIN)$/javavendors.xml
+.ELSE
+ @echo Unsupported platform.
+.ENDIF
+
+.ENDIF # "$(SOLAR_JAVA)"!=""
+
+
+
+
+.INCLUDE: target.mk
+