Changeset 32622
- Timestamp:
- 2018-11-22T16:30:29+13:00 (5 years ago)
- Location:
- other-projects/the-macronizer/trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/the-macronizer/trunk/build.xml
r32621 r32622 3 3 4 4 <property environment="env"/> 5 <property name="gsdl3.src.home" value="env.GSDL3HOME"/> 5 <!-- 6 the associated Greenstone 3 installation folder 7 You're expected to run/source the gs3-setup script in the GS3 8 before running the default ant target in this file. 9 You will be warned of this if you attempt to run this ant 10 build.xml file without doing gs3-setup. 11 --> 12 <property name="gsdl3.web.home" value="${env.GSDL3HOME}"/> 13 <property name="gsdl3.src.home" value="${env.GSDL3SRCHOME}"/> 14 6 15 <property name="dist.dir.exp" location="releases" /> 7 16 … … 68 77 or when the destination file does not exist. However, you can explicitly overwrite files 69 78 with the overwrite attribute.--> 70 <copy file="${build.dir.exp}/log4j.properties.in" tofile="${gsdl3.src.home}/web/WEB-INF/classes/log4j.properties"/> 71 79 80 <!-- 1. Create the log4j.properties file from its log4j.properties.in template file and put it into the correct location in the associated GS3 installation 81 2. Create the macronizer.xml tomcat context file from the macronizer.xml.in template file and put it into the correct location in the associated GS3 installation 82 --> 83 84 <filter token="macronizer.home" value="${basedir}"/> 85 <copy file="${build.dir.exp}/log4j.properties.in" tofile="${gsdl3.web.home}/WEB-INF/classes/log4j.properties" filtering="true" overwrite="true"/> 86 <copy file="${build.dir.exp}/macronizer.xml.in" tofile="${gsdl3.src.home}/packages/tomcat/conf/Catalina/localhost/macronizer.xml" filtering="true" overwrite="true"/> 87 72 88 <!-- mkdir Creates a directory. Also non-existent parent directories are created, 73 89 when necessary. Does nothing if the directory already exist. --> … … 77 93 78 94 <target name="war" depends="build"> 95 <echo>Basedir: ${basedir}</echo> 79 96 <jar destfile="${dist.filename.exp}"> 80 97 <fileset dir="${build.dir.exp}" /> -
other-projects/the-macronizer/trunk/web/log4j.properties.in
r31962 r32622 5 5 6 6 # define some reusable properties 7 macronizer.home= /greenstone/macron-restoration7 macronizer.home=@macronizer.home@ 8 8 macronizer.logplace=${macronizer.home}/web/logs 9 9 … … 24 24 25 25 log4j.appender.macronlog.layout=org.apache.log4j.PatternLayout 26 log4j.appender.macronlog.layout.ConversionPattern=%-5p: [%d{yyyy-MM-dd hh:mm:ss}] %C{1}.%M()%n %m%n26 log4j.appender.macronlog.layout.ConversionPattern=%-5p: [%d{yyyy-MM-dd HH:mm:ss}] %C{1}.%M()%n %m%n 27 27 28 28 #######################
Note:
See TracChangeset
for help on using the changeset viewer.