Project

General

Profile

« Previous | Next » 

Revision 5294

Added by Matt Jones about 14 years ago

Updated the build to properly locate the servlet jar depending on which
version of tomcat is being used, tomcat5 or tomcat6.

View differences:

build.xml
47 47
	</condition>
48 48

  
49 49
	<target name="config">
50
		<property name="jsdk"
51
			value="${build.tomcat.dir}/common/lib/servlet-api.jar" />
50
        <!-- Find the servlet-api.jar, depending on the tomcat version. -->
51
		<property name="t5.jar" 
52
                 value="${build.tomcat.dir}/common/lib/servlet-api.jar"/>
53
		<property name="t6.jar" 
54
                 value="${build.tomcat.dir}/lib/servlet-api.jar"/>
55
		<available file="${t5.jar}" property="jsdk" value="${t5.jar}"/>
56
		<available file="${t6.jar}" property="jsdk" value="${t6.jar}"/>
57

  
52 58
		<!-- usr for client testing, generally you don't need change-->
53 59
		<property name="mcuser"
54 60
			value="uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org" />

Also available in: Unified diff