Subversion Repositories DevTools

Rev

Rev 7211 | Rev 7266 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7211 Rev 7213
Line 894... Line 894...
894
                #   Scan the build files and extract dependancy information
894
                #   Scan the build files and extract dependancy information
895
                #
895
                #
896
                my $bscanner = BuildFileScanner( $pname, 'build.pl',
896
                my $bscanner = BuildFileScanner( $pname, 'build.pl',
897
                                                         '--LocateAll',
897
                                                         '--LocateAll',
898
                                                         '--LimitDepth=' . $scanDepth,
898
                                                         '--LimitDepth=' . $scanDepth,
899
                                                         '--ScanDependencies' );
899
                                                         '--ScanDependencies', 
-
 
900
                                                         '--Stop' );
900
                unless ($bscanner->setLocation($_)) {
901
                unless ($bscanner->setLocation($_)) {
901
                    Verbose("Build file missing: Force full scan");
902
                    Verbose("Build file missing: Force full scan");
902
                    @build_list = ();
903
                    @build_list = ();
903
                    last;
904
                    last;
904
                }
905
                }
Line 946... Line 947...
946
            #   Scan the build files and extract dependancy information
947
            #   Scan the build files and extract dependancy information
947
            #
948
            #
948
            my $bscanner = BuildFileScanner( $pname, 'build.pl',
949
            my $bscanner = BuildFileScanner( $pname, 'build.pl',
949
                                                     '--LocateAll',
950
                                                     '--LocateAll',
950
                                                     '--LimitDepth=' . $scanDepth,
951
                                                     '--LimitDepth=' . $scanDepth,
951
                                                     '--ScanDependencies' );
952
                                                     '--ScanDependencies',
-
 
953
                                                     '--Stop' );
952
            $bscanner->scan();
954
            $bscanner->scan();
953
            my @blist = $bscanner->getInfo();
955
            my @blist = $bscanner->getInfo();
954
            unless ($quiet) {
956
            unless ($quiet) {
955
                Warning ("Package does not have build files: $pname") unless ( @blist );
957
                Warning ("Package does not have build files: $pname") unless ( @blist );
956
                Warning ("Package has multiple build files: $pname") if ( $#blist > 0 );
958
                Warning ("Package has multiple build files: $pname") if ( $#blist > 0 );
Line 2845... Line 2847...
2845
This option allow the error to be reported as a warning or to be ignored altogether. The named package will be 
2847
This option allow the error to be reported as a warning or to be ignored altogether. The named package will be 
2846
excluded from the build set.
2848
excluded from the build set.
2847
 
2849
 
2848
Valid values for 'mode' are: error, report and ignore.  The default mode is 'error'.
2850
Valid values for 'mode' are: error, report and ignore.  The default mode is 'error'.
2849
 
2851
 
-
 
2852
One workaround is to use a 'stop' file. Any directory that contains 'stop' file will not be scanned for
-
 
2853
build files. If a 'stop' file is added then it may defeat caching of build information. The information will 
-
 
2854
need to be refreshed with the '--rescan' option. The 'stop' file should not be version controlled.
-
 
2855
 
2850
=back
2856
=back
2851
 
2857
 
2852
=head1 DESCRIPTION
2858
=head1 DESCRIPTION
2853
 
2859
 
2854
This program is the primary tool for the maintenance of Development Sandboxes.
2860
This program is the primary tool for the maintenance of Development Sandboxes.