ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/scripts/scramdbg
Revision: 1.7
Committed: Fri Jan 14 17:36:41 2011 UTC (14 years, 4 months ago) by muzaffar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +0 -0 lines
State: FILE REMOVED
Error occurred while calculating annotation data.
Log Message:
merged SCRAM_V2 branch in to head

File Contents

# Content
1 #!/usr/bin/env perl
2 #===========================================================================#
3 # NAME: scramdbg #
4 #===========================================================================#
5 # #
6 # DATE: Mon Dec 3 12:34:54 2001 #
7 # #
8 # AUTHOR: Shaun Ashby #
9 # #
10 # MOD LOG: #
11 # #
12 # #
13 #===========================================================================#
14 # DESCRIPTION: Run scram with verbose flags turned on for relevant pm's #
15 #===========================================================================#
16
17 use strict;
18
19 my @suppliedargs=join(' ',@ARGV);
20 my @verboseflags=qw(
21 ActiveDoc::Activate
22 ActiveDoc::ActiveConfig
23 ActiveDoc::ActiveDoc
24 ActiveDoc::ActiveStore
25 ActiveDoc::Application
26 ActiveDoc::BaseTags
27 ActiveDoc::Check
28 ActiveDoc::Checker
29 ActiveDoc::CommandLineInterface
30 ActiveDoc::DOChandler
31 ActiveDoc::DocTester
32 ActiveDoc::GroupChecker
33 ActiveDoc::IncFile
34 ActiveDoc::Parse
35 ActiveDoc::PreProcessedFile
36 ActiveDoc::Query
37 ActiveDoc::SimpleDoc
38 ActiveDoc::SimpleURLDoc
39 ActiveDoc::SimpleUserInterface
40 ActiveDoc::StarterDoc
41 ActiveDoc::Switcher
42 ActiveDoc::TagContainer
43 BuildSystem::Block
44 BuildSystem::Build
45 BuildSystem::BuildClass
46 BuildSystem::BuildEnvironment
47 BuildSystem::BuildFile
48 BuildSystem::BuildRecorder
49 BuildSystem::BuildReport
50 BuildSystem::BuildSetup
51 BuildSystem::DateStampChecker
52 BuildSystem::DateStampRecord
53 BuildSystem::Requirements
54 BuildSystem::Tool
55 BuildSystem::ToolBox
56 BuildSystem::ToolDoc
57 BuildSystem::ToolMap
58 BuildSystem::ToolMapper
59 Configuration::BootStrapProject
60 Configuration::ConfigArea
61 ObjectUtilities::ObjectStore
62 ObjectUtilities::StorableObject
63 Scram::AutoToolSetup
64 Scram::ProjectSearcher
65 Scram::ScramFunctions
66 Scram::ScramProjectDB
67 Scram::SearchIterator
68 URL::URL_base
69 URL::URL_cvs
70 URL::URL_file
71 URL::URL_filed
72 URL::URL_http
73 URL::URL_interface
74 URL::URL_label
75 URL::URL_test
76 URL::URLcache
77 URL::URLclass
78 URL::URLhandler
79 Utilities::AddDir
80 Utilities::Architecture
81 Utilities::CVSmodule
82 Utilities::DataItem
83 Utilities::HashDB
84 Utilities::IndexedFileStore
85 Utilities::List
86 Utilities::ListIterator
87 Utilities::Message
88 Utilities::PathMod
89 Utilities::SCRAMUtils
90 Utilities::SearchPath
91 Utilities::TestClass
92 Utilities::Verbose
93 Utilities::setarchitecture
94 );
95
96 my @progargs=("scram ");
97
98 # This could be improved by using GetOpts and giving the user a choice
99 # of debug levels, or options for turning on/off debug for particular
100 # parts of scram (eg., buildsystem only, setup only etc.).
101
102 foreach my $pkg (@verboseflags)
103 {
104 push(@progargs, '-verbose '.$pkg.' ');
105 }
106
107 # Run scram:
108 exec "@progargs @suppliedargs";