Project

General

Profile

« Previous | Next » 

Revision 822

Added by Matt Jones over 22 years ago

Revised build.xml and metacat.properties to make it easier to
install alternative stylesheets for metacat. In the process,
replaced the deprecated copydir and copyfile commands in build.xml
with appropriate "copy" commands.

View differences:

MetaCatServlet.java
116 116
  private String datafilepath = null; 
117 117
  private File dataDirectory = null;
118 118
  private String servletpath = null; 
119
  private String htmlpath = null; 
119 120
  private PropertyResourceBundle options = null;
120 121
  private MetaCatUtil util = null;
121 122

  
122
  // path to directory where data files 
123
  // that can be downloaded will be stored
124
  private String htmlpath = null; 
125
  // script to get data file and put it 
126
  // in defaultdocpath dir
127
  //private String executescript  = null;  
128

  
129 123
  /**
130 124
   * Initialize the servlet by creating appropriate database connections
131 125
   */
......
144 138
      saxparser = util.getOption("saxparser");
145 139
      datafilepath = util.getOption("datafilepath");
146 140
      dataDirectory = new File(datafilepath);
147
      //executescript = util.getOption("executescript"); 
148 141
      servletpath = util.getOption("servletpath");
149 142
      htmlpath = util.getOption("htmlpath");
150 143

  

Also available in: Unified diff