ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/BuildSystem/Requirements.pm
(Generate patch)

Comparing COMP/SCRAM/src/BuildSystem/Requirements.pm (file contents):
Revision 1.2 by williamc, Mon Aug 28 08:23:09 2000 UTC vs.
Revision 1.5 by sashby, Mon Oct 1 16:11:07 2001 UTC

# Line 31 | Line 31 | sub new {
31          if ( @_ ) {
32            $self->arch(shift);
33          }
34 +        $self->verbose("Initialising a new Requirements Doc");
35          $self->{mydocversion}="2.0";
36          $self->{Arch}=1;
37          push @{$self->{ARCHBLOCK}}, $self->{Arch};
# Line 51 | Line 52 | sub setup {
52          my $toolbox=shift;
53  
54          my $tool;
55 <        foreach $tool ( $self->selectedtools() ) {
56 <          $self->verbose("Setting Up Tool $tool");
57 <          $toolbox->toolsetup($tool, $self->version($tool), $self->toolurl($tool));
58 <        }
55 >        foreach $tool ( $self->selectedtools() )
56 >           {
57 >           $self->verbose("Setting Up Tool $tool");
58 >           $toolbox->toolsetup($tool, $self->version($tool), $self->toolurl($tool));
59 >           }
60   }
61  
62   sub tools {
# Line 146 | Line 148 | sub init {
148          if ( defined $docversion ) {
149            if ( $docversion eq $self->{mydocversion} ) {
150              @{$self->{ArchStack}}=();
151 +            $self->verbose("Initial Document Parse");
152              $self->{switch}->parse("ordering");
153            }
154 +          else {
155 +            $self->verbose("wrong doc version - not parsing");
156 +          }
157          }
158          else {
159 <          #print "wrong doc version - not parsing\n";
159 >          $self->verbose("wrong doc type - not parsing");
160          }
161   }
162  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines