Ignore:
Timestamp:
2011-12-13T09:53:03+13:00 (12 years ago)
Author:
sjm84
Message:

Some updates for running Perl from Greenstone 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/build/CollectionConstructor.java

    r5148 r24883  
    11package org.greenstone.gsdl3.build;
     2
     3import java.io.File;
    24
    35import org.greenstone.gsdl3.util.*;
     
    1214    /** the site in which building is to take place */
    1315    protected String site_home = null;
     16    /** the name of the site*/
     17    protected String site_name = null;
    1418    /** the name of the collection */
    1519    protected String collection_name = null;
     
    4246    public void setSiteHome(String site_home) {
    4347    this.site_home = site_home;
     48   
     49    File siteHomeFile = new File(site_home);
     50    this.site_name = siteHomeFile.getName();
    4451    }
    4552    public void setCollectionName(String coll_name) {
Note: See TracChangeset for help on using the changeset viewer.