Project

General

Profile

« Previous | Next » 

Revision 1951

Added by Matt Jones over 20 years ago

Moved the metacat.properties file from the jar file to now be located in
the tomcat context directory in WEB-INF. Now the metacat configuration is
editable in place. This change depends on a new Options.java class in the
utilities module, so be sure you do a "clean" build in metacat so that you
pick up this new class. This satisfies needs for bug 1230.

View differences:

build.xml
286 286
              classpath="${cpath}"
287 287
              debug="${debug}"
288 288
              excludes="**/*.sql **/stringclient/** **/client/*.java"/>
289
       <copy file="lib/metacat.properties"
290
             tofile="${build.dest}/${package.home}/metacat.properties"
291
             filtering="yes" />
292 289
       <copy file="lib/srbProps.properties"
293 290
             tofile="${build.dest}/${package.home}/srbProps.properties"/>
294 291
   </target>
......
513 510
       <copy file="${jdbc}" tofile="${installdir}/WEB-INF/lib/jdbc.jar" />
514 511
       <copy file="lib/web.xml.${tomcatversion}"
515 512
             tofile="${installdir}/WEB-INF/web.xml" />
513
       <copy file="lib/metacat.properties" todir="${installdir}/WEB-INF"
514
             filtering="yes" />
516 515
       <copy todir="${installdir}" filtering="no">
517 516
         <fileset dir="lib">
518 517
           <include name="**/*.jpg"/>

Also available in: Unified diff