Anonymous avatar Anonymous committed a3932b0

masterfix DEV300: #i100000# dep. fix

Comments (0)

Files changed (1)

solenv/bin/build.pl

     my $old_fh = select(STDOUT);
     
     # Try to get global depencies from solver's build.lst if such exists
-    my $solver_inc_dir = "$ENV{SOLARVER}/common";
+    my $solver_inc_dir = "$ENV{SOLARVER}/$ENV{INPATH}";
     $solver_inc_dir .= $ENV{PROEXT} if (defined $ENV{PROEXT});
     $solver_inc_dir .= '/inc';
     $solver_inc_dir .= $ENV{UPDMINOREXT} if (defined $ENV{UPDMINOREXT});
     $solver_inc_dir = correct_path($solver_inc_dir);
     $dead_parents{$module}++;
     print "Fetching dependencies for module $module from solver...";
-    foreach (@possible_build_lists) {
-        my $possible_build_lst = "$solver_inc_dir/$_";
-        if (-e $possible_build_lst) {
+    foreach my $onelist (@possible_build_lists) {
+        my $build_list_candidate = "$solver_inc_dir/$onelist";
+        if (-e $build_list_candidate) {
             print " ok\n";
             select($old_fh);
-            return $possible_build_lst;
+            return $build_list_candidate;
         };
     }
-    print " failed\n";
-
-    if (!defined $dead_parents{$module}) {
-        print "WARNING: Cannot figure out CWS for $module. Forgot to set CWS?\n";
-    }
-    select($old_fh);
+    print(" failed\n");
+    print_error("incomplete dependencies!\n");
     return undef;
 };
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.