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.1.2.4.2.3 by williamc, Fri Aug 11 15:02:37 2000 UTC vs.
Revision 1.1.2.4.2.4 by williamc, Mon Aug 21 16:32:35 2000 UTC

# Line 2 | Line 2
2   #
3   # Interface
4   # ---------
5 < # new(file,URLcache)     : new requirements doc
5 > # new(file,URLcache,ObjectStore)     : new requirements doc
6   # setup(toolbox): set up the requirements into the specified toolbox object
7   # download(toolbox)    : download description files (into toolbox cache)
8   # tools()       : Return list of requirements (ordered)
# Line 10 | Line 10
10   # url(tool)     : return the url of a given tool
11  
12   package BuildSystem::Requirements;
13 < use ActiveDoc::SimpleURLDoc;
13 > use ActiveDoc::ActiveDoc;
14   use Utilities::Verbose;
15  
16   require 5.004;
# Line 22 | Line 22 | sub new {
22          bless $self, $class;
23          $self->{file}=shift;
24          $self->{cache}=shift;
25 +        $self->{dbstore}=shift;
26          $self->{mydocversion}="2.0";
27          $self->{Arch}=1;
28          push @{$self->{ARCHBLOCK}}, $self->{Arch};
# Line 61 | Line 62 | sub init {
62          my $self=shift;
63          my $file=shift;
64  
65 <        my $switch=ActiveDoc::SimpleURLDoc->new($self->{cache});
65 >        my $switch=ActiveDoc::ActiveDoc->new($self->{cache});
66          $switch->filetoparse($file);
67          $switch->newparse("doc");
68          $switch->addtag("doc","Doc", \&Doc_start,$self,"",$self,"",$self);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines