diff options
author | Andras Timar <atimar@suse.com> | 2012-01-06 19:16:03 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-01-06 19:16:35 +0100 |
commit | 1204483c13d093b202f6fc254b745156f2cb94e4 (patch) | |
tree | a485456feee24accfebd340127300d83318d3379 | |
parent | d19667fc1ab4739295ee5305456a79e4dd56fa59 (diff) |
more wJRE cleanup
-rw-r--r-- | instsetoo_native/util/openoffice.lst | 2 | ||||
-rw-r--r-- | scp2/source/ooo/installation_ooo.scp | 1 | ||||
-rw-r--r-- | setup_native/prj/d.lst | 2 | ||||
-rwxr-xr-x | setup_native/source/java/javaversion.dat | 57 | ||||
-rw-r--r-- | setup_native/source/java/javaversion2.dat | 57 | ||||
-rw-r--r-- | solenv/bin/modules/installer/worker.pm | 13 | ||||
-rw-r--r-- | solenv/bin/modules/installer/xpdinstaller.pm | 7 |
7 files changed, 1 insertions, 138 deletions
diff --git a/instsetoo_native/util/openoffice.lst b/instsetoo_native/util/openoffice.lst index 934126ea02f1..e928530598ab 100644 --- a/instsetoo_native/util/openoffice.lst +++ b/instsetoo_native/util/openoffice.lst @@ -127,7 +127,7 @@ LibreOffice_Dev REGISTRYLAYERNAME LayerDev SERVICETAG_URN urn:uuid:1680b00d-e45c-11de-82d6-080020a9ed93 UPDATEURL http://update.libreoffice.org/check.php - ADD_INCLUDE_FILES cliureversion.mk,clioootypesversion.mk,javaversion2.dat,userland.txt + ADD_INCLUDE_FILES cliureversion.mk,clioootypesversion.mk,userland.txt ADDSYSTEMINTEGRATION 1 EVAL FILEFORMATNAME OpenOffice.org diff --git a/scp2/source/ooo/installation_ooo.scp b/scp2/source/ooo/installation_ooo.scp index 331748a84a3d..3fc27cb36927 100644 --- a/scp2/source/ooo/installation_ooo.scp +++ b/scp2/source/ooo/installation_ooo.scp @@ -32,7 +32,6 @@ Installation gid_Installation_Ooo ProductVersion = "${PRODUCTVERSION}"; ProductExtension = "${PRODUCTEXTENSION}"; UserDirProductVersion = "${USERDIRPRODUCTVERSION}"; - JavaVersion = "${JAVAVERSION}"; SxwFormatName = "OpenOffice.org"; SxwFormatVersion = "1.1"; VendorName = "OpenOffice.org"; diff --git a/setup_native/prj/d.lst b/setup_native/prj/d.lst index 1f0ed2a7f29e..0056694df617 100644 --- a/setup_native/prj/d.lst +++ b/setup_native/prj/d.lst @@ -30,8 +30,6 @@ mkdir: %_DEST%\bin\osolsmf ..\source\mac\ooo\DS_Store %_DEST%\bin\osl\DS_Store ..\source\mac\ooo\DS_Store_Dev %_DEST%\bin\osl\DS_Store_Dev ..\source\mac\ooo\DS_Store_Langpack %_DEST%\bin\osl\DS_Store_Langpack -..\source\java\javaversion.dat %_DEST%\bin\javaversion.dat -..\source\java\javaversion2.dat %_DEST%\bin\javaversion2.dat ..\source\opensolaris\bundledextensions\installed %_DEST%\bin\osolsmf\installed ..\source\opensolaris\bundledextensions\README %_DEST%\bin\osolsmf\README ..\source\opensolaris\bundledextensions\ooo_bundled_extensions.xml %_DEST%\bin\osolsmf\ooo_bundled_extensions.xml diff --git a/setup_native/source/java/javaversion.dat b/setup_native/source/java/javaversion.dat deleted file mode 100755 index a647694a7619..000000000000 --- a/setup_native/source/java/javaversion.dat +++ /dev/null @@ -1,57 +0,0 @@ -#************************************************************************* -# -# 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. -# -#************************************************************************* - -# GUI String in the installer ("Java Runtime Environment (${JAVAVERSION})") -JAVAVERSION=Java 6 Update 22 -WINDOWSJAVAVERSION=Java 6 Update 22 - -# Windows (scp2 and downloadtemplate.nsi) -WINDOWSJAVAFILENAME=jre-6u22-windows-i586.exe -WINDOWSJAVAREGISTRYENTRY=1.6.0_22 - -# Linux (scp2) -LINUXJAVAFILENAME=jre-6u22-linux-i586.rpm -# Linux (rpmUnit.xml, rpm -qp <filename> ) -LINUXJAVANAME=jre-1.6.0_22-fcs - -# Linux-x64 (scp2) -LINUXX64JAVAFILENAME=jre-6u22-linux-amd64.rpm - -# Solaris Sparc (scp2) -SOLSJAVARTPACKED=SUNWj6rt_1_6_0_22_sparc.tar.gz -SOLSJAVACFGPACKED=SUNWj6cfg_1_6_0_22_sparc.tar.gz -SOLSJAVAMANPACKED=SUNWj6man_1_6_0_22_sparc.tar.gz - -# Solaris x86 (scp2) -SOLIJAVARTPACKED=SUNWj6rt_1_6_0_22_x86.tar.gz -SOLIJAVACFGPACKED=SUNWj6cfg_1_6_0_22_x86.tar.gz -SOLIJAVAMANPACKED=SUNWj6man_1_6_0_22_x86.tar.gz - -# Solaris (pkgUnit.xml, needs only to be changed in major changes) -SOLARISJAVART=SUNWj6rt -SOLARISJAVACFG=SUNWj6cfg -SOLARISJAVAMAN=SUNWj6man diff --git a/setup_native/source/java/javaversion2.dat b/setup_native/source/java/javaversion2.dat deleted file mode 100644 index a647694a7619..000000000000 --- a/setup_native/source/java/javaversion2.dat +++ /dev/null @@ -1,57 +0,0 @@ -#************************************************************************* -# -# 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. -# -#************************************************************************* - -# GUI String in the installer ("Java Runtime Environment (${JAVAVERSION})") -JAVAVERSION=Java 6 Update 22 -WINDOWSJAVAVERSION=Java 6 Update 22 - -# Windows (scp2 and downloadtemplate.nsi) -WINDOWSJAVAFILENAME=jre-6u22-windows-i586.exe -WINDOWSJAVAREGISTRYENTRY=1.6.0_22 - -# Linux (scp2) -LINUXJAVAFILENAME=jre-6u22-linux-i586.rpm -# Linux (rpmUnit.xml, rpm -qp <filename> ) -LINUXJAVANAME=jre-1.6.0_22-fcs - -# Linux-x64 (scp2) -LINUXX64JAVAFILENAME=jre-6u22-linux-amd64.rpm - -# Solaris Sparc (scp2) -SOLSJAVARTPACKED=SUNWj6rt_1_6_0_22_sparc.tar.gz -SOLSJAVACFGPACKED=SUNWj6cfg_1_6_0_22_sparc.tar.gz -SOLSJAVAMANPACKED=SUNWj6man_1_6_0_22_sparc.tar.gz - -# Solaris x86 (scp2) -SOLIJAVARTPACKED=SUNWj6rt_1_6_0_22_x86.tar.gz -SOLIJAVACFGPACKED=SUNWj6cfg_1_6_0_22_x86.tar.gz -SOLIJAVAMANPACKED=SUNWj6man_1_6_0_22_x86.tar.gz - -# Solaris (pkgUnit.xml, needs only to be changed in major changes) -SOLARISJAVART=SUNWj6rt -SOLARISJAVACFG=SUNWj6cfg -SOLARISJAVAMAN=SUNWj6man diff --git a/solenv/bin/modules/installer/worker.pm b/solenv/bin/modules/installer/worker.pm index 795927482934..c91ece7108ab 100644 --- a/solenv/bin/modules/installer/worker.pm +++ b/solenv/bin/modules/installer/worker.pm @@ -2011,19 +2011,6 @@ sub add_variables_from_inc_to_hashref } } } - - # Allowing different Java versions for Windows and Unix. Instead of "JAVAVERSION" - # the property "WINDOWSJAVAVERSION" has to be used, if it is set. - - if ( $installer::globals::iswindowsbuild ) - { - if (( exists($allvariables->{'WINDOWSJAVAVERSION'})) && ( $allvariables->{'WINDOWSJAVAVERSION'} ne "" )) - { - $allvariables->{'JAVAVERSION'} = $allvariables->{'WINDOWSJAVAVERSION'}; - $infoline = "Changing value of property \"JAVAVERSION\" to $allvariables->{'JAVAVERSION'} (property \"WINDOWSJAVAVERSION\").\n"; - push( @installer::globals::globallogfileinfo, $infoline); - } - } } ############################################## diff --git a/solenv/bin/modules/installer/xpdinstaller.pm b/solenv/bin/modules/installer/xpdinstaller.pm index 3b72889d2bc1..ac38b6489657 100644 --- a/solenv/bin/modules/installer/xpdinstaller.pm +++ b/solenv/bin/modules/installer/xpdinstaller.pm @@ -377,14 +377,7 @@ sub get_applicationmodule_value sub get_isjavamodule_value { - my ( $module ) = @_; - my $value = "false"; - - my $styles = ""; - if ( $module->{'Styles'} ) { $styles = $module->{'Styles'}; } - if ( $styles =~ /\bJAVAMODULE\b/ ) { $value = "true"; } - return $value; } |