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

Comparing COMP/SCRAM/src/Scram/ScramFunctions.pm (file contents):
Revision 1.1.2.5 by williamc, Mon Aug 14 15:36:07 2000 UTC vs.
Revision 1.1.2.6 by williamc, Mon Aug 21 18:41:52 2000 UTC

# Line 50 | Line 50 | sub project {
50                          new($self->globalcache(),$installarea);
51          $self->verbose("BootStrapping $url");
52          my $area=$bs->boot($url,$areaname);
53 +        if ( ! defined $area ) {
54 +                $self->error("Unable to create project area");
55 +        }
56          $area->archname($self->arch());
57  
58          # -- download all tool description files
# Line 176 | Line 179 | sub scramprojectdb {
179          }
180          return $self->{scramprojectsdb};
181   }
182 <
182 >
183   sub areatoolbox {
184          my $self=shift;
185          my $area=shift;
# Line 201 | Line 204 | sub arearequirements {
204            require BuildSystem::Requirements;
205            my $doc=$area->requirementsdoc();
206            my $cache=$area->cache();
207 +          my $db=$area->objectstore();
208            $self->{requirements}{$name}=
209 <                BuildSystem::Requirements->new($doc,$cache);
209 >                BuildSystem::Requirements->new("file:".$doc,$cache,$db);
210            $self->{requirements}{$name}->verbosity($self->verbosity());
211            $self->verbose("Requirements Doc (".$self->{requirements}{$name}.
212                                    ") for area :\n $name\n initiated from $doc");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines