summaryrefslogtreecommitdiff
path: root/solenv/bin
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-09-11 22:18:16 +0200
committerMichael Stahl <mstahl@redhat.com>2013-09-12 00:20:38 +0200
commit35698e8f703db5770c164c41f9c3169c50cee0ea (patch)
tree6b4bd03402e94db7d94078a48025f572a5d1d3e8 /solenv/bin
parent40ff84cfdc56dd44e50d0fda34d5b97e6d2cafdc (diff)
installer: remove resolving_hidden_flag
Fortunately such "tooling" appears to be extinct, and there are no HIDDEN flags in scp2 anyway. Change-Id: I33bd80e3e74cc1eaaab0fbc50d02090088ae4be4
Diffstat (limited to 'solenv/bin')
-rw-r--r--solenv/bin/modules/installer.pm8
-rw-r--r--solenv/bin/modules/installer/worker.pm72
2 files changed, 0 insertions, 80 deletions
diff --git a/solenv/bin/modules/installer.pm b/solenv/bin/modules/installer.pm
index f88402bdfb1d..89e202f71162 100644
--- a/solenv/bin/modules/installer.pm
+++ b/solenv/bin/modules/installer.pm
@@ -648,14 +648,6 @@ sub run {
installer::scpzipfiles::resolving_scpzip_replace_flag($filesinproductlanguageresolvedarrayref, $allvariableshashref, "File", $languagestringref);
- #####################################
- # Files with flag HIDDEN
- #####################################
-
- installer::logger::print_message( "... analyzing files with flag HIDDEN ...\n" );
-
- installer::worker::resolving_hidden_flag($filesinproductlanguageresolvedarrayref, $allvariableshashref, "File", $languagestringref);
-
############################################
# Collecting directories for epm list file
############################################
diff --git a/solenv/bin/modules/installer/worker.pm b/solenv/bin/modules/installer/worker.pm
index 4d4b7eae5506..f511b54b2f3a 100644
--- a/solenv/bin/modules/installer/worker.pm
+++ b/solenv/bin/modules/installer/worker.pm
@@ -770,78 +770,6 @@ sub generate_cygwin_paths
installer::logger::include_timestamp_into_logfile("Ending generating cygwin paths");
}
-################################################
-# Files with flag HIDDEN get a dot at the
-# beginning of the file name. This cannot be
-# defined in scp2 project, because tooling
-# cannot handle files with beginning dot
-# correctly.
-################################################
-
-sub resolving_hidden_flag
-{
- my ($filesarrayref, $variableshashref, $item, $languagestringref) = @_;
-
- my $diritem = lc($item);
- my $infoline = "";
-
- my $hiddendirbase = installer::systemactions::create_directories("hidden_$diritem", $languagestringref);
-
- installer::logger::include_header_into_logfile("$item with flag HIDDEN:");
-
- for ( my $i = 0; $i <= $#{$filesarrayref}; $i++ )
- {
- my $onefile = ${$filesarrayref}[$i];
- my $styles = "";
-
- if ( $onefile->{'Styles'} ) { $styles = $onefile->{'Styles'}; }
-
- if ( $styles =~ /\bHIDDEN\b/ )
- {
- # Language specific subdirectory
-
- my $onelanguage = $onefile->{'specificlanguage'};
-
- if ($onelanguage eq "")
- {
- $onelanguage = "00"; # files without language into directory "00"
- }
-
- my $hiddendir = $hiddendirbase . $installer::globals::separator . $onelanguage . $installer::globals::separator;
- installer::systemactions::create_directory($hiddendir); # creating language specific directories
-
- # copy files and edit them with the variables defined in the zip.lst
-
- my $onefilename = $onefile->{'Name'};
- my $newfilename = "\." . $onefilename;
- my $sourcefile = $onefile->{'sourcepath'};
- my $destfile = $hiddendir . $newfilename;
-
- my $copysuccess = installer::systemactions::copy_one_file($sourcefile, $destfile);
-
- if ( $copysuccess )
- {
- $onefile->{'sourcepath'} = $destfile;
- $destination = $onefile->{'destination'};
- installer::pathanalyzer::get_path_from_fullqualifiedname(\$destination);
- if ( $destination eq "" ) { $onefile->{'destination'} = $newfilename; }
- else { $onefile->{'destination'} = $destination . $installer::globals::separator . $newfilename; }
-
- $infoline = "Success: Using file with flag HIDDEN from \"$onefile->{'sourcepath'}\"!\n";
- push( @installer::globals::logfileinfo, $infoline);
- }
- else
- {
- $infoline = "Error: Failed to copy HIDDEN file from \"$sourcefile\" to \"$destfile\"!\n";
- push( @installer::globals::logfileinfo, $infoline);
- }
- }
- }
-
- $infoline = "\n";
- push( @installer::globals::logfileinfo, $infoline);
-}
-
######################################################
# Getting the first entry from a list of languages
######################################################