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

Comparing COMP/SCRAM/src/scram (file contents):
Revision 1.26 by williamc, Mon Sep 20 16:29:05 1999 UTC vs.
Revision 1.27 by williamc, Fri Dec 17 10:56:29 1999 UTC

# Line 1 | Line 1
1 < #!/usr/local/bin/perl5 -w
1 > #!/usr/local/bin/perl5 -w
2   #
3   # User Interface
4   #
5  
6   #use Scram::SCRAM;
7   use ActiveDoc::CommandLineInterface;
8 + use ActiveDoc::SimpleUserInterface;
9   use Utilities::PathMod;
10 + use Configuration::Tool;
11  
12   # Set up our scram objects
13   $self={};
14 <
14 > $self->{UI}=ActiveDoc::SimpleUserInterface->new();
15   # Search for configuration resource file
16   $self->{configpath}="$ENV{HOME}:$ENV{SCRAM_HOME}/configuration";
17   $self->{PathMod}=Utilities::PathMod->new();
18   $self->{file}=$self->{PathMod}->SearchPath(
19                          $self->{configpath},".scramrc");
20  
21 < #$self->{cli}=ActiveDoc::CommandLineInterface->new(qw(file:$self->{file} UserInterface_basic));
22 < $self->{cli}=ActiveDoc::CommandLineInterface->new(qw(Scram::SCRAM ActiveDoc::UserInterface_basic));
21 <
21 > #$self->{cli}=ActiveDoc::CommandLineInterface->new(qw(Scram::SCRAM ActiveDoc::UserInterface_basic));
22 > $self->{cli}=ActiveDoc::CommandLineInterface->new(qw(Scram::SCRAM), $self->{UI});
23   $self->{cli}->parse(@ARGV)
23
24 #@allowed_commands=qw(project build install version list arch setup runtime devtest);
25

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines