java: fix PATH environment variable

This commit is contained in:
Alexander Alekhin 2016-12-06 17:42:00 +03:00
parent 3d8395cae9
commit d42d155c16

View File

@ -1,4 +1,5 @@
<project> <project>
<property environment="env"/>
<property file="ant-${opencv.build.type}.properties"/> <property file="ant-${opencv.build.type}.properties"/>
<property name="test.dir" value="testResults"/> <property name="test.dir" value="testResults"/>
<property name="build.dir" value="build"/> <property name="build.dir" value="build"/>
@ -39,7 +40,7 @@
<mkdir dir="${test.dir}"/> <mkdir dir="${test.dir}"/>
<junit printsummary="true" haltonfailure="false" haltonerror="false" showoutput="true" logfailedtests="true" maxmemory="256m"> <junit printsummary="true" haltonfailure="false" haltonerror="false" showoutput="true" logfailedtests="true" maxmemory="256m">
<sysproperty key="java.library.path" path="${opencv.lib.path}"/> <sysproperty key="java.library.path" path="${opencv.lib.path}"/>
<env key="PATH" path="${opencv.lib.path}"/> <env key="PATH" path="${opencv.lib.path}:${env.PATH}:${env.Path}"/>
<classpath refid="master-classpath"/> <classpath refid="master-classpath"/>
<classpath> <classpath>
<pathelement location="build/classes"/> <pathelement location="build/classes"/>