Project

General

Profile

« Previous | Next » 

Revision 1941

Added by brooke about 21 years ago

added conditional setting of tomcat servlet.jar path, based on tomcat version in build properties

View differences:

build.xml
95 95
    
96 96
      <!-- Make sure these paths match the location of the jar files
97 97
           on your system, the defaults should usually work -->
98
      <property name="jsdk"
99
                value="${tomcat}/common/lib/servlet.jar" />
98
      <condition property="jsdk" value="${tomcat}/lib/common/servlet.jar">
99
        <equals arg1="${tomcatversion}" arg2="tomcat3" />
100
      </condition>
101
      <condition property="jsdk" value="${tomcat}/common/lib/servlet.jar">
102
        <equals arg1="${tomcatversion}" arg2="tomcat4" />
103
      </condition>
104
      <echo>*********** tomcatversion = ${tomcatversion}</echo>
105
      <echo>*********** set jsdk to ${jsdk}</echo>
100 106
      <property name="xmlp"
101 107
                value="lib/xercesImpl.jar" />
102 108
      <property name="cos"
......
116 122
      <property name="itislib"
117 123
                value="lib/itislib.jar" />
118 124
      <property name="emlparser"
125
      
119 126
                value="lib/eml.jar" />
120 127
      <property name="util"
121 128
                value="lib/utilities.jar" />

Also available in: Unified diff