Ignore:
Timestamp:
2019-02-07T20:14:03+13:00 (5 years ago)
Author:
ak19
Message:

Western Wilson stuff. Final changes to get the mysql.props file running directly off the-macronizer checkout after ant's been run on it (and the 'ant logs-to-db-instructions' have been followed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/the-macronizer/trunk/build.xml

    r32754 r32755  
    9595    <!-- For the MacroniserFileLogProcessor, which sets up a nightly cron to send useful logging info
    9696     from the daily macron.log.<date> files to a mysqldb, need to do some setup too -->
    97     <copy file="${build.dir.exp}/mysql.properties.in" tofile="${build.dir.exp}/WEB-INF/classes/mysql.properties" filtering="true" overwrite="true"/>
     97    <copy file="${build.dir.exp}/mysql.properties.in" tofile="${basedir}/mysql.properties" filtering="true" overwrite="true"/>
    9898   
    9999    <mkdir dir="${logfileproc.dir}"/>
     
    107107    <filter token="jarlibs.folder" value="${build.dir.exp}/WEB-INF/lib"/>
    108108    <filter token="classes.folder" value="${build.dir.exp}/WEB-INF/classes"/>
     109    <!-- Why can't we set the classpath to the mysql.properties file
     110     to be anywhere other than the toplevel Macronizer folder/basedir?
     111     Anything else causes class MySQLAccess of MacroniserLogFileProcessor
     112     to fail with mysql.properties FileNotFoundException -->
     113    <!--<filter token="mysqlprops.dir" value="${logfileproc.dir}"/>-->
     114    <filter token="mysqlprops.dir" value="${basedir}"/>
    109115   
    110116    <copy file="${scripts.dir}/macronLogToDB.bash.in" tofile="${scripts.dir}/macronLogToDB.bash" filtering="true" overwrite="true"/>
Note: See TracChangeset for help on using the changeset viewer.