Changeset 1819

Show
Ignore:
Timestamp:
09/18/06 16:19:23 (2 years ago)
Author:
whmoseley
Message:

Update build script to load correct version of the POD plugin.
TT had a change to Template::Plugins::_load where case was ignored
when loading plugins.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/swish_website/README

    r1761 r1819  
    2727 
    2828[1] these two (three including the "old" dir) directories are read when 
    29 building the index listings for the downloads, plus they must be avaiable via 
     29building the index listings for the downloads, plus they must be available via 
    3030the /distribution and /swish-daily URLs.  Originally, these were outside of 
    31 document root (public_html) in dirs_public and accesed with Alias in 
     31document root (public_html) in dirs_public and accessed with Alias in 
    3232httpd.conf.  And lib/config/site set their locations for generating the 
    3333index.html pages listing the files. 
     
    4646    (Or symlink as needed -- which is what I did.) 
    4747 
    48     Also in lib/config/site you might want to defined where swish-daily and 
     48    Also in lib/config/site you might want to define where swish-daily and 
    4949    the download dirs are set.  Currently to /distribution and /swish-daily. 
    5050    The download and swish-daily pages link files to those dirs. 
     
    5353    complains about. 
    5454 
    55     Those output directoreis can be overridden.  see bin/build --help  for 
     55    Those output directories can be overridden.  see bin/build --help  for 
    5656    help.  "dirs_public" can be set in lib/conifg/site. 
    5757 
  • trunk/swish_website/bin/build

    r1818 r1819  
    261261    unshift @INC, $plugin_dir; 
    262262 
    263     require My::POD; 
    264  
    265263 
    266264    # Build include paths - reverse so -includ=foo will be pre-pended to path 
     
    346344        OUTPUT_PATH     => $dest, 
    347345        PLUGIN_BASE     => ['My'], 
     346 
     347        # Fix for ignoring case in TT verson 2.15 when loading plugins 
     348        PLUGINS         => { 
     349            POD     => 'My::POD', 
     350        }, 
     351 
    348352        PRE_PROCESS     => 'config/main', 
    349353        WRAPPER         => 'page/wrapper.tt', 
     
    352356        RECURSION       => 1, 
    353357        # DEBUG           => $config->debug ? DEBUG_PROVIDER : 0, 
    354     } ) || die Tempate->error; 
     358    } ) || die Template->error; 
    355359 
    356360    my $self = bless  { 
     
    674678    $self->template->process( $in_file, $vars, $output ) || warn  $self->template->error . "\n"; 
    675679 
     680 
    676681    $self->logfile('Process', $in_file, length $capture || (stat $outpath)[7]); 
    677682    return 1 if $self->config->dryrun;