Revision 1729
Added by Jing Tao over 21 years ago
build.xml | ||
---|---|---|
61 | 61 |
<property name="context" value="tao" /> |
62 | 62 |
<property name="user" value="tao"/> |
63 | 63 |
<property name="password" value=""/> |
64 |
<!-- Tomcat version, if you use tomcat 3, please fill it "tomcat3". If you using tomcat4, please fill it "tomcat4"--> |
|
65 |
<property name="tomcatversion" value="tomcat3"/> |
|
64 | 66 |
|
65 | 67 |
<property name="server" value="pine.nceas.ucsb.edu:8080"/> |
66 | 68 |
<property name="systemidserver" value="http://pine.nceas.ucsb.edu:8080" /> |
... | ... | |
344 | 346 |
tofile="${installdir}/WEB-INF/lib/configxml.jar" /> |
345 | 347 |
<copy file="${itislib}" |
346 | 348 |
tofile="${installdir}/WEB-INF/lib/itislib.jar" /> |
347 |
<copy file="lib/web.xml" |
|
349 |
<copy file="lib/web.xml.${tomcatversion}"
|
|
348 | 350 |
tofile="${installdir}/WEB-INF/web.xml" /> |
349 | 351 |
<copy todir="${build.img}" filtering="no"> |
350 | 352 |
<fileset dir="lib"> |
Also available in: Unified diff
Add a new property of tomcat version. This one will control which web.xml file will be copied to installation directory.