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

Comparing COMP/SCRAM/src/BuildSystem/XMLBuildFile.pm (file contents):
Revision 1.1 by sashby, Thu Apr 28 09:17:46 2005 UTC vs.
Revision 1.2 by sashby, Fri Apr 29 16:18:56 2005 UTC

# Line 13 | Line 13 | package BuildSystem::XMLBuildFile;
13   require 5.004;
14   use Exporter;
15   use BuildSystem::XMLTagUtils;
16 + use BuildSystem::BuildDataUtils;
17   use ActiveDoc::SimpleXMLDoc;
18  
19 < @ISA=qw(Exporter);
19 > @ISA=qw(Exporter BuildSystem::BuildDataUtils);
20   @EXPORT_OK=qw( );
21  
22   #
# Line 69 | Line 70 | sub _parser()
70                                        0);
71  
72     $self->{simplexmldoc}->registerTag("builder",
73 <                                      "include",
73 >                                      "include_path",
74                                        \&BuildSystem::XMLTagUtils::includetaghandler,
75                                        [ "path" ],
76                                        0);
# Line 189 | Line 190 | sub parse()
190     delete $self->{simplexmldoc};
191     }
192  
193 + sub parsebranchfiles()
194 +   {
195 +   my $self=shift;
196 +   my ($filenames)=@_; # array ref
197 +   # Now just run parse(), with only one file as arg:
198 +   my $file = $filenames->[0];
199 +   $self->parse($file);
200 +   }
201 +
202   sub pushlevel
203     {
204     my $self = shift;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines