ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/scripts/scramdbg
Revision: 1.4
Committed: Fri Oct 11 15:05:16 2002 UTC (22 years, 7 months ago) by sashby
Branch: MAIN
CVS Tags: V1_0_3-p4, forV1_1_0, v103_xml_071106, V1_0_3-p3, V1_0_3-p2, V110p2, V110p1, V1_0_4p1, V1_0_3-p1, V1_0_3, V1_0_2, V1_0_2_p1, v102p1, V1_0_1, V1_0_0, V1_pre0, V0_19_7
Branch point for: v103_with_xml, v103_branch, SCRAM_V1_BRANCH
Changes since 1.3: +75 -1 lines
Log Message:
Some changes to docs. Added tool template function to generate tool file templates.

File Contents

# User Rev Content
1 sashby 1.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 sashby 1.4 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 sashby 1.1
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";