jfclere 2005/04/16 02:35:57 Modified: jni build.xml Log: Add tc.library.path to help the JVM to find the library. Revision Changes Path 1.5 +3 -0 jakarta-tomcat-connectors/jni/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jni/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.xml 15 Apr 2005 21:57:08 -0000 1.4 +++ build.xml 16 Apr 2005 09:35:57 -0000 1.5 @@ -35,6 +35,7 @@ <property name="examples.dir" value="${build.dest}/examples"/> <property name="junit.home" value="/usr/local/junit3.8"/> <property name="junit.jar" value="${junit.home}/junit.jar"/> + <property name="tc.library.path" value="${basedir}/native/.libs"/> <!-- The base directory for component sources --> <property name="source.home" value="java"/> @@ -66,6 +67,7 @@ <!-- <echo message="java.class.path = ${java.class.path}"/> --> + <echo message="tc.library.path = ${tc.library.path}"/> <echo message=""/> </target> @@ -292,6 +294,7 @@ <java dir="${examples.dir}" classname="org.apache.tomcat.jni.Echo" fork="yes" failonerror="${test.failonerror}"> <classpath refid="examples.classpath"/> + <jvmarg value="-Djava.library.path=${tc.library.path}"/> </java> </target> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]