Changeset 2446


Ignore:
Timestamp:
11/30/09 22:56:20 (2 years ago)
Author:
mswertz
Message:

Copied cmdline package into MOLGENIS.

Location:
molgenis/3.3/src/org/molgenis
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • molgenis/3.3/src/org/molgenis/Molgenis.java

    r2402 r2446  
    6868import org.molgenis.model.elements.Model; 
    6969 
    70 import cmdline.CmdLineException; 
     70import org.molgenis.util.cmdline.CmdLineException; 
    7171 
    7272/** 
     
    211211 
    212212                // HTML 
    213                 generators.add(new HtmlFormGen()); 
     213                //generators.add(new HtmlFormGen()); 
    214214 
    215215                // ServletContext 
  • molgenis/3.3/src/org/molgenis/MolgenisOptions.java

    r2347 r2446  
    1111import org.apache.log4j.Logger; 
    1212 
    13 import cmdline.CmdLineException; 
    14 import cmdline.CmdLineParser; 
    15 import cmdline.Option; 
     13import org.molgenis.util.cmdline.CmdLineException; 
     14import org.molgenis.util.cmdline.CmdLineParser; 
     15import org.molgenis.util.cmdline.Option; 
    1616 
    1717/** 
     
    194194                } 
    195195 
    196                 CmdLineParser parser = new CmdLineParser(this, "loading..."); 
     196                CmdLineParser parser = new CmdLineParser(this); 
    197197                parser.parse(props); 
    198198                if (props.getProperty("mapper_implementation") != null) this.mapper_implementation = MapperImplementation 
     
    216216        public MolgenisOptions(Properties properties) throws CmdLineException 
    217217        { 
    218                 CmdLineParser parser = new CmdLineParser(this, "loading..."); 
     218                CmdLineParser parser = new CmdLineParser(this); 
    219219                parser.parse(properties); 
    220220                Logger.getLogger(this.getClass().getSimpleName()).debug("parsed properties file."); 
     
    223223        public String toString() 
    224224        { 
    225                 return new CmdLineParser(this, "").toString(this); 
     225                return new CmdLineParser(this).toString(this); 
    226226        } 
    227227 
Note: See TracChangeset for help on using the changeset viewer.