Commits

Anonymous committed ee6a104

l10nmove: #i116586# Move l10n module into own repository

Comments (0)

Files changed (4)

 my @splitlist = split( /\//, $SRC_ROOT );
 pop @splitlist;
 $SOURCE_ROOT_DIR      = join("/", @splitlist);
-$gb_REPOS = $SOURCE_ROOT_DIR."/ooo ".$SOURCE_ROOT_DIR."/loc";
+$gb_REPOS = $SOURCE_ROOT_DIR."/ooo ".$SOURCE_ROOT_DIR."/l10n";
 
 # default TARFILE_LOCATION
 if ('@TARFILE_LOCATION@' eq "DEFAULT")
 use lib (@lib_dirs);
 
 use Cws;
-print "I am cws.pl from cws!"
 
 #### script id #####
 
                 print_error("Can't create directory '$work_master': $!.", 8);
             }
 
-            hg_clone_cws_or_milestone('ooo', $cws, "$work_master/ooo", $clone_milestone_only); 
-            hg_clone_cws_or_milestone('so', $cws, "$work_master/sun", $clone_milestone_only);
- 
             my %unique = map { $_ => 1 } split(/,/,$additional_repositories_opt);
             my @unique_repo_list = keys %unique;
 
                 }
 
             }
+            
+            hg_clone_cws_or_milestone('ooo', $cws, "$work_master/ooo", $clone_milestone_only); 
+            hg_clone_cws_or_milestone('so', $cws, "$work_master/sun", $clone_milestone_only);
  
             if ( get_source_config_for_milestone($masterws, $milestone) ) {
                 # write source_config file

solenv/bin/modules/CwsConfig.pm

         if ( !defined($source) ) {
             $source = "";
         }
-        #print "result = ".$source."\n";
         $self->{$repository_source} = $source;
     }
     return $self->{$repository_source} ? $self->{$repository_source} : undef;

solenv/config/sdev300.ini

             *o: cd %SOLARSRC%
             ALT_L10N_MODULE $expand(%SOLARSRC%/..)/sun/l10n_so
             TARFILE_LOCATION %SOURCE_ROOT_DIR%/ext_sources
-            gb_REPOS %SOURCE_ROOT_DIR%/ooo %SOURCE_ROOT_DIR%/sun %SOURCE_ROOT_DIR%/loc
+            gb_REPOS %SOURCE_ROOT_DIR%/ooo %SOURCE_ROOT_DIR%/sun %SOURCE_ROOT_DIR%/l10n
             gb_LOCALBUILDDIR %SOL_TMP%/gb_%CWS_WORK_STAMP%/%WORK_STAMP%
         }
         common_jre:0 IF %JREPATH% ==